Skip to main content

Working with Jetson Nano

Hardware Connection

  • Connect using the 9PIN cable. Refer to the pin mapping table below:

    Jetson Nano pin mapping

    e-PaperJetson Nano Developer Kit
    BCM2835 PinBoard Physical Pin Number
    VCC3.3V3.3V
    GNDGNDGND
    DIN10(SPI0_MOSI)19
    CLK11(SPI0_SCK)23
    CS8(SPI0_CS0)24
    DC2522
    RST1711
    BUSY2418
    PWR1812

Running the C Example

  • Download the example (skip if already downloaded)

    wget https://files.waveshare.com/wiki/1.54inch_e-Paper_E/1.54inch_e-Paper_E.zip
    unzip 1.54inch_e-Paper_E.zip -d 1.54inch_e-Paper_E
    cd 1.54inch_e-Paper_E/RaspberryPi_JetsonNano/
    Alternative extraction method
    sudo apt-get install p7zip-full
    7z x 1.54inch_e-Paper_E.zip -O./1.54inch_e-Paper_E
    cd 1.54inch_e-Paper_E/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/waveshare/e-Paper.git
      cd e-Paper/E-paper_Separate_Program/1.54inch_e-Paper_E/RaspberryPi_JetsonNano
  • Compile the program (Note: -j4 uses 4 threads for compilation; you can modify the number)

    # It is now in 1.54inch_e-Paper_E/RaspberryPi_JetsonNano
    cd c
    sudo make clean
    sudo make JETSON -j4
  • Run the program

    sudo ./epd

Running the Python Example

  • Install libraries

    sudo apt-get update
    sudo apt-get install python3-numpy
    sudo apt-get install python3-pip
    sudo pip3 install Jetson.GPIO
  • Download the example (skip if already downloaded)

    wget https://files.waveshare.com/wiki/1.54inch_e-Paper_E/1.54inch_e-Paper_E.zip
    unzip 1.54inch_e-Paper_E.zip -d 1.54inch_e-Paper_E
    cd 1.54inch_e-Paper_E/RaspberryPi_JetsonNano/
    Alternative extraction method
    sudo apt-get install p7zip-full
    7z x 1.54inch_e-Paper_E.zip -O./1.54inch_e-Paper_E
    cd 1.54inch_e-Paper_E/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/waveshare/e-Paper.git
      cd e-Paper/E-paper_Separate_Program/1.54inch_e-Paper_E/RaspberryPi_JetsonNano
  • Run the program

    # Make sure it is in 1.54inch_e-Paper_E/RaspberryPi_JetsonNano/ position
    cd python/examples/
    python3 epd_1in54e_test.py