Let's Make Robots!

Ar-Du

Bluetooth remote controlled robot capable of taking pictures
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.

awesome work

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

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

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

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.

Good looking robot and nicely documented.

After I saw what you were using it for I wondered why you didn't just use a pair of transistors and 4 resistors like this:
http://www.transtutors.com/university-columbia/Electrical-Engineering/digital-circuits/Logic-Families/transistor-NOT-gate-6.htm
http://www.transtutors.com/university-columbia/Electrical-Engineering/digital-circuits/Logic-Families/transistor-NOT-gate-6.htm 

Another image with more information regarding the resistor values:
http://www.kpsec.freeuk.com/trancirc.htm
http://www.kpsec.freeuk.com/trancirc.htm 

My knowledge in analog electronics is limited, so I prefer to use digital components (and I did not have transistors, only a hex inverter when I made the circuit). 

 

I have seen the diagram and thought I would share. I kinda figured the inverter was used due to you having it. And, while I am at it, very nice robot and documentation.

It looks really good, maybe the next version will be bigger ?