The three Arduinos need to be connected together. Ensure the VIN, VCC, GND, A4 and A5 pins are linked to their respective pins on all the Arduino boards. The first three probably make sense without much explanation, the A4 and A5 are because the boards communicate using i2c which needs these two pins to be connected.
The three boards require their own software:
- the Romeo board gets loaded with the botCntrl2 sketch
- the Arduino that controls the LEDs and LCD gets loaded with botDisplay3 sketch
- the Arduino connected to the pan, tilt and claw gets loaded with the clawControl sketch
To control it all from your mobile phone, you need an Android 2.2 device with accelerometer and bluetooth, and load the botControl application. To compile this up you will need to set up your development environment by following the instructions on the Android development web site http://developer.android.com/sdk/index.html
. For those not brave enough, the .apk file is included in the bin directory, load this to your phone and run it, it will install the app for you.
To set up you phone after you install the software, on the phone you will need to pair the bluetooth device, that will be in the phone settings. Start the app, press the menu button and choose settings, you will need to set which bluetooth device you are connecting to. You only need to do this once.
Once the app is set up, there is a connect option available when you press the menu. On screen you should have a button that will toggle between go and hold, and a button that will toggle between controlling the wheels and controlling the claw, plus some buttons to open and close the claw. Tilt the phone back and forward to move back and forward or control the tilt of the claw. Tilt the phone phone left and right to move the robot left or right or the pan the claw.