• sales

    +86-0755-88291180

Raspberry Pi Pico 1.54inch LCD User Guide

【Resources】

】Green-1.54inch lcd

python: Pico 1.54 LCD.py

c: Pico 1inch54 LCD.zip


】Blue-1.54inch lcd

python: Pico 1.54 LCD.py

c: Pico 1inch54 LCD.zip

Schematic


Method 1 C Code (Raspberry Pi platform) 


1. Installation the compilation environment 

sudo apt-get install cmake --fix-missing

sudo apt-get install gcc-arm-none-eabi


SDK download

git clone -b master https://github.com/raspberrypi/pico-sdk.git

cd pico-sdk

git submodule update --init --recursive


The program needs to point to the SDK path

export PICO_SDK_PATH=../../pico-sdk 


(Change to your true path, Now you not need do this code , when you make program, you need this code )


2. Connect the hardware 


3. Run the program 

(1)Download, compile and run the c sample program of Pico 1inch54 LCD: (Green-1.54inch lcd Download: Pico 1inch54 LCD.zip(Blue-1.54inch lcd Download: Pico 1inch54 LCD.zip

   cd ~/Pico 1inch54 LCD /c/build

   sudo rm -rf ./*

   export PICO_SDK_PATH=../../pico-sdk
(Change to your true path )
   cmake ..
   make -j9
 After that, the uf2 file will be generated under the build. 

(2) Press and hold Pico's BOOTSEL and use the Micro USB cable to connect Pico to the Raspberry Pi's USB and then release 



Open the build folder in the actual program folder and pull the main.uf2 file into the above window



 

phenomenon:

Run the screen program, the picture can be seen on the screen.

Run the screen program, the picture stays in the small square screen, press the button, the corresponding small square will be red. 


Method 2 python Code (Raspberry Pi platfrom) 


1.Installation Thonny IDE

Please refer to the official link 

https://projects.raspberrypi.org/en/projects/getting-started-with-the-pico/2

2. Connect the hardware 

(1) 

2

3. Run the program

 (Green-1.54inch lcd Download: Pico 1.54 LCD.py(Blue-1.54inch lcd : Pico 1.54 LCD.py

Open the software 

phenomenon:

Run the screen program, the screen flashes blue, red and white once.

Run the screen program, press the button, the screen displays the corresponding button name.

TAG: D-Robotics RDK X3 Development Board Horizon Sunrise Pi ARM Cortex-A53 5Tops 2GB/4GB RAM Raspberry Pi 21.5 inch Type C/HDMI Display Screen 1920x1080 Computer PC Phone Xbox/PS4/Switch NVIDIA Jetson Orin Nano Developer Kit Official Original 8GB AI 40Tops For Embedded and Edge Systems 1.28inch Round LCD CAN FD TTL UART To CAN Mini ESP32-S3 Development Board 4 inch LCD TouchScreen Display 480x480 RS485 /SHT20 /Relay For Arduino LVGL 86 TVbox Raspberry Pi Robot Dog Wavego Pro 12 quadruped ESP32 ESP-NOW color recognition and self-balancing control USB camera 5MP IMX335 No Distortion ESP32 C3 ESP32-S3 ETH Camera Development Board PoE RJ45 / OV2640 OV5640 Port / W5500 / Micro-SD Compatible With Raspberry Pi Pico Size Core3566002000 Milk-V Duo HUB Raspberry Pi CM5 Gigabit/2.5G Dual Ethernet Expansion Board with RJ45 GPIO IO Base Raspberry Pi DSI 800×480 Raspberry Pi 5 DSI display RV1103 SC3336 Raspberry Pi 5 PCIe to 2-CH PCIe FFC Dual PCIe HAT Board Pi5 Double Sipeed Lichee Tang Nano 4K FPGA MINI Development Board W1NSR-LV4C GOAI Gowin Raspberry Pi 13.3 inch FHD AMOLED 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC