K-0582

From 52Pi Wiki
Jump to navigation Jump to search

Raspberry Pi Pico Starter Kit

K-0582-12.jpg

Description

Raspberry Pi Pico Starter kit includes commonly used sensors, for example: LED lights, 9g servo, LCD1602 display module, resisters and buzzer, PIR sensor. You can build your own circuit on the breadboard kit, and DIY your own micro controller project through micropython or C, C++ programming.

Features

  • Contains a Raspberry Pi Pico. (RP2040 microcontroller with 2MByte Flash)
  • Easy to use
  • Rich documentation resources
  • Diversified peripherals
  • Small and portable

Gallery

  • Product Outlook
K-0582-12.jpg


K-0582-13.jpg


K-0582-2-1.jpg
K-0582.jpg
K-0582-5.jpg
  • Application senario
K-0582-4.jpg


K-0582-10.jpg
K-0582-11.jpg
  • Programing with Mac
Pi Pico.jpg


  • Please read the manual carefully.
K-0582-14.jpg


Package Includes

  • 1 x LCD1602 display module
  • 1 x PIR sensor
  • 1 x LED Pack(Red, Blue, Green)
  • 1 x Buzzer
  • 1 x 9g 180-degree servo
  • 1 x 16 RGB WS2812 Light Ring
  • 1 x Half-Sized Breadboard
  • 1 x Resistor Pack
  • 1 x Jumper wire Pack
  • 1 x Max7219 32x8 Matrix
  • 1 x Instructions Book
K-0582-3.jpg


How to start

Getting Start with Micro Python and Thonny IDE

All experimental environments are completed under the Raspberry Pi 4B hardware device and Raspberry Pi OS system. It will be very convenient if you use Raspberry Pi to perform the following operations.
  • 1. First, solder the Pin header for your Raspberry Pi Pico.
  • 2. Download the MicroPython UF2 file from: [ https://micropython.org/download/rp2-pico/rp2-pico-latest.uf2 ]
  • 3. Push and hold the `BOOTSEL` button and plug your Pico into the USB port of your Raspberry Pi or other computer. Release the `BOOTSEL` button after your Pico is connected. It will mount as a Mass Storage Device called `RPI-RP2`. Drag and drop the MicroPython UF2 file onto the RPI-RP2 volume. Your Pico will reboot. You are now running MicroPython.

if you have any problem with the steps, please refer to :[ https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf ]

  • 4. Turn on your Raspberry Pi and Plug the Raspberry Pi Pico via MicroUSB cable to USB port.
  • 5. Reinstall `Thonny` IDE on your Raspberry Pi by typing follwing command in terminal:
sudo apt-get update 
sudo apt-get upgrade -y 
sudo apt -y purge thonny
sudo apt -y install thonny
thonny
  • 6. Open a new terminal and typing:
cd ~
git clone https://github.com/geeekpi/picokit.git
cd picokit

There are some demo codes in this warehouse, which can be opened by `Thonny`, copied and pasted, and then saved to the `main.py` file in Pico.

How to upload demo code

  • For example: Upload LED Blinking demo code

Raspberry Pi Pico Pinout

  • Pinout
Pinout.png


  • Function Definitions:
20210430132330.png


Project 1 LED Blinking

What you need

  • 1 x Raspberry Pi Pico with Pin Headers # NOTE: Raspberry Pi Pico does not include in the package.
  • 1 x LED
  • 1 x Resistor
  • 1 x Half-Sized Breadboard
  • 2 x Jumper wire
  • 1 x MicroUSB cable

Wiring Circuit

Project 1 Blinking LED.png


Upload demo code

With the circuit built, connect your Raspberry Pi Pico and open the `Thonny` application. Copy or write the code, here is the complete code Listing:

import time
from machine import Pin

LED = Pin(0, Pin.OUT)

while True:
    LED.value(0)
    time.sleep(0.5)
    LED.value(1)
    time.sleep(0.5)

How to Setup thonny IDE and upload code.

  • 1. Open `Thonny` IDE
20210430133032.png


  • 2. Navigate to `run` -> `select interpreter` on the menu bar.
20210430133125.png


  • 3. Setting as following Picture:
Pico33214.png


  • 4. Click `open` and select `this computer` to browse the folder that contains demo codes.
Pico332145.png


  • 5. And then save it to `main.py` on Raspberry Pi Pico
Pico3321451.png


Pico33214512.png


Pico332145123.png


  • 6. Finally, press `Play` icon on the menu bar.
20210430133704.png


The above content is the usage method of a single instance, and other instances are also carried out in this way. For more content, please pull the content of the github repository. URLs at the bottom of page.

Documentations

NOTE: The code on github will be updated from time to time, and the actual product is subject to the actual product included in the package.

Video Tutorial

  • Project 8 Raspberry Pi Pico Monitoring CPU Temperature via MAX7219 32x8 matrix display:

YouTube: [ https://youtu.be/7L_B2MNJl_o ]

Keywords

  • Raspberry Pi Pico Starter Kit, pico kit, starter kit for pico, raspberry Pi pico kit