PoretQuentin / Arduino-LCD-Backlight

Arduino Uno turning off LCD backlight with LiquidCrystal

Repository from Github https://github.comPoretQuentin/Arduino-LCD-BacklightRepository from Github https://github.comPoretQuentin/Arduino-LCD-Backlight

Arduino Uno: Controlling LCD Backlight with LiquidCrystal Library

Description

This tutorial demonstrates how to control the backlight of a 16x2 LCD display using an Arduino Uno and a button. The provided script allows you to toggle the LCD backlight on and off with a button press, offering a simple yet practical application of Arduino's capabilities with the LiquidCrystal library.

Disclaimer: This tutorial is provided for informational purposes only. The authors disclaim any liability for damages or losses resulting from the use of this information.

About the Script

This script was developed by Quentin Poret and Christophe using the Tinkercad software. It uses the LiquidCrystal library to interact with a 16x2 LCD display, which is compatible with all LCD screens that utilize the Hitachi HD44780 driver (identifiable by their 16-pin interface). The example sketch displays "Hello, World!" on the LCD and demonstrates how to toggle the backlight using a button.

You can test and modify this script directly on Tinkercad by clicking the link below:

References and Acknowledgements

  • Original library and code for the LCD example can be found at: Arduino LiquidCrystal Tutorial.
  • The LiquidCrystal Library - "Hello World" example demonstrates using the LCD to display text and control timing.
  • Source and inspiration from: Elegoo.

Credits:

  • LiquidCrystal Library added on April 18, 2008, by David A. Mellis.
  • Modifications on July 5, 2009, by Limor Fried (ladyada.net).
  • Example added on July 9, 2009, by Tom Igoe.
  • Modified on November 22, 2010, by Tom Igoe.

About

Arduino Uno turning off LCD backlight with LiquidCrystal


Languages

Language:C++ 100.0%