Let's Make Robots!
tc  
AttachmentSize
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.
Cichaczech's picture

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

Fizikus's picture

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

Fizikus's picture

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

konto89's picture

Very nice robot!!!!

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

Fizikus's picture

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...

Maxhirez's picture

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

Now... any video?

Maxhirez's picture

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

lumi's picture

Is there any update in this project? 

Fizikus's picture

Sorry about the long wait, but I do not have much time to continue the building of Ar-Du. There is some slow progress anyway...

Hopefully I can do some update of the project on  the weekend.

lumi's picture

Ok, fair enough :-) I also have less time as I wish to have...hopefully you will find some this weekend o/