Template: LCD1602 I2C Module Jetson

From Waveshare Wiki
Revision as of 06:51, 2 September 2023 by Waveshare-admin (talk | contribs) (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Working With Jetson Nano

Hardware Connection

When connecting Jetson nano, choose to connect with 4PIN cable, please refer to the pin correspondence table below:
If you are using a pin header or PH2.0 4PIN interface, you need to connect according to the following table:

Jetson nano Pin Connection Correspondence
LCD Jetson nano
BCM2835 Pin Board Pin No.
VCC 3.3V 3.3V/5V
GND GND GND
SCL SCL.1 5
SDA SDA.1 3

Take the LCD1602 Module using the PH2.0 4PIN interface as an example, and connect it to the Jetson nano according to the above table:
(Please connect according to the pin definition table. The color of the wiring in the picture is for reference only, and the actual color shall prevail.)
Connect to Jetson nano as shown below:
LCD1602 RGB Module012.jpg

Sample Demo

cd ~
wget https://files.waveshare.com/upload/d/db/LCD1602_I2C_Module_code.zip
unzip LCD1602 I2C Module_code.zip
cd ~/LCD1602 I2C Module_code/Jetson\ Nano
sudo chmod 777 *
cd python/
sudo python time_test.py #Automatically obtains the local time and displays it on the LCD