Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

drive to relay12 pieces by 1 input from 8951 using uln2003

Status
Not open for further replies.
An 8951 output port typically cannot drive a single ULN2003 input to high (VOH=VIH), let alone 12 inputs.
You'll need a buffer in between.
 

what if the picture?
No, won't work. You need 12mA high drive (from +5V to the 12 inputs).

or you have other recommendations?
You could use Q1 as emitter-follower: Collector to +5V, emitter to the 12 inputs. And so you don't need to take care of the logic inversion by the transistor (an emitter-follower doesn't invert the logic state, your above circuit does).

Don't connect input pins#1 if you don't use their outputs.

Each relay shouldn't need more than 80mA (max. current of one ULN2003 ≦ 500mA).
 

Why do you want to turn on so many relays simultaneously? Why use so many switches when a single MOSFET would do the job?

Keith
 
  • Like
Reactions: IanP

    IanP

    Points: 2
    Helpful Answer Positive Rating
Your diodes are also backwards. How much current and voltage do you need to switch?
 
  • Like
Reactions: IanP

    IanP

    Points: 2
    Helpful Answer Positive Rating
what if the picture?

or you have other recommendations?

thx

Your second version with NPN driver needs a pull-up resistor, diodes need to be reversed and then it will work .. see attached picture ..
As an alternative consider single MOSFET or NPN that can drive all relays connected in parallel (see Keith's thread) ..

:wink:
IanP
 

Attachments

  • 8051 and 12 rlys and NPN, added 390 and Ds-reversed.png
    8051 and 12 rlys and NPN, added 390 and Ds-reversed.png
    33.4 KB · Views: 71

No, won't work. You need 12mA high drive (from +5V to the 12 inputs).


You could use Q1 as emitter-follower: Collector to +5V, emitter to the 12 inputs. And so you don't need to take care of the logic inversion by the transistor (an emitter-follower doesn't invert the logic state, your above circuit does).

Don't connect input pins#1 if you don't use their outputs.

Each relay shouldn't need more than 80mA (max. current of one ULN2003 ≦ 500mA).
if you mean like this



Why do you want to turn on so many relays simultaneously? Why use so many switches when a single MOSFET would do the job?

Keith

I want to switc telephone line as much as 12 line simultaneously, it is certainly among one another should not be any connection

Your diodes are also backwards. How much current and voltage do you need to switch?
I use a diode for reverse current protection, and the switch voltage is 48Vdc

Your second version with NPN driver needs a pull-up resistor, diodes need to be reversed and then it will work .. see attached picture ..
As an alternative consider single MOSFET or NPN that can drive all relays connected in parallel (see Keith's thread) ..

:wink:
IanP

do you think also like the picture above?
if using a mosfet, how to swicht on it with a 5V supply







thx for all
 

The diodes are of course needed . Even the pull up resistors , why dont you try out the npn transistor solution ?
 

The diodes are of course needed . Even the pull up resistors , why dont you try out the npn transistor solution ?

because the input is used for switching the transistor is active high,,,,
Do you have a way lain.selain menngunakan npn transistor?

Yes, I think this should work.

ok I'll try it, but I will be simulated duludi proteus, the problem is why the lib ULN 2003 0r 2803 or2004 not work in proteus
 

The diodes are of course needed.
Not necessarily: The ULN2003 has built-in diodes for each channel, strong enough for the permitted currents.
 

Not necessarily: The ULN2003 has built-in diodes for each channel, strong enough for the permitted currents.

yes of course , how did i forget that ? thanks for reminding
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top