3D Printed Star Wars R2-D2 R6 Droid
This page is about the Electronics, check out the main project index for the rest.
There is a YouTube video about this section
The electronics for the droid are built around a standard 6 channel R/C transmitter/receiver and Arduino. I’m using standard R/C car electronic speed controllers to drive the wheels, and an L298 Dual H-bridge drive board to drive the head. The servos are mixed using an Arduino Uno. There will be many more functions added as I proceed with the project:
The battery boxes on the ankles hold the actual batteries and ESCs for the drive wheels:
I now have two batteries powering the electronics – one for lights and animatronics, and one for turning the head which will eventually also power the 2-3-2 conversion. I’m using Adafruit Neopixels for light the droid:
I’ve hacked my remote using an Arduino and an Adafruit LCD shield along with some buttons, so that I can inject an analog value directly into the spare channels 5&6, this allows me to read the PWM at the receiving end and efficiently split the analog channels into around 40 digital channels which will control many functions:
The LCD provides and menu system and the button provide quick functions. I’ve made Ninjaflex rubber bumper parts on the back:
Sounds come from a hacked pair of active speakers with the amp taken out and the speakers mounted in custom 3D printed enclosures. I’m using two Adafruit 16Mb Sound FX boards to play the sounds when various remote buttons are triggered:
I’ve added two Adafruit 16 channel PWM/servo driver boards, one in the head and one in the body, to control all the features.
A bunch of relay boards and end switches to control the 2-3-2 – check out the video above: