Hwhardsoft Pp2040 Display Shield Instruction Manual

Hwhardsoft Pp2040 Display Shield Instruction Manual

hwhardsoft
PP2040 Display Shield
Instruction Manual

Rev.DateDescription
A2021-11-03First release

Electrical connection

PinCable colorArduinoDescription
1blackN.C.Optional Interrupt line — not used’
2brownGP13SCL — I2C clock
3redGP12SDA— I2C data
4orange3,3V3,3V power supply
5yellowGNDGround connection

Connections in RasPibox Pico:

hwhardsoft PP2040 Display Shield - Figure 1 This line will generate an interrupt whenever a button is pressed. If you want, you can connect this wire with a digital input of your choice. In our programming example, we don’t use this line!

Mechanical assembly in Arduibox enclosure

Remove the protection foil from the double adhesive tape first:hwhardsoft PP2040 Display Shield - Figure 2

Glue the shield into the top shell:

hwhardsoft PP2040 Display Shield - Figure 3

Place it exactly as in the picture above and close as possible to the left wall!

Programming

3.1 Install CircuitPython
Download the CircuitPython version for the Raspberry Pi Pico: https://circuitpython.org/board/raspberry_pi_pico/
Copy the downloaded file to the root directory of your Pi Pico.
For more information, please visit this link: https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython

3.2 Install additional libraries
Create a subfolder „lib“ in the root directory of the „CIRCUITPY“ drive. Copy now the following libraries in this subfolder.

  • adafruit_bus_device
  • adafruit_display_shapes
  • adafruit_display_text
  • adafruit_imageload
  • adafruit_mcp230xx
  • adafruit_displayio_sh1106.mpy

You will find all the needed libraries here
https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases

Display Shield and Raspberry Pi Pico Manual Rev Ahwhardsoft PP2040 Display Shield - Figure 4

3.3 Install the demo program
Copy now the files of the demo program in the root directory of the CIRCUITPY drive.

hwhardsoft PP2040 Display Shield - Figure 5

3.4 Run the demo
The demo will start automatically after overwriting the existing code.py with our file.
Press the buttons beside the display to show different screens and to switch the leds on.

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals