• sales

    +86-0755-88291180

Raspberry Pi Pico HDMI Board User Guide

【Resources】

【Set up the C environment】

Construction of official C language SDK configuration environment of Raspberry Pi pico (based on Raspberry Pi motherboard platform)

Installation 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

Program running needs to point to SDK path.

export PICO_SDK_PATH=../../pico-sdk (Based on your actual download path, this path means that the pico-sdk path is below the previous directory of the compilation folder.)

【Connect the hardware】


【3.Run the program】

3.1 Download-->Pico HDMI Board.zip  to the Raspberry Pi

3.2 Compiling the Project

cd ~/Pico HDMI Board /software/build


sudo rm -rf ./*


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


Note: The pico-sdk path should be based on your actual local path on the Raspberry Pi

cmake -DPICO_COPY_TO_RAM=1 ..


make -j$(nproc)


3.3 Run the program

After compilation, a uf2 file will be generated for each project in the Pico-HDMI-board/software/build/apps directory.

3.31 christmas_snowflakes file -> christmas_snowflakes.uf2

3.32 hello_dvi file -> hello_dvi.uf2

3.33 dual_display file -> dual_display.uf2

3.34 mandelbrot file -> mandelbrot.uf2

3.35 moon file -> moon.uf2 moon_pio_encode.uf2

3.36 sprite_bounce file -> sprite_bounce.uf2

Putting the UF2 file into the pico (click to see the insertion method) will result in different phenomena as shown below:


【Display an different image】

4.1 Convert the image to a *.h file

4.11 When drawing pictures and saving them as BMP files, pay attention to the color depth.

4.12 When using the Image2lcd software, pay attention to the corresponding actual values, as shown in the figure below.


4.13 Save the file directly as a *.h file.

Refer to https://www.spotpear.com/index/study/detail/id/910.html

4.2 Modify the header file of the *.h file


Change it to be the same as the header file of the image.h file to be replaced

Image storage path: Pico-HDMI-board\software\assets

4.3 Replace *.h file Put the png file and .h file into the folder (if the image name is different from the original, modify the corresponding program file, program file path: Pico-HDMI-board\software\apps)

TAG: Raspberry Pi Pico 2 RP2350 ETH CH9120 TCP/UDP Ethernet Network For Arduino X1011 Raspberry Pi 5 PCIe to M.2 NVMe 4-Ports SSD Board HAT Pi5 Four-Times 2280 EC200U C4-P01 Development Board QuecPython LTE Cat-1 Bluetooth GNSS Positioning Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x1 Slot (C) Expansion Board SpotPear Raspberry Pi AF Camera Jetson Orin 5G/4G/3G expansion board GNSS GPS RM520N-GL Tang-Nano-20K-FPGA-Unboxing LuckFox Pico OLED-LCD-HAT-A Raspberry Pi DSI Raspberry Pi RTC WatchDog HAT (B) Luckfox Pico RJ45 Raspberry-Pi-1.54inch-LCD-Display-Touchscreen-configuration-Bookworm-Lite For Pi5 Raspberry Pi 5 inch LCD 720x1280 Capacitive TouchScreen Display HDMI For Jetson Nano/mini Computer PC ESP32-S3 1.69inch Touchscreen LCD Round Display WiFi Bluetooth With QST Attitude Gyro Sensor QMI8658 Raspberry Pi RTC WatchDog HAT (B) Real time clock Onboard DS3231SN High Precision RTC Chip Sipeed Lichee Tang Nano1K FPGA MINI Development Board GW1NZ-1 Raspberry Pi Camera OV5647 Camera (F) Raspberry Pi Pico 2 RP2350 4inch LCD CAN RS485 QMI8658 Development Board 480x480 TouchScreen Display LVGL HMI I2C Sensor