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.
wonderfull project why do you have some capacitors arount gnd to ln293D ? and to vcc ?

You can see on the schematic the caps are between the motor supplies and ground. There's also a cap across the two supplies on each motor. I'm pretty sure the caps are used to reduce the electronic noise caused by the motor.

I think it's more common to place the caps so they are positioned between the motor supply and the motor casing rather the the supplies and ground.

This apnote at Pololu shows a couple ways to filter a motor. I've read other places using all three caps give the best performance.

I'm not sure how effective the caps would be so far from Ar-Du's motors but they're probably better than nothing.

I also think this is a great project.

WOW, Great, Awesome ! You transfer video from camera via bluetooth?

The robot can only capture images and sends them to the PC via Bluetooth. (It takes 4 - 5 seconds to send a 320x200 image.) 

FYI: from the net, you can get an ISD1730 or ISD1820 based voice record/play module for around 10$.

Very nice robot!!!!

How you are planning to use the camera (live streaming, capturing photos or video)?  

The camera I have used is a LinkSprite serial jpg camera. It sends the captured jpg image to the Processing progam via the bluetooth module. It takes 4 - 5 seconds to send a 320x200 image (with the default 38400 baud/s serial camera speed), so live streaming is out of question. It can only capture images...

...and thanks for all your help on my projects which stemmed from this one.  

Now... any video?

The video didn't load until I made that comment.

Is there any update in this project?