Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I'm trying to control the power of an LCD I2C display. My project uses and Arduino and LCD, but when Arduino goes to sleep, the LCD stays on. So, to solve this problem, I connected a TIP121 transistor to arduino, as it follows: Base = Pin5 with 2.4k Resistor, Collector = LCD's GND and Emitter = Arduino GND. When I power the Arduino, the LCD is on but displaying just some bars. When I connect LCD's GND to Arduino GND and restart, everything is ok.

From what I'm seeing it's either a problem with the transistor or the LCD is not getting enough power. I'll try later with a 0.1uF capacitor to see if that's the case.

share|improve this question

1 Answer 1

With your original idea the LCD circuit is most likely finding a ground path along the other Arduino pins that are connected, and strange things are happening. Trying to enable a circuit by pulling down the ground point is usually not recommended except for simple circuits with components like relays, bulbs, or LEDs.

It is possible that the LCD system you have contains an enable pin that shuts it down. If available this could be controlled by an Arduino I/O port.

If the only alternative is to switch On/Off the power going to the LCD circuit you would have better luck switching just the "+" side of the power supply. Use a PNP transistor or a P-channel Mosfet (in which case switching is controlled by a low input signal). Before switching off the LCD it would be best to insure that all other data signals coming from the Arduino are set low. It would also be a good idea to check the data sheet of the LCD circuit or driver to see if dropping the "+" supply line is a potential problem. If the power supply to the LCD circuit is not compatible with the Arduino voltage there are choices of using an opto-coupled device (PNP or Mosfet type opto-coupler), or even a small low current relay.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.