Components and supplies
Arduino UNO
\tPush Button
I2C 16x2 Arduino LCD Display Module
LED (generic)
Resistor 100 ohm
Breadboard (generic)
Jumper wires (generic)
Male/Female Jumper Wires
Project description
Code
Lcdbuttons
arduino
You need the LiquidCrystal_I2C to be able to run it. Download it from here https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
Lcdbuttons
arduino
You need the LiquidCrystal_I2C to be able to run it. Download it from here https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
Downloadable files
type letters to I2C screen with push buttons
type letters to I2C screen with push buttons
type letters to I2C screen with push buttons
type letters to I2C screen with push buttons
type letters to I2C screen with push buttons
type letters to I2C screen with push buttons
Comments
Only logged in users can leave comments
thechordmaster
4 years ago
Great project. Just a clarification. Is there a way to get a button to hold the value displayed on screen till it is released. Take a light sensor for example, showing a certain value on the lcd. How can i get a button to hold that value? Thanks
Anonymous user
4 years ago
want to display text on 16X2 LCD when i press button and it should clear when i un-press button. my code is below help me on this..... #include <LiquidCrystal.h> const int A=8; int buttonState = 0; LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { pinMode(A, INPUT); lcd.begin(16, 2); } void loop() { buttonState = digitalRead(A); if (buttonState == HIGH){ //lcd.clear(); lcd.setCursor(0, 1); lcd.print("hi"); } else { lcd.setCursor(0, 0); lcd.print(" "); } delay(500); lcd.clear(); }
dirar
0 Followers
•1 Projects
4
3
Anonymous user
2 years ago
want to display text on 16X2 LCD when i press button and it should clear when i un-press button. my code is below help me on this..... #include <LiquidCrystal.h> const int A=8; int buttonState = 0; LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { pinMode(A, INPUT); lcd.begin(16, 2); } void loop() { buttonState = digitalRead(A); if (buttonState == HIGH){ //lcd.clear(); lcd.setCursor(0, 1); lcd.print("hi"); } else { lcd.setCursor(0, 0); lcd.print(" "); } delay(500); lcd.clear(); }