I2C Module For 1602 LCD
You can solder the pins directly to your 1602 LCD or use it with a breadboard. It include a adjustment pot to control the back-light brightness,
I2C Module For 1602 LCD Specification
- Compatible with 16x2 and 20x4 display's
- Default I2C Address = 0x3F
- Address is selectable - Range 0x20 to 0x27
Arduino Code
#include <Wire.h> #include <LiquidCrystal_I2C.h> // Set the LCD address to 0x3F for a 16 chars and 2 line display LiquidCrystal_I2C lcd(0x3F, 16, 2); void setup() { // initialize the display lcd.begin(); // Turn on the blacklight and print a message. lcd.backlight(); lcd.print("Hello, world!"); } void loop() { // Do nothing here... }