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…
28BYJ-48 74HC595 ADXL345 ATmega328P-PU ATmega1284 Bajduino DHT22 DS1307 DS3231 electronics EL shield encoder Gentoo gripper HC05 heartbeat hexapod HMC5883L I2C IR L293D L298 L9110 LED LGT8F88A MPU6050 Nano nRF24L01 Pololu power led pwm python Raspberry Pi RGB LED robot Serial servo SG90 SR04 TCRT5000 TFT ultrasonic VS1053 webserver WiiCamera