Sunday, February 6, 2011

Arduino Robot - Quadruped - body kinematics tests

This is a quadruped robot in prototyping using seeeduino mega, 12 HXT900 hobby micro servos, 3.7V lipo battery. Materials used are all plywood secured with small bolts and nuts. Programmed with Processing and Arduino IDE.

The first clip shows the horizontal movement of the body and the corresponding reaction angles of the legs.

The second clip includes both the horizontal and vertical movement of the body and the corresponding reaction angles of the legs.

3.7V lipo battery is used to power the servos and the seeeduino mega runs off the power from USB.

Will be working on the walking gait soon.. when i have time..

Visit for more projects and future updates!

--=Read More!=--

Saturday, September 4, 2010

Arduino / Processing ADXL330 accelerometer

This is still a work in progress. Currently only showing two axis movement, yet to show anything on Z-axis. Hopefully someday it will.

Also available on


--=Read More!=--

Saturday, January 2, 2010

Arduino / Processing Serial LED Blink Tutorial

Objective: Use serial communication to track LED blink frequency by programming Arduino to receive command from Processing to blink LED for a number of times and number of cycles.

Source code for arduino can be downloaded here.
Source code for processing can be downloaded here.

Upload the arduino code into arduino with the LED connected, or you can use the little orange LED already installed on the board.

Make sure you choose the proper COM port and then run the processing code.

There will be no code needed in the draw loop() for this tutorial, as receiving of serial data are done by the serialEvent() function.

At this point Arduino will be sending the character 'A' to establish first contact. FYI, both arduino and processing doesnt look as it as an alphabet A but an ASCII character of number 65.

So when u click the run button in the processing IDE, processing will acknowledge receipt of 'A' and set the boolean variable firstcontact to true. Then it will send out the values of numBlinks and numCycles to arduino to blink the LED arccordingly. The boolean variable started is added to indicated the the blinking process has started and data sent back from arduino indicates the number of cycles of blinking that has already been done.

Email me at for any suggestions or clarifications. Thanks!

--=Read More!=--