EP-0172: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
Line 24: Line 24:
==Package Include==
==Package Include==
* 1 x Pico Breadboard Kit Plus version
* 1 x Pico Breadboard Kit Plus version
* 1 x 3.5" Capacitive Touch TFT (already installed on the kit)
==Getting Start==
==Getting Start==
* Install CMake (at least version 3.13), and GCC cross compiler '''(Raspberry Pi OSis pre-installed by default, other systems please install it yourself.)'''
* Install CMake (at least version 3.13), and GCC cross compiler '''(Raspberry Pi OSis pre-installed by default, other systems please install it yourself.)'''

Revision as of 14:02, 16 June 2023

Pico Breadboard Kit Plus version

Description

The Pico Breadboard Kit with a 3.5-inch touch screen, mini PSP joystick, RGB light, buzzer, and two buttons is a versatile electronics kit designed for prototyping and experimentation. This compact kit combines various components to create interactive projects and offers a user-friendly interface.

Features

  • 3.5-inch Capacitive Touch Screen: The kit includes a high-resolution touch screen for displaying visual outputs and receiving user input.
  • Mini PSP Joystick: The built-in mini joystick provides precise analog control for navigating menus and controlling movement in projects.
  • RGB Light: The kit features an RGB light that can emit various colors, allowing for dynamic visual effects and status indicators.
  • Buzzer: An integrated buzzer produces audible feedback, enabling sound effects or alerts in your projects.
  • Two Buttons: The kit includes two buttons for user input, providing additional control options and interactivity.
  • Label: Drop the jumper, all the information is marked on the PCB and can also be disconnected by removing the 0R resistor.

Specifications

  • Screen Size: 3.5 inches TFT
  • Joystick: Mini PSP joystick for analog control
  • Light: RGB light for color output
  • Buzzer: Integrated buzzer for audible feedback
  • Buttons: Two buttons for user input
  • Resolution: 320x480 Pixels
  • Screen IC: ST7796SU1
  • Input Voltage: 3.3V
  • Touch Type: Capacitive Touch Screen

Gallery

TBD.

Package Include

  • 1 x Pico Breadboard Kit Plus version
  • 1 x 3.5" Capacitive Touch TFT (already installed on the kit)

Getting Start

  • Install CMake (at least version 3.13), and GCC cross compiler (Raspberry Pi OSis pre-installed by default, other systems please install it yourself.)
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
  • Install Pico-SDK in Your OS(like Raspberry Pi OS).
wget https://github.com/raspberrypi/pico-setup/blob/master/pico_setup.sh -O pico_setup.sh
chmod a+x pico_setup.sh
./pico_setup.sh
  • Download the demo project directly and build it.
cd /home/pi/
git clone --recursive https://github.com/geeekpi/pico_breakboard_kit.git
Build Projects
cd pico_breakboard_kit/
mkdir build
cd build/
cmake --no-warn-unused-cli -DPICO_OPTIMIZED_DEBUG=1 -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug ../
make -j4

Upload firmware to Pico Unplug Raspberry Pi Pico from Raspberry Pi and press boot_sel button and then connect the Raspberry Pi Pico back to Raspberry Pi. Execute following command to copy the *.uf2 file to Pico.

cp firmware.uf2 /media/pi/RPI-RP2/

After a while, when the firmware has been uploaded to Pico, it will restart automatically, you can test the demo code according to the information on screen. Have fun!

If you want to do UI development, please refer to the LVGL development guide, we have implemented the screen and touch driver, you can use it directly.

FAQ

  • Q: Why is is so slow when I drag the circle ring on screen?
Because of the memory of pico is just 264KB, and graphic interface may consume a lot of memory to show the graphic widget.
  • Q: Can I use MicroPython with LVGL to drive the screen?
No, it is lack of memory, so it may stack when you upload the firmware.

Firmware Download

How to use it?

  • Download the firmware demo and unzip it.
  • Upload firmware to Pico Unplug Raspberry Pi Pico from Raspberry Pi and press boot_sel button and then connect the Raspberry Pi Pico back to Raspberry Pi.
  • Copy the *.uf2 file to RPI-RP2 folder, that's it.

GitHub

Keywords

  • Pico Breadboard Kit, 3.5-inch touch screen, mini PSP joystick, RGB light, buzzer, buttons, prototyping, experimentation, interactive projects, user-friendly interface.