Asked — Edited

Dancing Android Robot

Have any of you seen the "Dancing Android Robot" on insrtuctables.com? You can also find it at: http://www.youtube.com/user/hitmithitmit

It looks like an absolutely great project! ( I think the current slang for this would be: "its totally sick!!!)

I have a Ardunio Uno , on order; but I am just starting with learning how to write code for it, and I do mean just starting. I'm at "Hello world"! Is there any way I might convince one of you roboteers out there to write a patch for it????? I'd owe you bigtime!!!!! I have the EZ-B, but I'm still a noobie with it too. From what I;ve seen thus far the EZ-B couldn't do the Dancing Android routine. If I am in error........PLEASE......feel free to correct me! ( Here's a challenge for you DJ) Hoping someone wants to do this project and will share...........................................hint, hint! Thanks fer yer time all. Lloyd


ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

PRO
Synthiam
#1  

Haha, the dancing android would be extremely easy with the ez-b.

I guess i can make one if u'd like, to demonstrate. I'll order an android toy and do it for you

#2  

That would be entirely awesome DJ!!! I would really appreciate it!!!!!!!! Glad to hear its possible with the EZ-B. I'm so anticipating learning to fully use the EZ-B I'm also determined that I'm going to learn programming the Ardunio. Learning new skills doesn't come as fast to me any more. I had a mild srtoke a couple of years ago and I was determined to overcome it! I think I've managed fairly well. Still have weakness in left hand, and struggle with certain words; but I'm more then pleased with how far I've come. Looking forward to the "Dancing Android"with great expectations. Thanks DJ, Lloyd

PRO
Synthiam
#3  

Sweet Lloyd! Glad the EZ-B can help:) .. I ordered a little android character. I suspect a few weeks for delivery, as everything seems to come from Hong Kong these days.

#4  

Yep......I'm guilty of it too. U.S. sellers just ain"t gettin" it, are they. Thats why its taking so long to get my components. I have another project in process as well. Its a hacked Power Wheels Jeep. I used a very strong and torquey motor off of an electric garden wagon. It has been ab.le to pull a 300 lb. load; so I'm thinkin" it outta be more then powerful enough. Its 12 volts, so lots of power available . I'm going to try to upload some pics of it here. If not I'll post a link later on. Once I get familar with the EZ-B, I'm sure I'll be getting one for the Jeep. As of now I have a SyRen 25 motor driver which will also provide an R/C interface. With the EZ-B I should be able to mount all kindof sensors, camera, etc.

User-inserted image

Well......................that didn't work! I have a shutterfly online album. I'll post them there. http://lostcreekstationminiatures.shutterfly.com

PRO
Synthiam
#5  

That's a pretty wild jeep! Sure will make an interesting autonomous robot:)

Netherlands
#6  

Working on one right now:

User-inserted image

It can turn its head, full body and arms:)

Was busy programming it with my Arduino(sorry DJ) but my SSD just decided to stop working so i lost EVERYTHING, even school essays i still need to let be examined:(

#7  

Its looking good Lyron. Man it really sucks to lose all that work. Are you going to share the setup with us? Lloyd

Netherlands
#8  

I could use the arduino code i made for

(arduino with 3 servo's and 3 potmeters) and build another android but with pot-meters in stead of servo's. I lost the code but it was easy, i could reprogram it for your arduino :D

PRO
Synthiam
#9  

AAAAAAAAAAAH! The "A" Word

Netherlands
#10  

Don't be scared DJ, it's a very small Arduino ;)

#11  

The video was of great help. Could I impose on you to send me a copy of the "sketch" for Ardiuno, using servos?????? It would have to be "copy and paste" for me ; as I said eariler.......I'm just starting with Arduino. I would be in your debt. Thanks Lyron, Lloyd

#12  

Hey lostcreekstation, the only time the "a" word should be mentioned here is when your using an arduino shield for the EZB. ;)

PRO
Synthiam
#13  

Lloyd, there's a reason Arduino is complicated... That's because it isn't the EZ-B:)

It'll take you 100 times longer to accomplish something in Arduino than with the EZ-B, which will take you 10 seconds

#14  

Advice is well taken. I would much rather use the EZ-B, and I'm sure I will after I learn to use it to its full potential. I would, however, like to learn some programming. I prefer to have options. As you can surmise by my eariler comments, I'm interested in doing the Android dancing bot. I'm looking forward to your doing that project. I willkeep in mind to exclude the "A" word in all future communications.LoL. My components are still slowly arriving. I'm planning on waiting until I have them all before I really get started on the OmniBot; which, by the way; I'm going to call " Gizmo" Thanks for keeping me on the straight and narrow DJ.

PRO
Synthiam
#15  

Hahahhaa you can use the A word. It'll be a nice reminder of how much trouble ppl have with it:)

Netherlands
#16  

The arduino code:


// Controlling a servo position using a potentiometer (variable resistor) 
// by Michal Rinott  
// Adapted by Niek (Lyron) for 4 servo's
#include  
 
Servo fullbody;  // create servo object to control a servo 
Servo head;  // create servo object to control a servo 
Servo leftarm;  // create servo object to control a servo 
Servo rightarm;  // create servo object to control a servo 
 
int fullbodypot = 0;  // analog pin used to connect the full body potentiometer
int fullbodyval;    // variable to read the value from the analog pin 
int headpot = 1;  // analog pin used to connect the head potentiometer
int headval;    
int leftarmpot = 2;  // analog pin used to connect the left arm potentiometer
int leftarmval; 
int rightarmpot = 3;  // analog pin used to connect the right arm potentiometer
int rightarmval; 
 
void setup() 
{ 
  fullbody.attach(9);  // Fullbody-servo is attached to digital pin 9
  head.attach(8);
  leftarm.attach(7);
  rightarm.attach(6);
} 
 
void loop() 
{ 
  val = analogRead(fullbodypot);            // reads the value of the potentiometer (value between 0 and 1023) 
  val = map(fullbodyval, 0, 1023, 0, 179);     //0 and 1023 are the min and max values the arduino reads from the pot (play around with this) and 0 and 179 are servo min and max degrees
  fullbodyservo.write(fullbodyval);                  // sets the servo position according to the scaled value 
  
   // do the same for the other 3 servo's and pots
  val = analogRead(headpot);           
  val = map(headval, 0, 1023, 0, 179);
  headservo.write(headval);
  
  val = analogRead(leftarmpot); 
  val = map(leftarmval, 0, 1023, 0, 179);
  headservo.write(leftarmval);
  
    val = analogRead(rightarmpot); 
  val = map(rightarmval, 0, 1023, 0, 179);
  headservo.write(rightarmval);
  
  delay(15);                           // waits for the servo's to get there  (ms)
} 


You connect the pot-meters like this:

User-inserted image

See, it isn't THAT hard! even a 13 year old can do it (me!)

#17  

lyron, damn, 13! Unbelievable! You make me feel young again. Bookmaker 66

Netherlands
#18  

Thanks,

I can't express how thankful i am to DJ (mostly because i'm Dutch) for making this wonderful product called "The EZ-B" :D

United Kingdom
#19  

Lyron,

Gosh 13 what amazing skill's you have when you get a bit older you can build one of these

It has a serial port to reprogram the engine map:)

Westfield

Netherlands
#20  

Thanks!

I recently started a blog on my website and i'm now working on posting articles :D