![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| after starting a thread about 24v - 5vdc convert, i finally managed to get a regulated 5v- cheers to everyone who contributed information on that thread! the 5v is meant for my 7406 buffer, so it produces enough currents and voltage to kick up my big and bulky solid state relay, which is connected to a mechanical relay. Then, i am trying to diversify all these circuits into electronics, and the problem starts here. A parallel port pin supplys 5v signal to the buffer, and after buffer comes the pull up of 10k ohms, and next is to a blue 5v electronic relay, shown on the pic. I am running mach3, so i am able to stimulate the process by turning on and off the active low and high settings. As i turn it into active high, nothing happens. I asked a local electronics guy regarding this problem and he says that I should be using a 3v relay, for this application. So i bought the white 3v relay, and tried it out. nothing happened again. But i've notice that if my pin is at active High, the voltage is at 4.2vdc at free load, and after I connect it to those 2 relays, it drops to 1.5-2vdc. I took both relays and tried it using 3x1.5v batteries (4.5v) and it manages to trigger the relay. What exactly happened? Help me..! going nuts soon! |
|
#4
| ||||
| ||||
| As Darek said, with open collector (7406) the 10k pull up resistor should be replaced by the relay coil. Make sure the 7406 can sink the current required by the coil (ohms law). You may also want to look at relay drivers like the DS2003 these have reverse emf diodes installed, are darlington output and can be used to switch 24vdc relays, with 5v input. They come 7 to a chip. You also need to wire a 1n4005 or similar across the coil, reverse biased, or you may lose the 7406 due to back emf on switch off. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#6
| ||||
| ||||
| This should explain it. http://www.kpsec.freeuk.com/components/relay.htm Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#7
| |||
| |||
| A way to look at it is this: sourcing current versus sinking current. A parallel port can fairly easily "sink" current (pull down a signal that is pulled high via an external pull up resistor). When you ask a parallel port to "source current" as in provide enough power to actually drive the device high that you're trying to drive, that's when things can become difficult. Might want to google "parallel port interfacing". Yes, parallel ports can do neat things BUT sometimes the actual way they "communicate" with external devices is NOT intuitively obvious. |
|
#8
| ||||
| ||||
Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#9
| |||
| |||
| The Songle relay in your picture needs 78mA for the coil and the 7406 is only rated for 48mA. Take a look at the link Al posted. Under the heading "Protection diodes for relays" you will se a schematic. This is what you need. Use a 2n3904 for the transistor and a 1.6K base resistor. Aaron |
|
#10
| ||||
| ||||
| This is what makes the DS2003 nice is that it will drive up to 350ma. and has the rev. diode in the chip. For single driver, I prefer the 2N7000 as no other resistors are required usually. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
| Sponsored Links |
|
#11
| |||
| |||
| The 7406 is both current limited in its ability to source current AND it depends what it is using for its +5vdc source. I don't think we know what that source is, do we???? A common trick is to use pin 17 (I think) off the LPT port as a 5v source for pull up reference. In a reference book I have (that I can't find or else I'd pos the ISBN for it), it clearly states that this pin is NOT a reliable voltage source - yet, folks persist on using it.... Hence, it may also NOT provide the current needed to properly drive a buffer IC. If there is a stiff power supply powering the 7406, it is probably a decent buffer IF its current sourcing capabilities are not exceeded. For a decent amount of current, you might be better off driving a 2N4401/2N4403 totem pole or better yet, perhaps a fet driver. In either case, a wall bug would be what I'd use for the +5vdc voltage source. |
|
#12
| ||||
| ||||
| Personally if you are going to alternatively source a relay power supply, why go with 5vdc? I would recommend at least 24vdc. But if you want to stick with the PC power supply, there is already a high current 5v source using one of the power supply HD connectors. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |