Power Commands
A.C. fishing
Posts: 262
What command can you use to give power to a DC motor?
Freqout isn't working for me. Perhaps I'm using the wrong Frequency but....
Freqout isn't working for me. Perhaps I'm using the wrong Frequency but....
Comments
Generally motors of any sort (except for R/C servo motors) are not connected to the PBASIC Stamp pin ports directly. This is because there is a limited amount of current available at each pin port. This only amounts to about 20-30 milliamps.
Generally one uses an H-Bridge to provide both speed and directional control to a permanent magnet DC motor (toy motor). If you only need to start and stop it, without speed or directional control, you can use an appropriate transistor between the pin port and the motor. Then one just turns the transistor ON and OFF by using HIGH and LOW commands directed at the appropriate pin port.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->