Small update on my hexapod:
The past days I fiddled some more with my hexapod sketch. It now listens pretty well to my remote control. I first had some issues with controlling the servos. My code had some small errors, several walking gaits would be running at the same time causing the servos to act erratically. I added some more code and it now seems to walk fine.
Today I wired and soldered 4 RGB leds to my hexapod. The RGB leds are controlled by 3 PWM pins and 3 small NPN transistors so I can do some colour mixing. I took me a couple of hours to solder the 12 resistors to the leds and connect them to the transistors. I then integrated the code that I used here in my sketch and uploaded it to my hexapod. I first had to replace the delay function, I just used the code that you can find in the “Blink without delay” example sketch in the Arduino IDE to use the millis function. According to some people I now have a walking Christmas tree :p I’m still waiting for some more parts, I’ve ordered 12 MG90 servos with metal gears and a smaller fan to cool the regulator. With the big PC fan mounted above the regulator I can not fit my top acryl plate. This plate will hold an ultrasonic sensor or maybe my Dagu compound eye, we will see…
Recent Comments
Archives
- June 2016
- August 2015
- May 2015
- January 2015
- December 2014
- November 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011