This is a simple project to get started with Pico and Grove, using MicroPytho to control both PWM signals and high and low level signals.
- Step 1. Connect Grove servo to analog pin 1 of Base Shield.
- Step 2. Connect Grove Mini fan to port D16 of Base Shield.
- Step 3. Connect Grove Mini pir motion sensor to port D18 of Base Shield.
- Step 4. Plug Grove Shield for Pi Pico into Pi Pico.
- Step 5. Connect Pi Pico to PC through a USB cable.
Then copy the code to the Thonny IDE.
Now please click the green button to run the demo code. Then you can get the grove mini fan and grove servo run When you hands swiping past the pir sensor as below.
Comments