Back to Basics Question
MovieMaker
Posts: 502
Using the Basic Stamp2 with the GUIbot software. I adjusted my servos to center @ 750. But, when I tell it to move forward, it moves backwards. When I tell it to go backward, it moves forward. Any answer to why this is happening?
Thanks!
http://forums.parallax.com/forums/emoticons/lol.gif
lol
Thanks!
http://forums.parallax.com/forums/emoticons/lol.gif
lol
Comments
Think about it. Make pictures. Experiment. Write a little program that just moves one servo, first the left, then the right.
Thanks for your help.
Programs that result in jerky movement using servos nearly always have timing problems where the servo control pulse is not repeated at least every 20ms.
thanks for your reply.
I don't readily see any "SimpleRoamingwithPingv1.0.bs2". How about at least a link so I know what you're talking about?
Also, I have had NO luck at all trying to work with the IR detectors. I purchased the Sharp IR pair that has both units built in and it requires a 10-12k pull-up resistor from signal to ground. It has 4.5-5.5 volts in on red and Signal in on Yellow and ground. My question on this is, I should be able to hook this up like I do the Ping, Correct?
Let me look for where I got the program. It works wonderfully nice except for the jerkiness.
I guess it is not Parallax because they would have more documentation inside. I don't remember where I got it.
Post Edited (MovieMaker) : 12/25/2008 1:19:14 AM GMT
I still need advice on Installing the Sharp IR sensors. I believe I have to use an 8 Bit AD converter? How would the code go, if it is not too much trouble for someone to help me. The IR thing has been a nightmare. I must have a mental block against it or something. Everything else works fine. I have to figure out how to give it 4.5-5.5 volts.
Hope Santa has been good to everyone. God Bless! and Happy New Year! I opened my present early so I could work with the boe-bot and I have been having a Blast!
Post Edited (MovieMaker) : 12/25/2008 4:40:02 PM GMT
What's the difficulty with supplying 4.5 to 5.5V? That's what the Stamp uses, so there's a ready supply (Vdd) on the BOE.
I really think you should treat yourself by setting aside some time and browsing the table of contents of the Parallax tutorials and the Nuts and Volts Columns. Most of what you need and will need is already well documented (with sample code!) with nice explanations and specific examples. They're all available in downloadable form for free. I'd suggest that you download them all as you browse so you'll have them on hand when you need them.
http://www.crustcrawler.com/code/index.php?prod=20