Stop My robot
SYSS
Posts: 10
I have designed my wireless robot with IR sensors and everything is fine, but the problem is that
IR sensor detect any object it freeze and donot show any action even if I try to make it to move in other directions. How can i solve this problem?
I can not make it move to other directions automatically from it self, I have to control everything ?
any suggestions?
IR sensor detect any object it freeze and donot show any action even if I try to make it to move in other directions. How can i solve this problem?
I can not make it move to other directions automatically from it self, I have to control everything ?
any suggestions?
Comments
2) It is the nature of programming and microcontrollers that very little is done automatically for you. Usually you do have to control almost everything.
2) Your PULSOUT loops don't have a PAUSE in them. Servo motors require a short (1-2ms) pulse about 50 times a second. The pulse width specifies the position (for standard servos) or direction and speed (for continuous motion servos). If you send too many pulses, the servo might get confused or at least ignore some of them. If you don't send enough pulses, the servo will turn itself off until the next pulse comes in which will make the servo twitch. The Robotics with the BoeBot tutorial goes into this in detail.
Both manuals/tutorials are downloadable from Parallax. Use the Downloads button on their website and use the BASIC Stamp Documentation and the Stamps in Class Downloads links.