Working with Jetson Nano
Hardware Connection
-
Connect using the 9PIN cable. Refer to the pin mapping table below:
Jetson Nano pin mapping
e-Paper Jetson Nano Developer Kit BCM2835 Pin Board Physical Pin Number VCC 3.3V 3.3V GND GND GND DIN 10(SPI0_MOSI) 19 CLK 11(SPI0_SCK) 23 CS 8(SPI0_CS0) 24 DC 25 22 RST 17 11 BUSY 24 18 PWR 18 12
Running the C Example
-
Download the example (skip if already downloaded)
# Download and extract the example package from the resources page, then enter the directory:cd 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano/Alternative extraction method
sudo apt-get install p7zip-full7z x 9.7inch_e-Paper_E.zip -O./9.7inch_e-Paper_Ecd 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano/Download the program via GitHub (alternative method, skip if already downloaded)
- Accessing GitHub may not be very smooth at present. It is recommended to use the above method to download from our official website.
git clone https://github.com/waveshareteam/9.7inch_e-Paper_E.gitcd 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano
- Accessing GitHub may not be very smooth at present. It is recommended to use the above method to download from our official website.
-
Compile the program (Note: -j4 uses 4 threads for compilation; you can modify the number)
# Now in 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNanocd csudo make cleansudo make JETSON -j4 -
Run the program
sudo ./epd
Running the Python Example
-
Install libraries
sudo apt-get updatesudo apt-get install python3-numpysudo apt-get install python3-pipsudo pip3 install Jetson.GPIO -
Download the example (skip if already downloaded)
# Download and extract the example package from the resources page, then enter the directory:cd 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano/Alternative extraction method
sudo apt-get install p7zip-full7z x 9.7inch_e-Paper_E.zip -O./9.7inch_e-Paper_Ecd 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano/Download the program via GitHub (alternative method, skip if already downloaded)
- Accessing GitHub may not be very smooth at present. It is recommended to use the above method to download from our official website.
git clone https://github.com/waveshareteam/9.7inch_e-Paper_E.gitcd 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano
- Accessing GitHub may not be very smooth at present. It is recommended to use the above method to download from our official website.
-
Run the program
# Make sure you are in 9.7inch_e-Paper_E/example/RaspberryPi_JetsonNano/cd python/examples/python3 epd_9in7e_test.py