Shop OBEX P1 Docs P2 Docs Learn Events
a dc motor program problem — Parallax Forums

a dc motor program problem

yabeyabe Posts: 2
edited 2006-09-05 16:04 in BASIC Stamp
I want to program a dc motor.
How to program ?

Comments

  • FranklinFranklin Posts: 4,747
    edited 2006-09-03 05:25
    I think you need to give us more information. You don't program a DC motor, you control it and that depends on what you want it to do. Could you elaborate further on your plans?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • yabeyabe Posts: 2
    edited 2006-09-03 14:35
    I only want to test if my wheel can turn around·according to·my program.
    How should I do ?
  • LSBLSB Posts: 175
    edited 2006-09-03 14:45
    A DC motor is controlled by the Stamp (or logic of some sort) through a driver circuit--usually an H-bridge (a network of transistors). Try googling H-bridge--there's a million of them out there. Also look at driver chips (h-bridges built into a single silicone wafer); I use the SN754410N most often. A related term to research is PWM, the method used to control the speed of the motor. This will give you some basic context to refine your inquiry.
    You may also search this site and others for information on using hobby servos to drive your project--often this is an adiquate place to begin movement control.

    Mark
  • edited 2006-09-05 16:04
    Here links to some PDF Nuts and Volts articles that help explain various types of DC motor control with the BASIC Stamp.

    http://www.parallax.com/dl/docs/cols/nv/vol1/col/nv23.pdf
    http://www.parallax.com/dl/docs/cols/nv/vol2/col/nv52.pdf
    http://www.parallax.com/dl/docs/cols/nv/vol2/col/nv58.pdf
Sign In or Register to comment.