As you know I'm getting the YDM built by a local uy and he emailed me this question that I cannot answer. Really would appreciate some help.
I was stuck writing my own
I was stuck writing my own code, and when that’s done, you can pretty much decide what pins you want to use.
I’d reccomend having all the “arms” on the same port, it makes it easier when trying to cut down on the size of coding.
Some helps already here and to get more
Fritsl has a walkthrough here on building the YDM and a note in the walkthrough stating
"For the program / code that I was using on the video, I will send it to you for free. For this, and for personal help on building, please read my profile. And here is Fritsls profile.
For starters, I believe the motor driver chip is to directly drive the track motors, the servo would be from an IO pin and the drum stick motors would be activated from the “drive chip” also called the darlington driver. The sound sample board and sonar trigger would also be from IO pins as well (whatever are not being used by the darlington to drive the drum beat motors.) Which ones are being used can be interpreted from the code, or improvised then modify the code to fit.
There is no servo
YDM’s head is on a geared pager motor, just like the drumsticks. It’s controlled via two i/o pins connected to an extra motor driver.
Je suis un idiot
Thanks for tha information. I just read Frits profile before your post and was not thinking. I shouldn’t have expected free tech support when I don’t even contribute on this site. (never even built a real robot…yet)
I will wait for my funds to transfer to Paypal before I ask anymore questions. I’m really anxious to demonstrate Frits robot to students and will post a video when finished.
Thanks again
Pretty cool, hadn’t gotten that
Had not realized the sonar head was run by a pager motor. So the spring return will “center” the head? That is pretty cool, had not figured the spring would return from either direction, I ought to get a couple of these to play with. Maybe some year, anyways.
Only problem that I’ve found
Only problem that I’ve found is the head turns too wide for me. I’ve been putting it off, but I really need to figure out how to make the distance it turns a lot less.
what if
you just put some sort of obstacle to stop the head from going the full 60 degrees?
I think using the pager motor is genius. If the head position is always the same, why add the extra weight of a servo?
Just to everyones info; I
Just to everyones info; I did not make any stops on motor-heads on either YDM’s.
And BTW, Thanks for all the support, guys
Owowow that’s what friends are fooooooor, yer!
Yeah, I had the same problem
Yeah, I had the same problem on my Little Drum Machine, and you can see some discussion of it on the page. I tried gluing little plastic bits to limit the travel in each direction, and it worked a little better, but it quickly broke them off. With a little more reinforcement that approach might have ended up working, but I took the “easy” way out and replaced the GM10 with a micro servo, and that made it MUCH easier to find my targets. But it does lose some of the “soul” that YDM had, with its quick-darting head.
Dan
How can you dance with a
How can you dance with a servo-head? Need pager motor!
What Happened
Hi Karol, what happened with your bot? Is it working?
Mike
Little Matty is stationary
He works! but he doesn’t travel anywhere.
http://www.youtube.com/watch?v=GFyjLoM416Q
good beat!
But the drum is considered cheating. Hope LDM will roam the room soon, trying to correct that.