Re: Introduction
Posted by
Jon Elson
on 1999-07-03 23:18:54 UTC
David Johnson wrote:
an NPN transistor. A 2N2222 would be fine, but any NPN transistor
with a current rating of, say, 50 mA, and a voltage rating of 50 V will do.
Now, connect a 10K Ohm resistor from the port bit to the Base of the
transistor. Connect the Emitter of the transistor to ground. Connect the
Collector of the transistor to the relay. Connect the other side of the
relay to +5 Volts. Finally, you need to protect the transistor from the
inductance of the relay coil. Connect a diode, such as 1N4148 or 1N4002
across the relay coil. Connect the cathode (banded end) to the +5 volt
end. Connect the anode (other end) to the transistor-collector end of
the relay coil. This diode will only conduct when the transistor turns
off, shunting the inductive current around the coil until the current dies out.
You may also need to connect a 1 K ohm resistor from the parallel port
bit to +5 Volts, if the port's pull-up is weak.
Jon
> From: "David Johnson" <dcjohnsn@...>OK, I assume the 'output on' signal is a logic 1 (5 V)? What you need is
>
> Hi, my name is Dave Johnson. A friend of mine asked to take a look at the
> list, so here I am. That friend is Tim Goldstein. I am in the process of
> building a cnc flame/plasma cutting machine. I am using Camtronics 5 amp
> controller and Desknc. Everything is moving accurately, but I am unable to
> trip a solid state relay for the cutting O2. I am getting a signal from the
> parallel port, but it must not be enough current to pull in the relay. I
> applied 5 volts from the logic portion of the controller board and measured
> the current. It only takes 7ma to pull in the relay. Any suggestions on
> how to pull in the relay from the signal on the parallel port? I am not an
> electronic genius, so the simpler the better.
an NPN transistor. A 2N2222 would be fine, but any NPN transistor
with a current rating of, say, 50 mA, and a voltage rating of 50 V will do.
Now, connect a 10K Ohm resistor from the port bit to the Base of the
transistor. Connect the Emitter of the transistor to ground. Connect the
Collector of the transistor to the relay. Connect the other side of the
relay to +5 Volts. Finally, you need to protect the transistor from the
inductance of the relay coil. Connect a diode, such as 1N4148 or 1N4002
across the relay coil. Connect the cathode (banded end) to the +5 volt
end. Connect the anode (other end) to the transistor-collector end of
the relay coil. This diode will only conduct when the transistor turns
off, shunting the inductive current around the coil until the current dies out.
You may also need to connect a 1 K ohm resistor from the parallel port
bit to +5 Volts, if the port's pull-up is weak.
Jon
Discussion Thread
Tom Kulaga
1999-05-09 16:02:28 UTC
Introduction
David Johnson
1999-07-03 11:16:28 UTC
Introduction
Hugh Prescott
1999-07-03 12:06:56 UTC
Re: Introduction
Mo
1999-07-03 16:52:25 UTC
Re: Introduction
Jon Elson
1999-07-03 23:18:54 UTC
Re: Introduction
Anne Ogborn
2000-10-06 22:18:19 UTC
Introduction
funluva22
2007-04-24 16:32:25 UTC
Introduction
hannu
2007-04-25 02:09:15 UTC
Re: [CAD_CAM_EDM_DRO] re: microstepping drivers
jeffalanp
2007-04-25 12:48:51 UTC
Re: microstepping drivers
hannu
2007-04-25 13:45:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: microstepping drivers
caudlet
2007-04-25 13:57:50 UTC
Re: microstepping drivers
JanRwl@A...
2007-04-25 14:04:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Wayne Weedon
2007-04-25 14:09:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Wayne Weedon
2007-04-25 14:11:15 UTC
Re: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Mark Vaughan
2007-04-25 14:37:07 UTC
RE: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Mark Vaughan
2007-04-25 14:57:03 UTC
RE: [CAD_CAM_EDM_DRO] Re: microstepping drivers
caudlet
2007-04-25 18:05:32 UTC
Re: microstepping drivers
David G. LeVine
2007-04-25 19:55:07 UTC
RE: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Mark Vaughan
2007-04-26 00:08:12 UTC
RE: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Lester Caine
2007-04-26 02:58:31 UTC
Re: [CAD_CAM_EDM_DRO] Re: microstepping drivers
Mark Vaughan
2007-04-26 05:42:32 UTC
RE: [CAD_CAM_EDM_DRO] Re: microstepping drivers
funluva22
2007-04-27 14:55:09 UTC
Re: microstepping drivers
ballendo
2007-04-28 22:57:47 UTC
Re: microstepping drivers
ballendo
2007-04-28 23:05:54 UTC
Re: microstepping drivers
Mark Vaughan
2007-04-29 01:13:20 UTC
RE: [CAD_CAM_EDM_DRO] Re: microstepping drivers