-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turning backlight on/off via GPIO #8
Comments
easily done by using GPIO to switch between gnd/5v line using a transistor and some resistors. Is RPLCD still in active development? |
Yep, but needs additional hardware. If we do this, we'd need to properly document it.
Right now not very active, but I do intend to fix all bugs that may occur :) Also I want to add I2C support soon, if I find the time to do so. |
does someone have details or a fritzing sketch on how this would be done? |
If your LCD backlight can be driven by 3.3v then you can do it directly I. E connect the back light gpio pin to the back light LCD pin. If not, use a transistor to switch the 5v supply to the LCD back light pin. On 20 Oct 2016, 22:04, at 22:04, Thijs Triemstra notifications@github.com wrote:
|
That's what I meant with "we need to properly document it". Not all LCD modules work the same. People need to read datasheets, so they don't fry their boards by simply following instructions :) Maybe we could add a separate file called |
I wonder if we should really have official support for this. It requires additional circuits and is mostly a documentation problem. Especially now that we have I2C support (#34). An I2C port expander board is really cheap (can be found for <1$) and makes handling of backlight control as well as wiring much simpler - 4 wires is all that you need. There are even a lot of LCDs with those "backpack boards" already soldered on. I'll close this for now, feel free to comment if you disagree. |
Be careful: Current should not be drawn from GPIO! Probably needs separate circuit.
The text was updated successfully, but these errors were encountered: