Shop OBEX P1 Docs P2 Docs Learn Events
Oakmont High IR Sensors — Parallax Forums

Oakmont High IR Sensors

edited 2007-01-11 17:48 in BASIC Stamp
Dave and the Parallax Team,
·Here is my code. If you could proofread it for me, that would be great. Thanks!

-Yike

Edit: Challenge: To utilize infrared sensors to power DC motors to navigate along a curved line made of black electric tape.

Post Edited (Yike (Oakmont High School)) : 1/11/2007 5:18:07 PM GMT

Comments

  • dandreaedandreae Posts: 1,375
    edited 2007-01-11 17:16
    Try this and see if it works?·


    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support
  • edited 2007-01-11 17:26
    Dave,

    The infrared worked but the motors still will not respond. I was wondering if you have an existing program that works to accomplish our objective with which we can modify our own circuit to complement. We also have an alternative program that we'd like you to take a look at. Thanks again!

    -Yike
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-01-11 17:48
    Hello,

    What motors are you using and how are they connected to the BASIC Stamp? Is there a motor controller involved? If so, which make/model?
    The code you are using is setup for continuous rotation servos, so unless the motor controller responds to these types of signals the code will not work at written.
    ·Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.