User Tools

Site Tools


i_c_lcd_display

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
i_c_lcd_display [2016/08/01 20:43] walkeradmini_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, but it uses lots of GPIO pins.\\  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, but it uses lots of GPIO pins.\\ 
 \\  \\ 
-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 quicly.\\ +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 quickly.\\ 
 \\  \\ 
 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/library for it. I have followed a tutorial from a chap called **TheRaspberryPiGuy** who you can look up on YouTube.\\  The most tricky part of getting any LCD to run is finding a driver/library for it. I have followed a tutorial from a chap called **TheRaspberryPiGuy** who you can look up on YouTube.\\ 
 +\\ 
 +    https://www.youtube.com/watch?v=fR5XhHYzUK0
 \\  \\ 
 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 /home/pi)\\  Ensure you are in  your home folder (probably /home/pi)\\ 
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 - {{ :i2c_lcd.zip |}}
 +\\ 
 \\  \\ 
 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)