filmov
tv
How to Connect an I2C Lcd Display to an Arduino Uno Tutorial

Показать описание
16x2 i2c display:
Arduino Kit:
FAQ:
Q. My lcd display is not showing anything?
Try changing the contrast potentiometer on the back of the display.
Q. The lcd display doesn't show anything or random just characters?
Your backpack might be wired differently.
Try this line instead: LiquidCrystal_I2C lcd(0x27, 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE); // Change the 0x27 i2c address to your i2c address
Q. Com port not found errors
Run the windows "device manager", expand "Ports (COM & LPT)". Check that the serial (com) port exists.
Check the board is plugged in to a usb port.
Check the device driver is loaded.
Some clones use the CH340 driver, you will need to download and install it.
Q. The scanner sketch can't find the i2c address?
Check the wiring.
Some Arduino models use different pins for the I2C connections, if you are not using an UNO then check which pins you need to use.
Please visit the techydiy Amazon com shop and help support the channel:
NewliquidCrystal library:
Select the Code button and download zip
i2c Scanner:
SUBSCRIBE TECHYDIY CHANNEL:
SUBSCRIBE TECHYDIY REVIEWS CHANNEL:
Комментарии