i_c_lcd_display
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
i_c_lcd_display [2016/08/01 20:43] – walkeradmin | i_c_lcd_display [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
LCDs are a great way to display simple information (like an IP address) without going to the expense of a full LCD panel, or connecting a monitor. For my previous LCD I used a 2 line LCD in 4 bit mode, this is a very simple implementation, | LCDs are a great way to display simple information (like an IP address) without going to the expense of a full LCD panel, or connecting a monitor. For my previous LCD I used a 2 line LCD in 4 bit mode, this is a very simple implementation, | ||
\\ | \\ | ||
- | Another way to connect an LCD is to use the I2C interface. This only requires a total of 4 wires, two for the data, 2 for power. You can buy LCDs with built in I2C adaptors, I got mine from eBay, I can't really link it because the links to eBay items seem to die fairly | + | Another way to connect an LCD is to use the I2C interface. This only requires a total of 4 wires, two for the data, 2 for power. You can buy LCDs with built in I2C adapters, I got mine from eBay, I can't really link it because the links to eBay items seem to die fairly |
\\ | \\ | ||
If you do a search for something like this: | If you do a search for something like this: | ||
Line 39: | Line 39: | ||
\\ | \\ | ||
The most tricky part of getting any LCD to run is finding a driver/ | The most tricky part of getting any LCD to run is finding a driver/ | ||
+ | \\ | ||
+ | https:// | ||
\\ | \\ | ||
This guide assumes that you have installed Raspbian (or equivalent) and updated everything with the following commands: | This guide assumes that you have installed Raspbian (or equivalent) and updated everything with the following commands: | ||
Line 66: | Line 68: | ||
Reboot for the changes to take effect | Reboot for the changes to take effect | ||
\\ | \\ | ||
- | Once the OS is installed and the LCD is connected, the libraries can be installed: | + | Once the OS is installed and the LCD is connected, the libraries can be installed:\\ |
\\ | \\ | ||
Ensure you are in your home folder (probably / | Ensure you are in your home folder (probably / | ||
Line 77: | Line 79: | ||
| | ||
sudo sh install.sh (RPi will auto reboot) | sudo sh install.sh (RPi will auto reboot) | ||
+ | \\ | ||
+ | \\ | ||
+ | If you can't find the repository - these files may help - {{ : | ||
+ | \\ | ||
\\ | \\ | ||
Once the Pi has rebooted: | Once the Pi has rebooted: | ||
Line 83: | Line 89: | ||
cd lcd | cd lcd | ||
edit lcddriver.py to ensure the ADDRESS = 0x27 is the correct address (some are 0x20) | edit lcddriver.py to ensure the ADDRESS = 0x27 is the correct address (some are 0x20) | ||
+ | | ||
+ | You can find the LCD address by using a tool called i2cdetect | ||
\\ | \\ | ||
I found this guide by doing this YouTube search: | I found this guide by doing this YouTube search: | ||
- | \\ | + | \\ |
- | | + | |
Raspberry Pi - Mini LCD Display Tutorial by TheRaspberryPiGuy | Raspberry Pi - Mini LCD Display Tutorial by TheRaspberryPiGuy | ||
\\ | \\ |
i_c_lcd_display.1470080580.txt.gz · Last modified: 2023/03/09 22:35 (external edit)