Shop OBEX P1 Docs P2 Docs Learn Events
line follower with dc motors code help — Parallax Forums

line follower with dc motors code help

goingnutsgoingnuts Posts: 1
edited 2010-05-12 05:49 in BASIC Stamp
me and my group are finishing up an autonomous robot that we built from a remote control car with dc motors.· the robot will work properly with just 2 AA batteries.· If we connect a nine volt battery it is like the car out runs the processing power of the stamp.· we are using 3 single line sensors.· steering is just controlled with the the wheels alternating.· we are also using the basic stamp 2.5... if anybody has an idea on the code or could get us going in the right direction it would be wonderful..we know that our car can have the best time if we can get the code right!!

thank you for looking

Comments

  • SRLMSRLM Posts: 5,045
    edited 2010-05-12 05:49
    1) If you're asking for code help, we need the full code (as an attachment) with the relevant parts highlighted.
    2) A 9v battery can't source very much current. Your motors are probably requiring too much for it to provide, so the voltage drops too low. Curious, though, that your BS2 runs at ~3v.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Powered by enthusiasm
Sign In or Register to comment.