Gonzalo Palarea wrote: > > If you don't need to control the speed of the DC motors, just be able to > make them run to one side or the other, I have used the following circuit, > which uses 2 NPN and 2 PNP, 2 pins of the pic, and you can power the motor > with a different source than the pic (ie pic with 5V and motors with 8V). > Be sure to NEVER place a "1" on both inputs at the same time! Both inputs > in "0" will cause the motor to stop. A "1" on one input will make the motor > turn to one side, and a "1" on the other will make it turn to the other > side. The circuit will "loose" aprox. .6V (.3 in each transistor), so if > you need to power the motors with exactly 6v, you will need a 6.6V power > supply. Here comes the circuit (one of the motor wires is "A" and the other > is "B"): > > 8V 0------------------------ > | | > / \ > ____/\/\/\__|< >|____/\/\/\__ > | |\ /| | > | \ / | > | |__ __| | > | A B | > | | > | | > | | > | | > | B A | > --------------|-- --|--------------- > | | > / \ > __/\/\/\__|/ \|____/\/\/\__ > |\ /| > to pic > < to pic > | | > | | > _ _ > - - > > At 08:41 PM 11/29/96 -0800, you wrote: > >I have a motor control circuit (H-Bridge) and its powered off 6 volts. > >I am using a pic to control the motors, and my problem is that since I > >am only supplying 5 volts and the control, the motors don't go their > >full speed. How can I fix this. I realize this is not a programming > >question but it still involves a PIC and I couldn't find anyone else to > >ask...:) > > > >Thanks a lot, I know you guys will come through for me. > > > > > ____________________ > Gonzalo Palarea > chalo@infovia.com.gt thanks a lot...