For this project, I decided to use two microduinos communicating over I2C to control 5 servos on a robot arm. The "master" microduino has 3 analog joysticks (and an unused oled shown in the picture). The master then reads the joysticks and sends an array containing their values to the "slave". The slave then updates the servos. The master, in purple, uses a custom pcb that I created with Eagle, which I ordered from OSHPark. The slave is soldered onto protoboard and is connected to a 3x5 header for servos.
- All of the hardware has been tested and is running properly. The software on the other hand...I originally was using the serial RX and TX pins on the microduinos and the arduino serial library, but found that it was difficult to debug over USB at the same time, so I decided to use USB for debug and I2C for the interface between arduinos. After some troubles, I began to ask myself why the heck am I using two arduinos, I can just use one. The answer, the microduino doesn't provide enough dedicated PWM pins and digital pins that can be used to connect to the joysticks.
- I will eventually release some software that will work, but for the meantime, I will just link to the data that I have on codbender.cc
Enjoy this project?