Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

conexion de transistor NPN para salida digital

Hola:

 

Estoy haciendo una aplicacion on/off donde se requiere activar o desactivar una electrovalvula mediante una señal Digital de salida generada por una NI USB 6216, intente haciendo uso de un relevo de 5V pero en ocaciones no se activa la señal, me sugirieron utilizar un transistor NPN para el mismo proposito pero no conosco la referencia de ese transistor que sea adecuada para este proposito, podrian recomendarme la referencia del transistor que mejor se ajuste a los requerimientos o en su defecto recomendarme una manera mas efectiva de solucionar este problema, utilizando elementos que sean faciles de conseguir en una tienda electronica y que obviamente sean seguros.

 

Adjunto el diagrama de conexion.

 

Gracias

0 Kudos
Message 1 of 4
(5,022 Views)

Hi,

 

'Any' NPN transistor will do the job. Take something like a 2N2222. Also add a series resistor (10k) in the base line. To protect the transistor add a diode parallel to the solenoid. (cathode to the +).

 

Depending on the current your solenoid needs it can be better to use a switching FET.

 

Kees

 

0 Kudos
Message 2 of 4
(5,014 Views)

Hi, 

 

I was doing the circuit arrangement, as you suggesting to me, adding to the protective dioido the 10k resistor at the base of the transistor and other elements of the coil and the LED control, but did not work, barely LED lights ... How I can fix this problem?

 

the coil is 12V 3W.

the new connection is and the characteristics of the solenoid coil that I am using are in the attachment.

0 Kudos
Message 3 of 4
(4,994 Views)

Hi,

 

The 4k7 can be a bit high for a LED that need more than a few mA.

The best thing is to look at the datasheet of the LED and calculate the series resistor. Or just use a lower the resistor.

 

Kees

0 Kudos
Message 4 of 4
(4,987 Views)