These Android figures are cute, but they don't actually do anything. Let's change that. Have a look at the video:
These are the steps to make an Android that reacts to sound, moves it's head, sends out Morse Code messages and displays some cool light patterns. In the video the LEDs in the body are not that visible, but this is what it looks like:
Remove these ads by
Signing UpStep 1: Parts and Schematics
1 x Android Figure from DYZPLASTIC
1 x ATtiny44A from Mouser or Digikey
1 x 14 pin DIL socket e.g. from Digikey
1 x Micro Servo SG90 (plastic) or MG90S (metal)
1 x Microphone e.g. CMC-5042PF-AC from Digikey
1 x Piezo (passive, not the buzzer kind)
2 x blue 5mm flat top wide angle LED from ebay
1 x red super bright 5mm LED
1 x green super bright 5mm LED
1 x yellow super bright 5mm LED
1 x NPN Transistor e.g. 2N3904 from Digikey
2 x Rectifier e.g. 1N4003 e.g. from Digikey
1 x 100uF electrolytic capacitor
3 x 100nF ceramic capacitor
2 x 100K resistor
2 x 10K resistor
2 x 2K2 resistor (or other values depending on your blue LEDs)
3 x 150 resistor
1 x +5V power supply (e.g. USB charger)
There are many different versions of the Android figure. If you want to have LEDs inside the body, it is probably best to choose a light colored Android. Darker ones might block the light shining through too much.
For the eyes I used super bright wide angle 5mm flat top LEDs. They are actually too bright, so I used some larger resistor values to adjust for that. Try different values until the maximum brightness is to your liking.
I used a Mystery SD90 servo with plastic geras. After 2 months of heavy use it wore out. I have now replaced it with a T-Pro MG90S which has metal gears. It is more noisy, but hopefully that one will last.
A +5V USB phone charger makes a nice power supply.
To program the ATtiny44A micro controller you can either use an official Atmel programmer like the AVRISP mkII or one of the many third party programmers.
Android1.pdf15 KB










































Visit Our Store »
Go Pro Today »



Can I controll this robot with my Android device?
The head of my android is having difficulties moving because the wires that I used are too stiff, but I love him anyways. Maybe one day Ill open it again and rewire him with softer cables.
http://www.youtube.com/watch?v=x5d2GzrK36M
But look for "Buzzer external drive".
This one may work:
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=490-4698-ND
I was able to program the chip, with the information you have given me, I am sending you the photo, best regads ,
Andy
If all else fails, you could try BOB-09964 from Sparkfun. That one already has an amplifier on the board, and you should be able to just connect it to the AVR directly.
If you use a different microphone or amplifier, you will probably need to adjust that threshold in the code a little bit.
Thanks
My programmer is an Olimex AVR-ISP500-TINY, and I only have a 10-pins cable, but it should work fine right? (I didn't understand why there is a 10-pins ISP besides the 6, since 4 of them are GND or NC...)
This should be the map but at the programmer output, so the 2 columns should be flipped at the end of the cable.
My advice : plug your programmer in with the cable but no avr, put a voltmeter (some breadboard wires are useful) at what you think is pin 2 on this image (+) and 10 (-), you should see +5V. If 0v, you are testing 1-9 or 9-1, and if you have -5V, you have 10 on (+) and 2 on (-).
Then the image give you the other pins.
Sorry if this message is not very clear, I do what I can with my poor english ^^ Hope you understand anyway, else let me know.
http://cgi.ebay.ca/ws/eBayISAPI.dll?ViewItem&item=270718688454&ssPageName=STRK:MEWAX:IT#ht_1742wt_905
This is the same one you got right? just to make sure.
AVRs use a 10 or 6 pin programming header. Both have the necessary signals.
NC means not connected, so yes, don't connect it to anything. :-)
http://www.yourportablelab.com/downloads/schematics/USBASP2_SCH.pdf
Im looking at the most upper left portion of the image labelled "ISP". Is this the correct part to be looking at for the 10 pin cable?
Do the woltmeter thing to ensure you have the correct pins, then draw yourself something to remember. You should have the same as me : when you look at the pins of the cable, with the plastic thing at the left (besides the pin 5), the positions are the same as the schematic.
Pin 2 (+) and Pin 10 (-) i got +5V
Pin 2 (-) and Pin 10 (+) i got -5V
This makes sense since pin 10 is GND.
Pin 1 and Pin 9 i got 0V
Pin 2 (+) and Pin 8 (-) i got +5V which makes sense since Pin 8 is GND as well
Pin 2 (+) and Pin 6-RXD (-) i got +5V, so does that mean RXD goes to GND as well?
however,
Pin 2 (+) and Pin 4-TXD (-) i got 0V, so does that mean TXD does NOT goto ground?
not sure what im doing since im new to this stuff. But is any of this correct? Thanks
I took a photo of mine (hope you can see it) :
http://imageshack.us/photo/my-images/836/imag0313x.jpg/
The red pin is VCC, the numbers are the same as on your scheme.
If you plug your Atmel this way (VCC on 2, GND on 10, then MOSI/MISO/SCK/RST), it should work.
No problem, I'm new too, I just had a hard time making it work, so I hope the results of all the things I tried could help someone else :)
I'll try another time this evening, but I have to give it back tomorrow.
Thanks for your help anyway; I'll try another way, maybe with my arduino.