caramoan tour package

caramoan tour package

caramoan tour package

Author Topic: reverse and forward control of dc motor using single switch  (Read 5813 times)

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2190
  • Pogi/Ganda Points: 307
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: reverse and forward control of dc motor using single switch
« Reply #20 on: February 28, 2008, 09:52:56 AM »
74107 ba poh na i.c. un??? tnx poh ng madami....
Sorry, I missed this post.
Any JK flipflop will do. Just tie the J and K inputs to high. Pulsing CLK will toggle Q and Q`.
The Cebuano Geek

Philippine Electronics Forum

Re: reverse and forward control of dc motor using single switch
« Reply #20 on: February 28, 2008, 09:52:56 AM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4255
  • Pogi/Ganda Points: 300
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: reverse and forward control of dc motor using single switch
« Reply #21 on: February 28, 2008, 09:58:26 AM »
..Pulsing CLK will toggle Q and Q`.
meron bang commercially avaliable ng T(toggle) flip-flop? ???
o wala talagang T-flip-flop na IC?  ???  magmo-modify ka na lang ng existing flip-flop(e.g JK-ff)..
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: reverse and forward control of dc motor using single switch
« Reply #21 on: February 28, 2008, 09:58:26 AM »

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2190
  • Pogi/Ganda Points: 307
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: reverse and forward control of dc motor using single switch
« Reply #22 on: February 28, 2008, 10:14:18 AM »
meron bang commercially avaliable ng T(toggle) flip-flop? ???
o wala talagang T-flip-flop na IC?  ???  magmo-modify ka na lang ng existing flip-flop(e.g JK-ff)..

I don't know if T flipflops are avaible.
But binary counters are T-flipflops in series but without the Q`.
Q = Q0 (the toggle output).

With the OP's problem in mind, the Q' output is important for the other side of the H-bridge drive.
The Cebuano Geek

Philippine Electronics Forum

Re: reverse and forward control of dc motor using single switch
« Reply #22 on: February 28, 2008, 10:14:18 AM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4255
  • Pogi/Ganda Points: 300
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: reverse and forward control of dc motor using single switch
« Reply #23 on: February 28, 2008, 10:26:37 AM »
.. posted a wrong schematic without the freewheel diodes.
kung gagamit ba ako ng CMOS (discrete N-MOS & P-MOS) instead of BJT totem pole,
no need na ba for freewheel diodes?  ??? ung body diode ang bahala?
ito kasing CMOS (pairs) ang readily available na sakin..

join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: reverse and forward control of dc motor using single switch
« Reply #23 on: February 28, 2008, 10:26:37 AM »

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2190
  • Pogi/Ganda Points: 307
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: reverse and forward control of dc motor using single switch
« Reply #24 on: February 28, 2008, 10:59:33 AM »
kung gagamit ba ako ng CMOS (discrete N-MOS & P-MOS) instead of BJT totem pole,
no need na ba for freewheel diodes?  ??? ung body diode ang bahala?
ito kasing CMOS (pairs) ang readily available na sakin..

The freewheel diodes are needed to protect the BJT transistors not the CMOS gates.
The transistors are needed to amplify the current to drive the motors.

If using MOSFETS, which does have an internal diodes,  as current amp on the H bridge, it may not be needed provided the back EMF voltage does not go over the max. specified rating of the MOSFET.
But the schematic will not be the same. Set P-channel on top and N-channel at the bottom. Add a series resistor (100ohms) at the gate to protect the Q and Q' outs from large capacitance between gate and source of FETs.
Be sure also to use LOGIC FETS (IRFZ series).  These are triggered at 5V instead of normally 10V gate-source voltage.
The Cebuano Geek

Philippine Electronics Forum

Re: reverse and forward control of dc motor using single switch
« Reply #24 on: February 28, 2008, 10:59:33 AM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4255
  • Pogi/Ganda Points: 300
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: reverse and forward control of dc motor using single switch
« Reply #25 on: February 28, 2008, 11:20:23 AM »
Be sure also to use LOGIC FETS (IRFZ series).  These are triggered at 5V instead of normally 10V gate-source voltage.
plan kong gamitin ito: IRLML2803 & IRLML5103, 1V (min) threshold,
to drive the mini motors (came from phone vibrator)..

currently, gumagawa kasi ako ng mini mobot, powered by 3V batt..
and instead of flip-flop, i'm using the outputs of the picmicro (powered by another 3V batt)..

soon, hopefully, mapost ko sya dun sa Post your mobot specifications and pictures here..  ;D
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2190
  • Pogi/Ganda Points: 307
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: reverse and forward control of dc motor using single switch
« Reply #26 on: February 28, 2008, 11:34:23 AM »
plan kong gamitin ito: IRLML2803 & IRLML5103, 1V (min) threshold,
to drive the mini motors (came from phone vibrator)..

currently, gumagawa kasi ako ng mini mobot, powered by 3V batt..
and instead of flip-flop, i'm using the outputs of the picmicro (powered by another 3V batt)..

soon, hopefully, mapost ko sya dun sa Post your mobot specifications and pictures here..  ;D


This is OK to use.  This is 1Amp conducting at 3V Vgs.
Be careful when looking specs, the minimum 1V Vgs is working only at 250uA according to the datasheet.

Nice to have a mobot! :)
I plan to build one but no time for now.
The Cebuano Geek

Offline mArKhAo

  • Gas Turbine
  • **
  • Posts: 2282
  • Pogi/Ganda Points: 70
  • Gender: Male
  • point and shoot
Re: reverse and forward control of dc motor using single switch
« Reply #27 on: February 28, 2008, 11:05:25 PM »
74107 ba poh na i.c. un??? tnx poh ng madami....

nilagyan q po xa ng timer i.c. post q po pag ntapos q na poh, paki check naman po,,,  ;D

Sorry, I missed this post.
Any JK flipflop will do. Just tie the J and K inputs to high. Pulsing CLK will toggle Q and Q`.
tnx po.... 7472 po ung nkita q,,,,  ;D
cut my heart out, for a souvenir....

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2190
  • Pogi/Ganda Points: 307
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: reverse and forward control of dc motor using single switch
« Reply #28 on: February 29, 2008, 08:07:52 AM »
nilagyan q po xa ng timer i.c. post q po pag ntapos q na poh, paki check naman po,,,  ;D
tnx po.... 7472 po ung nkita q,,,,  ;D
Sure.
Just post your schematic here. 
Others and I will surely help you checking it for errors.

7472 is ok to use. Just put all JK input high and PRE' and CLR' high also.
CLK will be your input.  But this still needs debouncing.  Just look for debounce circuits.
I forgot how to make one (hardware solution).  I do most of debouncing in software.
The Cebuano Geek

Offline mArKhAo

  • Gas Turbine
  • **
  • Posts: 2282
  • Pogi/Ganda Points: 70
  • Gender: Male
  • point and shoot
Re: reverse and forward control of dc motor using single switch
« Reply #29 on: March 02, 2008, 01:35:56 AM »

ito po ung schem, pki check nmn po qng may mali tnx poh. :D
cut my heart out, for a souvenir....

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2190
  • Pogi/Ganda Points: 307
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: reverse and forward control of dc motor using single switch
« Reply #30 on: March 03, 2008, 08:17:37 AM »
This circuit will not work. There are errors on it.

1. LM555 cannot drive the motor's power. What is the purpose of the LM555?

2. Q1 and Q3 needs series resistors. 1K should be enough.
If you follow my previous posted schematic and using NPN and PNP as current amp. The resistors are not needed.

3. Emitter of Q1 or collector of Q2 should be connected to one of the motor's terminal. Likwise, emitter of Q4 and collector of Q3 to the other terminal.


The Cebuano Geek

Offline paranz

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4574
  • Pogi/Ganda Points: 178
  • Gender: Male
  • 1/4W resistor specialist
    • RapidSignal Electronics
Re: reverse and forward control of dc motor using single switch
« Reply #31 on: March 03, 2008, 09:49:57 AM »
This circuit will not work. There are errors on it.

1. LM555 cannot drive the motor's power. What is the purpose of the LM555?

2. Q1 and Q3 needs series resistors. 1K should be enough.
If you follow my previous posted schematic and using NPN and PNP as current amp. The resistors are not needed.

3. Emitter of Q1 or collector of Q2 should be connected to one of the motor's terminal. Likwise, emitter of Q4 and collector of Q3 to the other terminal.




4. Q2 & Q4 should be PNP BJTs
PIC16 Programming Tutorial using MPLAB and Hi-Tech C
www.rapidsignalph.com/tutorials/pic16-tutorials

Arduino & gizDuino Tutorials
www.rapidsignalph.com/tutorials/arduino-tutorials

Offline Born2BeWired

  • Technical People
  • Diesel Generator
  • *****
  • Posts: 1502
  • Pogi/Ganda Points: 211
  • Gender: Male
  • De omnibus dubitandum
Re: reverse and forward control of dc motor using single switch
« Reply #32 on: March 03, 2008, 10:08:07 AM »
@zer0w1ng

The LM555, I believe, is meant for key debounce, mali lang ang pagkalagay. One thing Iam beginning to like about marksurel is, he is making real effort to design his own circuit. And thank you for taking your time to help him out. :D

Re to key debounce circuit, there is one simple trick which often give good results- connect across the key input a capacitor. R*C = 0.05  should do the job. But this trick will work only if the F/F clock input rise/fall times is specified at infinity (i.e. schmitt trigger).

Re to Bridge Circuit, the emitter follower push pull arrangement is simple and straightforward, but is lossy. There will be approx 1V drop on both the high side and low side drive, with only 3V left to run the motor. If marksurel think this will be a problem, maybe we have to give him some alternative.

 ;D ;D
Electronics <- Once you got a taste of it, you will never get enough.

Insanity <- Doing the same thing, expecting different results.

"The more I learn, the more I am humbled."

Offline Born2BeWired

  • Technical People
  • Diesel Generator
  • *****
  • Posts: 1502
  • Pogi/Ganda Points: 211
  • Gender: Male
  • De omnibus dubitandum
Re: reverse and forward control of dc motor using single switch
« Reply #33 on: March 03, 2008, 10:11:40 AM »
4. Q2 & Q4 should be PNP BJTs

Yes! like this one ;D
Electronics <- Once you got a taste of it, you will never get enough.

Insanity <- Doing the same thing, expecting different results.

"The more I learn, the more I am humbled."

Offline mArKhAo

  • Gas Turbine
  • **
  • Posts: 2282
  • Pogi/Ganda Points: 70
  • Gender: Male
  • point and shoot
Re: reverse and forward control of dc motor using single switch
« Reply #34 on: March 03, 2008, 02:16:04 PM »
hehe kulang pla po ung sa motor, nalimutan q ng wire.... tapos un pong 555, pnakita q lng po ung output nya, for the supply ng q1-q4., kya q na po xa modify para masmalaki ung current and voltage, the purpose of 555 is to give the time where the q1-q4 will be turned on and off,, tnx poh sa mga comments
 ;D
cut my heart out, for a souvenir....

Philippine Electronics Forum

Re: reverse and forward control of dc motor using single switch
« Reply #34 on: March 03, 2008, 02:16:04 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com