Power Electronics Development Center

cancel
Showing results for 
Search instead for 
Did you mean: 

Circuit ti drive LED and halogen lamp using MCU and Shaft potentiometer

Qasim Raza here
I am electronics engineer and just started my carrier in 2015 as design and development engineer. these days i am deisgning a circuit board that can drive 3.5V LED and 3.5V halogen lamp.

In my earlier project which is runnig very efficiently i am just driving a 3.5V/750mA bulb only and light output is being  controlled with shaft potetiometer. Rotating potentiometer clockwise light intensity decreases and rotating anticlock wise light intensity increses. The potentiometer which i use is 100K .

the circuit board comprises an autoswitching power supply and LM324 IC. Potentiometer communicates with IC and increses or descrese voltage to bulb accordingly. I

Now I want to make circuit board that can controle light intensity of both LED and BULB with the help of shaft potentiometer. I used PWM to controle the brightness of both LED and Bulb but the problem is in different current rating of LED and bulb .. LED has 330mA current consumption and bulb has 750mA consumption. I have added jumpers to circuit board for bulb and led separately and this jumper communicates with MCU to provide the required current for either LED or bulb


What cahnges should i make in my circuit board to get rid of these jumpers and to make MCU understand automatically whether LED or bulb is connected.

0 Kudos
Message 1 of 3
(4,938 Views)

You can do a duty ratio vs current comparison in your controller. This assumes that the controller has current measurement.

For the same duty ratio (PWM pulse width) applied, the LED should draw less current than the bulb. This can let you gauge whether an LED is connected or a bulb.

0 Kudos
Message 2 of 3
(3,854 Views)

Thanks for your comment... here i am gonna add scehematic what i have done so far and it worked. But as yu can see in the schematics given in below link  .

https://www.dropbox.com/s/ruye37tn9jf8gx9/Current%20wall%20unit%20LED%2BBulb.pdf?dl=0


I am dependent on JS jumpers to communicate with MCU for current adjustment
Guide me in this regard

0 Kudos
Message 3 of 3
(3,854 Views)