Wiki
2/14/2018 LCD2004 Module - Wiki
http://wiki.sunfounder.cc/index.php?title=LCD2004_Module 8/9
Note: After you run the code, characters may not appear on the LCD1602. You need to adjust the contrast of the screen (the
gradual change from black to white) by spinning the potentiometer clockwise or anticlockwise, until the screen displays
characters clearly.
Step 2: Transfer the package LCD2004_for_Raspberry_Pi to the Raspberry Pi
wget http://wiki.sunfounder.cc/images/b/bb/LCD2004_for_Raspberry_Pi.zip
Step 3: Extract the package
unzip LCD2004_for_Raspberry_Pi.zip
Step 4: Get into the folder of code
cd LCD2004_for_Raspberry_Pi
Step 5: Run
sudo python lcd2004.py
Experimental Phenomenon
You should see four lines of characters displayed on the LCD2004: "LCD2004", "Hello, world!", "20 cols, 4 rows" and
"www.sunfounder.com".