Let's Make Robots!


Bluetooth remote controlled robot capable of taking pictures
ArDuArduino023code.pde7.42 KB
JPEG_Camera_Libraries_1.zip87.25 KB
ArDuProcessing.zip318.26 KB

Ar-Du is finally finished.


The block diagram:

Digital I/O PINs:
Pin0 (Rx) : BT module Tx Pin
Pin1 (Tx) : BT module Rx Pin
Pin2 : NewSoftSerial Rx – JPEG camera Tx
Pin3 : NewSoftSerial Tx – JPEG camera Rx
Pin4 : Motor1 diredtion select 
Pin5 : Motor1 speed (PWM) 
Pin6 : Motor2 speed (PWM)
Pin7 : Motor2 diredtion select
Pin8 : Sound Module
Pin9 : Head rotating servo
Pin10 : Blue LED
Pin11 : Red LED
Pin12 : Ultrasound module – Trigger pin
Pin13 : Ultrasound module – Echo pin

Analog PINs:
Analog0 : –
Analog1 : –
Analog2 : –
Analog3 : –
Analog4 : –
Analog5 : –


The main components include the following:

- First I wanted to use an Arduino board, but it could not fit into Ar-Du. Than I changed the to a much smaller RBBB board.

- a BlueSmirf Bluetooth module

- a LinkSprite serial camera

- a DC motor controller board (based on a L293D and a hex inverter IC)

The Motor controller assembled on a proto board:

- a Sound Module based on an ISD 1730 IC (this circuit is for playback only to reduce space, otherwise it would not fit into Ar-Du).

The first version of the Sound module was assembled on an Arduino protoshield, but it was too large to fit into the robot. The second version is much smaller...


I have created a sound sample on http://www.r2d2translator.com 

To record the sound sample, temporarly I have assembled the following circuit on a breadboard (source: ISD1700 datasheet):


- a HC-SR04 ultrasonic sensor

- a hobby microservo

 - a Blue and a Red LED

This is how it looks like fully assembled:


Here is a sample picture of the control interface:


I have attached the Arduino and the Processing codes.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Yes, the motor speed can be adjusted with a PWM signal (I have connected the enable pins of the L293 IC to Pin 5 and 6 on the Arduino, which can make PWM signals). I have used a hex inverter for dual purpose:

firstly - I could spare 2 I/O pin

secondly - I wanted to avoid the situation when both transistors are open in a H-bridge, which could kill the L293 IC easily

Some more details: the head is made from black plastic sphere cut in half and painted silver, and black electrical tape were used for decoration.

Good looking robot and nicely documented.

The robot is 19 cm tall (approx. 8 inch). The body is made of PVC pipe joints, the head is made of some black spherical plastis, which I found in the local hardware store. I found on the net a PDF file about how to make a paper R2D2 . I have printed out on an A3 size paper, cut it out and glued on the PVC pipe.

This robot will get +10 points ;-) Oh i love this little guy since first sight.

Very nice handcrafted robot body. Neat details and the HC-SR04 is for once vertical and embedded. Collected!

What are the body components made from and about how tall is it-about 8-9 inches?  You can see why they designed the RB5X the way they did (and subsequently why I made this.)

The nerdy fanboy side of me just died a little from pure joy :) Very nice work!

The body looks fantastic.

awesome work