• 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: ESP32 2 inch Capacitive TouchScreen LCD Display ST7789 CST816D 240x320 For Arduino/Raspberry Pi/Pico MP2.5G Raspberry Pi 5 PCIe to 2.5G Ethernet HAT Pi5 RTL8125 X1005 Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2230/2242/2260/2280 Core3566002000 Raspberry Pi 5 LCD Screen ESP32 1.54inch OLED Raspberry Pi 12.3 inch LCD HDMI /Type C Display In-Cell Capacitive TouchScreen 1920x720 For Jetson Nano/mini Computer PC Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x1 Slot (C) Expansion Board Raspberry Pi Pico 2 W RP2350 Pico2W ARM Cortex-M33 And RISC-V Hazard3 Wi-Fi4 Bluetooth5.2 CYW43439 XIAO RA4M1 Tiny SuperMini Board For Arduino Uno IDE For SeeedStudio R7FA4M1 WiFi Wireless ESP32 DDSM Motor Driver HAT For Direct Drive Servo Hub Motors For Raspberry Pi Raspberry Pi 5 Aluminium Case Industrial RJ45 Ethernet To 16-ch Relay Module Modbus RTU TCP With Protection and guide rails Arducam 7inch Monitor LCD Raspberry Pi Refractive Prism Raspberry Pi CM5 Mini Base IO Board NANO B Development For Compute Module 5 Raspberry Pi RTC WatchDog Raspberry Pi Pico