Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] Controlling 5 IR emitters using PWM of 16F877A

Status
Not open for further replies.

adeel.sid

Advanced Member level 4
Full Member level 1
Joined
Feb 15, 2008
Messages
108
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Activity points
1,958
Controlling 6 IR emitters using PWM of 16F877A

Dear all;

In my circuit I want to operate 6 IR Emitters (all cathodes are common) using PWM of PIC.

I came with idea to use analog deux/demux ic to sequentially operate each IR Emitters but it requires some current drivers since required current is >70mA for each IR emitter.

I came up with idea to use npn transistor with each IR Emitter but looking for some better ideas.

Can anyone guide me how to derive IR emitters instead of using discrete device (transistor)
Also, how can I combine cathodes of three diodes (two groups) after that?

Any suggestion would be appreciated

Regards
 
Last edited:

Hi,

It's not clear to me. Do you want all six to work at the same time, or only one?

Have you thought of a mosfet.
Paralleling should be done with a resistor on each IR emitter.

It depends on supply voltage, but there are a lot of analog switches with rds-on lower than one ohm.

Hope that helps
Klaus
 

Hi,

It's not clear to me. Do you want all six to work at the same time, or only one?

I want to flash each one by one, let's just say, first d1, then d2, d3 and so on

here is pictorial representation

 

Hi,

Seems to be a good way.
On the left picture a high voltage activates the led, and on the right side also.

No supply voltage?

There are 1 of 8 decoders with enable input.
Put the pwm on the enable... if i remember right '138

Take care often they have active low outputs

Klaus
 

You can drive them with a single transistor and a demux IC. Either cathode or anode of all the emitters should be connected together and connect it to the transisitor.Then connect demux lines to individual emitters.
 
You can drive them with a single transistor and a demux IC. Either cathode or anode of all the emitters should be connected together and connect it to the transisitor.Then connect demux lines to individual emitters.
I was thinking of same to derive all (or group of three) with a single transistor.
for example; 2N3904 is 625mW (provide ~625mW/5V=120mA) and in my case, each IR diode requires 100mA.
If three are joined in parallel then current will be divided (120/3=40mA)
Will this scheme work?
could you elaborate your idea as well?
I think I got it:
http://picprojects.org.uk/projects/inf/drivingLEDs.pdf

Didnt I?
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top