Cheapest Option for Computer Driven Relays - Build or Buy?

  • Thread starter Thread starter lennybogzy
  • Start date Start date
  • Tags Tags
    Computer
Click For Summary

Discussion Overview

The discussion revolves around the best approach to drive switches requiring 28V and 200mA of current, exploring whether to build a solution using transistors or to purchase a digital-to-analog converter (DAC). The scope includes practical applications and circuit design considerations.

Discussion Character

  • Technical explanation, Experimental/applied

Main Points Raised

  • One participant inquires about the cheapest option to drive switches requiring 28V and 200mA.
  • Another participant suggests using npn open collector transistors with specific voltage and current ratings, recommending components like the 2N2222A or TIP120, and notes they can be driven by a 5V source.
  • A further contribution describes a circuit diagram for a relay driver, detailing the use of a resistor to limit current into the base of a power transistor and a diode to protect against voltage spikes from the relay coil.
  • A later reply confirms that the simplest solution was to use a single 2N2222A transistor, which worked effectively for the participant's needs.

Areas of Agreement / Disagreement

Participants generally agree on the use of transistors for driving the switches, with multiple suggestions for specific components. However, there is no consensus on whether building a solution is definitively cheaper than buying a DAC, as the initial inquiry remains open-ended.

Contextual Notes

The discussion does not resolve the comparison between building and buying, and assumptions about cost-effectiveness and component availability are not explicitly stated.

Who May Find This Useful

Individuals interested in circuit design, particularly those looking for cost-effective solutions for driving relays or switches in electronic projects.

lennybogzy
Messages
94
Reaction score
0
I need to drive some switches which require 28V and sink about 200ma of current. What's my cheapest option? build something or buy some dac?
 
Engineering news on Phys.org
You could use npn open collector transistors with a Vceo rating > 30 volts (reverse diode protected) and a current rating of >500 milliamps. 2N2222A (MPS2222A) will work, or TIP120 (Darlington) in TO-220 pkg. You can drive these with any 5-volt voltage source.

Bob S
 
You would need something like this:

[PLAIN]http://dl.dropbox.com/u/4222062/relay%20driver.JPG

R is a resistor which limits the current into the base of a small power transistor. You supply a control voltage at the left of this resistor.

This switches a suitable relay. These are available in different coil voltage and contact ratings.

The diode shown across the relay coil is to avoid damage to the transistor when the relay coil is switched on and off.
 
Last edited by a moderator:
thanks guys!
 
Bob S said:
You could use npn open collector transistors with a Vceo rating > 30 volts (reverse diode protected) and a current rating of >500 milliamps. 2N2222A (MPS2222A) will work, or TIP120 (Darlington) in TO-220 pkg. You can drive these with any 5-volt voltage source.

Bob S

simplest option turned out to be just one 2N2222A - works great!

thanks Bob.
 

Similar threads

Replies
37
Views
7K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
16
Views
3K
Replies
17
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K