biza 0 Posted May 27, 2014 Share Posted May 27, 2014 I people I need switch off the backlight on my lcd , i made this schema but this not work . What I am doing wrong? Tanks in advance Quote Link to post Share on other sites
cubeberg 540 Posted May 27, 2014 Share Posted May 27, 2014 Are you using a PNP transistor or NPN? Also - why are you using diodes instead of resistors? Usually you just need a resistor - you can find a calculator here - http://kaizerpowerelectronics.dk/calculators/transistor-base-resistor-calculator/ Make sure you check your pinout as well - there are a couple different pin configurations for transistors. Quote Link to post Share on other sites
biza 0 Posted May 27, 2014 Author Share Posted May 27, 2014 sorry bad schema , but how can I switch on and off a backlight LCD? Quote Link to post Share on other sites
nemetila 12 Posted May 27, 2014 Share Posted May 27, 2014 There are 3.3V and 5V type LCDs. If you use 5V type LCD, the LCD LED forward voltage might be higher than 4V (for example 4.1V). This is higher than your LaunchPad Vcc voltage (3.4V). I think It wont work unless you get 5V from the LauncPad or from an external supply. Backlight on/off (with 3.3V LCD) an example: connect: LCD_VLED --> Vcc connect: LCD_VLSS ---> current limiter resistor pin(1) connect: current limiter resistor pin(2) --> N_MOSFET(logic level type) drain connect: N_MOSFET(logic level type) source --> Gnd connect: N_MOSFET(logic level type) gate --> any MSP430 I/O pin This solution might be improved with additional resistors. biza 1 Quote Link to post Share on other sites
enl 227 Posted May 28, 2014 Share Posted May 28, 2014 What model s the LCD? Many have software control for the backlight. If not SW control, then transistor switch is appropriate. Traditional is an NPN transistor to ground... the anode of the LED is connected to power, resistor cathode to transistor collector, emitter to ground. Current to base turns on. Use a limit resistor to control base c urrent. biza 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.