Shop OBEX P1 Docs P2 Docs Learn Events
newbi needs help with servos — Parallax Forums

newbi needs help with servos

Mr.Vault13Mr.Vault13 Posts: 5
edited 2007-10-29 01:35 in Robotics
I ran the sourse code DEBUG "Program Running!"
DO
PULSOUT 13, 850
PULSOUT 12, 650
PAUSE 20
LOOP

i got to to light up LED's and count up and down but it wont turn the servos i must have bad luck or something please help

Comments

  • D FaustD Faust Posts: 608
    edited 2007-10-27 13:24
    If your using a BOE, then make sure that the servos are in the headers properly.otherwise, make sure everything is wired correctly.· If everyting else is correct, then put the DEBUG statement in the loop to se if the program is looping.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --DFaust
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-10-27 20:59
    And the "850" and "650" values assume a BS2 'plain'. Look up the PULSOUT command for other 'flavor' values -- like the BS2sx, or BS2p
  • D FaustD Faust Posts: 608
    edited 2007-10-27 21:02
    The pause might be different too, but I'm not sure.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --DFaust
  • Mr.Vault13Mr.Vault13 Posts: 5
    edited 2007-10-28 19:11
    thanks all that helped alot is there a way to test my micro controllers for tampering,·I think·my room mate took a magnet to my boardsfreaked.gifmad.gif
  • D FaustD Faust Posts: 608
    edited 2007-10-28 19:22
    Put an led on each pin and see if you can flash it.:

    Do

    ·Toggle 1

    ·Toggle 2

    ·Toggle 3

    ·Toggle 4

    · etc

    Loop

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --DFaust
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-28 19:25
    There's nothing particularly sensitive to a magnetic field on most microcontroller boards. Probably the only things that could be magnetized are the nuts and bolts and parts of some of the connectors. Look for connectors plugged in backwards (where that's posslble). Look for signs of physical destruction. If you think your roommate did something, tell him that's what you're worried about.
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-10-28 19:50
    Yup, eeprom doesn't work on magnetism, it works on charge.
  • Mr.Vault13Mr.Vault13 Posts: 5
    edited 2007-10-28 21:01
    good so my micro controllers could still be fine the reason i said anything is all my boards are all saying "no stamp found". and the LED comes on it just doesnt regester as you can tell im a newb and i just discovered the world of microcontrollers and building robots for me to build a robot would be one heck of accompishment is there anything else it could be anything else
  • quickster47quickster47 Posts: 35
    edited 2007-10-28 21:46
    Hmm, I would also make sure your stamp is plugged in correctly. Check the manual for proper orientation.

    Carl
  • Mr.Vault13Mr.Vault13 Posts: 5
    edited 2007-10-29 01:35
    Thanks guys my Pipboy and robot will hopefully be good project to share once there done
Sign In or Register to comment.