Hello and thanks always for your help. It is greatly appreciated.
I would like to ask some questions related to a project I have been given all of a sudden.
Say I have a LED like the following:
http://www.aglare.com/pdf/120-piece...SF1210W120_asia-manufacturer-and-supplier.pdf
As you can see it is powered with 12V. If you connect each terminal to a 12V battery it lights up, no need of resistors.
I have to regulate the brightness with a PIC so I am planning on doing the following:
I dont know yet the value of R1 and if R2 is necessary at all.
I have already written a program that uses the PWM module of a PIC. It works without problems. Say you connect a LED (and a resistor) to the CCP1 port, you can regulate the brightness of that LED.
Do this PWM signal pass through a transistor so as to regulate the brightness of the big LED???
------------------------------------------------------------------------------------
Also related with this, any comments on the above circuit. In the past I worked with a valve of 12V that has EMF (?) so I was afraid to mix the voltages. I tried to separate them using a opto isolator as you can see in the following schematic
my question is, now with this 12V LED, is this all necessary? I dont think the valve presents a problem so I took of the optoisolator and the diodes, and just plan to use a transistor (now which transistor I dont know...) Do you see a problem in this??
Thanks always very much for the help
I would like to ask some questions related to a project I have been given all of a sudden.
Say I have a LED like the following:
http://www.aglare.com/pdf/120-piece...SF1210W120_asia-manufacturer-and-supplier.pdf
As you can see it is powered with 12V. If you connect each terminal to a 12V battery it lights up, no need of resistors.
I have to regulate the brightness with a PIC so I am planning on doing the following:
I dont know yet the value of R1 and if R2 is necessary at all.
I have already written a program that uses the PWM module of a PIC. It works without problems. Say you connect a LED (and a resistor) to the CCP1 port, you can regulate the brightness of that LED.
Do this PWM signal pass through a transistor so as to regulate the brightness of the big LED???
------------------------------------------------------------------------------------
Also related with this, any comments on the above circuit. In the past I worked with a valve of 12V that has EMF (?) so I was afraid to mix the voltages. I tried to separate them using a opto isolator as you can see in the following schematic
my question is, now with this 12V LED, is this all necessary? I dont think the valve presents a problem so I took of the optoisolator and the diodes, and just plan to use a transistor (now which transistor I dont know...) Do you see a problem in this??
Thanks always very much for the help