·I have·been trying·to find a simply code to use for testing the idea or maybe a diagram to see how this has been done before.· If someone could help me pls
Using the ULN2x03 is very easy: connect your outputs of the Stamp to the input side of the ULN.· The output side of the ULN switches ground for the external device.· This allows the Stamp to control larger loads; things like lamps, relays, and solenoids.· Our new Prop-1 Controller is a BS1 and ULN2803 on the same board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
I looked at a Nuts and Bolts Article before I posted the question. The problem that I'm having is that I am writing the program BS2 not the BS1 used in the example. I keep running into some errors such as being unable to vary the speed properly on each motor. I also have a MMC controller which works fine with two motors, but would like to use more powerful motors in my aircraft.
PBASIC 1 is very easily translated to PBASIC 2 (a superset), so anything you find in the Nuts & Volts (with a "V") library should be useful. That said, I don't know that there's any large motor control projects -- that's a bit of a specialty. You might want to do a web search, especially on robotics as H-Bridge circuits are useful in that arena.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
The ULN2x03 devices are designed for turning inductive loads on and off, not continuously varying a motor's speed. You will want an H-Bridge (L293D and its friends) as suggested by Jon Williams to control a motor's speed and direction. There is an excellent discussion of microcontroller motor control in "Mobile Robots" by Joseph Jones and Anita Flynn.
Comments
Using the ULN2x03 is very easy: connect your outputs of the Stamp to the input side of the ULN.· The output side of the ULN switches ground for the external device.· This allows the Stamp to control larger loads; things like lamps, relays, and solenoids.· Our new Prop-1 Controller is a BS1 and ULN2803 on the same board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
thank you very much I haven't see that doc before
David
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
The ULN2x03 devices are designed for turning inductive loads on and off, not continuously varying a motor's speed. You will want an H-Bridge (L293D and its friends) as suggested by Jon Williams to control a motor's speed and direction. There is an excellent discussion of microcontroller motor control in "Mobile Robots" by Joseph Jones and Anita Flynn.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Peter C. Charles
Director, Research and Technology
CyberBiota, Incorporated
Peter.charles@cyberbiota.com
http://www.cyberbiota.com