Difference between revisions of "Pico Primer kit"
From MakerFabsWiki
Line 3: | Line 3: | ||
==About the product== | ==About the product== | ||
===Introduce=== | ===Introduce=== | ||
− | This kit is designed for MicroPython learning with raspberry pi PICO. The kit includes the main board and some modules of the Mabee series ( Servo, Slide potentiometer, DHT11 sensor, Relay, MPU6050, ESP8266, Ultrasonic Ranging). The mainboard base on the Pico and LCD display.<br> | + | This kit is designed for MicroPython learning with raspberry pi PICO. The kit includes the main board and some modules of the Mabee series ( Servo, Slide potentiometer, DHT11 sensor, Relay, MPU6050, ESP8266, Ultrasonic Ranging). The mainboard base on the Pico and LCD display, features three buttons, three LEDs and a buzzer. It also provides six interfaces to connect the peripheral modules. <br> |
'''Model: [https://www.makerfabs.com/raspberry-pi-pico-primer-kit.html Pico Primer kit]'''<br> | '''Model: [https://www.makerfabs.com/raspberry-pi-pico-primer-kit.html Pico Primer kit]'''<br> | ||
Line 123: | Line 123: | ||
:[[File:Pico Primer kit 109.gif]] | :[[File:Pico Primer kit 109.gif]] | ||
− | ==MPU6050 | + | ==MPU6050 Demo== |
*Click "stop" to restart the backend.<br> | *Click "stop" to restart the backend.<br> | ||
*Connect the Mabee_IMU MPU6050 module to the CN3 port. | *Connect the Mabee_IMU MPU6050 module to the CN3 port. | ||
Line 131: | Line 131: | ||
:[[File:Pico Primer kit 110.gif]] | :[[File:Pico Primer kit 110.gif]] | ||
− | ==ADC | + | ==ADC Value== |
*Click "stop" to restart the backend.<br> | *Click "stop" to restart the backend.<br> | ||
*Connect the Mabee_Slide potentiometer module to the CN5 port. | *Connect the Mabee_Slide potentiometer module to the CN5 port. | ||
Line 139: | Line 139: | ||
:[[File:Pico Primer kit 111.gif]] | :[[File:Pico Primer kit 111.gif]] | ||
− | ==Weather | + | ==Get Weather via WiFi== |
*Click "stop" to restart the backend.<br> | *Click "stop" to restart the backend.<br> | ||
*Connect the Mabee_Serial WiFi module to the CN1 port. | *Connect the Mabee_Serial WiFi module to the CN1 port. | ||
Line 147: | Line 147: | ||
:[[File:Pico Primer kit 112.jpg|500px]] | :[[File:Pico Primer kit 112.jpg|500px]] | ||
− | ==DHT11 | + | ==DHT11 Demo== |
*Click "stop" to restart the backend.<br> | *Click "stop" to restart the backend.<br> | ||
*Connect the Mabee_DHT11 sensor module to the CN6 port. | *Connect the Mabee_DHT11 sensor module to the CN6 port. | ||
Line 164: | Line 164: | ||
:[[File:Pico Primer kit 114.jpg|500px]] | :[[File:Pico Primer kit 114.jpg|500px]] | ||
− | ==Control | + | ==Control Servo and Relay== |
*Click "stop" to restart the backend.<br> | *Click "stop" to restart the backend.<br> |
Revision as of 02:48, 21 June 2021
Contents
About the product
Introduce
This kit is designed for MicroPython learning with raspberry pi PICO. The kit includes the main board and some modules of the Mabee series ( Servo, Slide potentiometer, DHT11 sensor, Relay, MPU6050, ESP8266, Ultrasonic Ranging). The mainboard base on the Pico and LCD display, features three buttons, three LEDs and a buzzer. It also provides six interfaces to connect the peripheral modules.
Model: Pico Primer kit
Features
- Raspberry Pi Pico: RP2040 microcontroller chip
- 1.44inch TFT LCD, with ST7735 driver
- 3* button input
- 3*LED output
- 1*Active buzzer
- 6*interface expansion (UART/GPIO/I2C/ADC)
- 7*Mabee series module
- Power by Micro USB
Diagram and interface
Interface | 1 | 2 | 3 | 4 |
CN1 | RXD0 | TXD0 | VCC | GND |
CN2 | SCL1 | SDA1 | VCC | GND |
CN3 | SCL0 | SDA0 | VCC | GND |
CN4 | ADC2 | ADC1 | VCC | GND |
CN5 | ADC0 | GP21 | VCC | GND |
CN6 | GP16 | GP17 | VCC | GND |
BUTTON | GPIO |
K1 | GP2 |
K2 | GP3 |
K3 | GP22 |
LED | GPIO |
LED1 | GP18 |
LED2 | GP19 |
LED3 | GP20 |
Active buzzer | GP4 |
Prepare
- Install Thonny IDE. Open Thonny IDE, go to Tools->Options->Interpreter, select "MicroPython".
- Connect Pico to PC. Click "stop" to connect the Pico.
- Obtain the all demo code from the Github.
- Upload all code to Pico.
Button and LED
- Open the code "Project-1-display_led_button.py" in Thonny.
- Click button "RUN" to run this script.
- Press the K1 button to control the LED1 turning on/off.
- Press the K2 button to control the LED2 turning on/off.
- Press the K3 button to control the LED3 turning on/off.
MPU6050 Demo
- Click "stop" to restart the backend.
- Connect the Mabee_IMU MPU6050 module to the CN3 port.
- Open the code "Project-2-leveling.py" in Thonny.
- Click button "RUN" to run this script.
- Rotate the MPU6050 module at will, and the circle displayed on the screen will change position.
ADC Value
- Click "stop" to restart the backend.
- Connect the Mabee_Slide potentiometer module to the CN5 port.
- Open the code "Project-3-adc_display.py" in Thonny.
- Click button "RUN" to run this script.
- Slide the paddle of the potentiometer, and the voltage value displayed on the screen will change.
Get Weather via WiFi
- Click "stop" to restart the backend.
- Connect the Mabee_Serial WiFi module to the CN1 port.
- Open the code "Project-4-weather_8266.py" in Thonny.
- Click button "RUN" to run this script.
- Wait a minute and the Beijing weather will be displayed on the LCD.
DHT11 Demo
- Click "stop" to restart the backend.
- Connect the Mabee_DHT11 sensor module to the CN6 port.
- Open the code "Project-5-temperature.py" in Thonny.
- Click button "RUN" to run this script.
- The temperature and humidity measured will be displayed on the LCD.
Ultrasonic Ranging
- Click "stop" to restart the backend.
- Connect the Mabee_Ultrasonic Ranging module to the CN6 port.
- Open the code "Project-6-HC-SR04_distance.py" in Thonny.
- Click button "RUN" to run this script.
- The Ranging value will be displayed on the LCD.
Control Servo and Relay
- Click "stop" to restart the backend.
- Connect the Mabee_Delay module to the CN5 port.
- Connect the Mabee_Servo SG90 module to the CN6 port.
- Open the code "Project-7-HC-servo_control.py" in Thonny.
- Click button "RUN" to run this script.
- Click the K1 button to drive the Servo to O level.
- Click the K2 button to drive the Servo to 9O level.
- Click the K3 button to control the relay on/off.
FAQ
You can list your questions here or contact with support@makerfabs.com for technology support.