User Tools

Site Tools


i2c_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
i2c_lcd_display [2016/08/01 20:33] walkeradmini2c_lcd_display [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 53: Line 53:
     SDA          Pin 3 (GPIO2)     SDA          Pin 3 (GPIO2)
     SCL          Pin 5 (GPIO3)     SCL          Pin 5 (GPIO3)
 +\\ 
 +You need to ensure that the I2C pins are active:
 +\\ 
 +    sudo raspi-config
 +    Advanced Options
 +    I2C
 +    
 +    Where you see the message -  Would you like the ARM I2C interface to be enabled?
 +    
 +    Select Yes, then exit this menu system
 +    
 +    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)\\ 
 \\  \\ 
 From the command line: From the command line:
Line 66: Line 80:
 Once the Pi has rebooted:  Once the Pi has rebooted: 
 \\  \\ 
 +    Navigate to your home folder (probably /home/pi)
     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)
Line 74: Line 89:
     Raspberry Pi - Mini LCD Display Tutorial by TheRaspberryPiGuy     Raspberry Pi - Mini LCD Display Tutorial by TheRaspberryPiGuy
 \\  \\ 
 +To start the demo LCD code: 
 +\\  
 +    sudo python lcd_lcd.py 
 +\\  
 +You should now have some text on the LCD\\  
 +\\ 
i2c_lcd_display.1470080036.txt.gz · Last modified: 2023/03/09 22:35 (external edit)