Category Archives: Gold Rush

Gold Rush Turret Taking Shape

Work continues again on Gold Rush’s mechanical aspects after a long period of working on electronics and software. My focus has been on creating a robust turret with pan and tilt capability that mounts the Trendnet IP camera and dual Matyo Toy tank guns.

The goal over the next few weeks is to continue to mount all of the required Mech Warfare gear. Once all everything is mounted I can shift focus over towards tuning the walking gaits can remote control.

Gold Rush Serial Data Packet Control

Over the last week I have been able to get wireless control working with my AVR micro. Communication to the AVR is being done by sending wireless serial data packets using xbee modules.
At the moment my packets consist of two header bytes (0xff) to designate the start of a new packet. The header is then followed with 4 bytes to hold the values of 2 joystick (horizontal and vertical axis). The packet is then ended with a checksum.

I have created a simple python and wxpython app to simulate the control of two joysticks using some slider widgets. This app simply reads the value of the 4 sliders, forms a data packet and writes it out serially to a xbee module connected to my PC around 30 times a second.

MechController.py demo window.

On the micro side I have a second xbee module connected to one of the atmega644′s usarts. The micro is adding every byte it receives on this usart to a ring buffer. Then, when called, a function is able to search this buffer for a full data packet, pull out the joystick data and flush the buffer.

Here is a little video I took to demonstrate it all working. Off camera I am changing the values on the top two sliders in my python app. These two sliders represent the vertical and horizontal axis of a single joystick. In turn the value of each slider determines the walking direction of the robot.

AVR Wireless Serial Communication

Progress continues with my AVR microcontroller board…
Today I was able to get some simple wireless serial communication tests working.

I followed this great tutorial post on AVR Freaks on creating interrupt driven USART echo program. I then took it a step farther and had each side of the serial link (PC and micro) echo the last character received pulse one.

All in all the test were not very interesting but they do lay groundwork for the development of a control packet structure for driving Gold Rush around.

Gold Rush Leg Parts and Brackets

I got to work on Gold Rush and completely replaced all the stock bioloid brackets used for the legs. All parts were machined from 0.06 inch thick aluminum sheet on a manual vertical mill, bent with a metal brake and media blasted.

Servo horn, servo body brackets and femur cross supports.

Coxa and Femur leg segments assembled.
Servo body brackets to foot mounts assembled.

Servo body brackets and foot mounts attached to leg.
Wooden dowel feet added and legs fully assembled.