Controlling an H-bridge
Can I use the Pololu motor contoller (http://www.parallax.com/detail.asp?product_id=30052) to control two H-bridges.· I ask this because·1) It seems more·economical (less expensive) than buying a more robust motor contoller to handle higher current/voltages··2) the motor controller is less expensive than the PWMPAL to generate analog voltages with reverse polarity (I think I wrote that right).· 3)· I plan to start small and expand.
Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
Comments
Yes, the motor controller does include H-bridges but I am looking to expand the limits.· About the through hole kit version.· That is for higher voltages and wouldn't work well below 5V, right?
That is why I would want to contol an H-bridge with an H-bridge.· I don't mean to be picky, but what I really would like to know is IF it would work and why (it wouldn't).· Thanks
If this makes more sense, could I use the other chip (the one that handles the serial interface) to control and H-bridge with higher tolerances.· I found it and it is the PIC12C508A.· Would I have to program it if I bought it to control an H-bridge? (does it come programmed with the motor contoller?)
Does that chip do the same thing as the one for the PWMPAL (could I find that chip anywhere)
Any other cheap solutions to handling a variety of voltages are welcome. (I am looking for expandability)
Steve, I do like your idea for the servo cases and motors, thanks for the advice.
Thank You in advance for any comments/suggestions, I know I posted a lot of questions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
Post Edited (D Faust) : 6/30/2007 2:11:39 AM GMT
If you're going to program a chip, why not use the SX that -- drum roll, please -- is sold by Parallax? I did a simple serial controlled motor controller with the SX for Nuts & Volts (perhaps I was too subtle in my first post). Connect your choice of H-Bridge (I used an L293D) and go to town; the source code is in BASIC (SX/B) so it's very easy to modify as you desire.
www.parallax.com/dl/docs/cols/nv/vol8/col/nv144.pdf
Jonny, I am still trying to find out why H-bridge to H-bridge won't work.
Sorry, if I offended anyone at Parallax, I love these forums, you get exactly the answers you need!
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
Look at the H-bridge writeup. They're really intended for a strict on/off (logic level) control. Even though they use MOSFETs, they're intended to be driven completely into conduction or completely off (and quickly). The whole idea of using PWM is to provide maximum power when on, but adjusting the average power (to provide maximum torque, but adjustable speed).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
No, the SX's program stored onboard; only the RAM contents are lost at power down. Tthe BASIC Stamp uses an EEPROM because what's running in the PIC/SX is the PBASIC interpreter.
The Blitz is a programming tool; it accepts data from the IDE and generates the proper programming voltages and signals for the SX chip -- you only need one. That said, if you're serious about microcontrollers and using the SX you should get the SX-Key. Yes, it's more expensive, but it gives the ability to program, run, and provide debugging data to the IDE -- the Blitz is just a programmer and cannot run the chip (you'll need an external source if above 4 MHz and/or need stable timing for things like SERIN/SEROUT) or provide debugging information to the IDE.
Post Edited (JonnyMac) : 6/30/2007 5:49:03 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
Check out this forum discussion on using the hardware timers and also being able to use INterupts to output multiple PWM signals.
http://forums.parallax.com/showthread.php?p=651741
But if you use the Interupt you can not use Serin and Serout commands.
Also one more thing the SX48 is the only one with the hardware timers the Other Sx chips do not have them.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D Faust
Post Edited (JonnyMac) : 7/1/2007 4:25:49 PM GMT