Shop OBEX P1 Docs P2 Docs Learn Events
How do I start — Parallax Forums

How do I start

JLampeJLampe Posts: 7
edited 2009-04-15 12:28 in BASIC Stamp
I'm new at programing and need help with this mystery on how to get this·project to work. I have a diagram on what I'm trying to do but not shure·of the·sensors I can use.
Trying to read the pulse on A1 and to move the servo with A2 on my diagram A3, A4 and A5 are the same don't know if this is possible to do.
2000 x 1500 - 103K

Comments

  • Mike2545Mike2545 Posts: 433
    edited 2009-04-15 02:57
    You will need to attach your program as well

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Mike2545

    This message sent to you on 100% recycled electrons.
  • JLampeJLampe Posts: 7
    edited 2009-04-15 03:26
    Don't know the last one I did the B2 got hot.
  • Mike2545Mike2545 Posts: 433
    edited 2009-04-15 03:34
    You can refer to the Stamp works manual for many good ideas on how to connect sensors and I/O devices to the Stamp. It also will walk you through sample code.

    You can find it under Downloads at the Parallax.com website

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Mike2545

    This message sent to you on 100% recycled electrons.
  • FearTurtlesFearTurtles Posts: 89
    edited 2009-04-15 12:28
    If the Bs2 got hot then it is likly you were trying to draw too much current from the stamp. If I'm understanding your picture, you are powering the servos from the stamp as well as sending the control pulses. The stamp only needs to send the control pulses to the servos. You power the servos with either the VIN or from a seperate power source. This lightens the amount of load that the stamp has to carry. The stamp can only source 20mA per pin and can only do two pins at a time at that load. To insure that you keep the load lite you can use switching transisters that will only consume say 2mA per pin. In doing so you would be able to control all 5 servos and only demand 10mA from the stamp.
Sign In or Register to comment.