Skip to content
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

How to turn off LCD? #20

Closed
nugoo1 opened this issue Oct 8, 2018 · 3 comments
Closed

How to turn off LCD? #20

nugoo1 opened this issue Oct 8, 2018 · 3 comments
Labels

Comments

@nugoo1
Copy link

nugoo1 commented Oct 8, 2018

The problem is my LCD remain on even after the raspberry pi turns off. As long as the main power is connected to the LCD, it shows the previous messages it was showing before and the back-light also remains on, which is not ideal.

I would like to clear the screen and turn off the back-light when the raspberry pi turns off.

Any solution?

@fivdi
Copy link
Owner

fivdi commented Oct 8, 2018

The problem is my LCD remain on even after the raspberry pi turns off. As long as the main power is connected to the LCD, it shows the previous messages it was showing before and the back-light also remains on, which is not ideal.

This isn't an lcd module issue. Calling sudo shutdown -h now shuts down the Raspberry Pi but it doesn't remove power from the power rails. This means that the LCD remains powered and continues to display the information that it was displaying. I'm not aware of a software solution that will remove power from the power rails.

I would like to clear the screen and turn off the back-light when the raspberry pi turns off.

To clear the screen I would suggest calling the LCD clear method before the program terminates. I'm not aware of it being possible to turn off the back-light on a HD44780 LCD with software.

@fivdi fivdi added the question label Oct 8, 2018
@fivdi
Copy link
Owner

fivdi commented Oct 12, 2018

I'm going to go ahead and close this issue as it doesn't result in modifications to the lcd module being needed.

@fivdi fivdi closed this as completed Oct 12, 2018
@nugoo1
Copy link
Author

nugoo1 commented Oct 12, 2018

Hi fivdi, thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants