Summary of "Hello World - Unboxing Pico and Setting up Thonny IED to Get Started with Raspberry Pi Pico"
The video is a detailed tutorial and unboxing guide focused on getting started with the Raspberry Pi Pico microcontroller, specifically covering both the Raspberry Pi Pico W and the Raspberry Pi Pico Zero models. The main technological concepts and product features discussed include:
Key Concepts and Product Features:
- Differences between Raspberry Pi Pico W and Pico Zero:
- Pico W includes a built-in Wi-Fi module, allowing internet connectivity; Pico Zero does not.
- Pico W has an onboard LED connected to the Wi-Fi chip, while Pico Zero’s LED is connected to GPIO pin 25.
- Pico W is slightly more expensive than Pico Zero.
- Hardware Setup:
- Unboxing the Pico and connecting it via USB cable.
- Careful insertion of the Pico into a breadboard or pin header without bending pins.
- Explanation of pin rows and the importance of correct pin numbering.
- Software Setup:
- Installation of Thonny IDE (Integrated Development Environment) from thonny.org for programming the Pico.
- Step-by-step installation instructions for both Mac and Windows platforms.
- Troubleshooting USB connection issues, especially for Pico W, including the need to flash a specific
.uf2file (e.g.,w122.uf2) if the device enters flash mode unexpectedly. - Explanation of the “boot select” button on the Pico for accessing internal flash memory, usually not needed for basic programming.
- Configuring Thonny IDE:
- Selecting the correct interpreter for Raspberry Pi Pico or Pico W in Thonny’s configuration.
- Using the stop button to reset the connection if the Pico is running and not detected.
- Options for manual board selection if automatic detection fails.
- Mention of upgrading MicroPython firmware if needed.
- Programming the Onboard LED:
- Importing necessary MicroPython libraries:
machine.Pinfor GPIO control andtime.sleepfor delays. - Explanation that all hardware control on Pico is done via GPIO pins.
- Internal onboard LED pin assignments:
- Pico Zero: GPIO pin 25
- Pico W: LED connected to the Wi-Fi chip, accessed differently.
- Writing a simple blinking LED program using a
while Trueloop to toggle the LED on and off with delays. - Demonstration of troubleshooting a common error where the
.on()and.off()methods do not take arguments. - Adjusting blink speed by changing sleep durations.
- Differences in code for Pico Zero and Pico W:
- Pico Zero: direct control on pin 25.
- Pico W: requires passing an argument
ledto the Pin constructor to control the onboard LED.
- Importing necessary MicroPython libraries:
- Additional Notes:
- Mention of future videos to cover GPIO pinout charts and external LED control.
- Demonstration of saving and running code within Thonny.
- Emphasis on understanding basic concepts before moving to more complex GPIO pin management.
Tutorials/Guides Provided:
- Unboxing and hardware setup of Raspberry Pi Pico (Zero and W).
- Installing and configuring Thonny IDE for Raspberry Pi Pico programming.
- Troubleshooting USB and flashing issues with Pico W.
- Writing and running a basic MicroPython program to blink the onboard LED.
- Explanation of differences in controlling onboard LEDs between Pico Zero and Pico W.
Main Speaker/Source:
The video is presented by a single instructor who records their screen and explains the setup and programming process step-by-step, including live troubleshooting and coding demonstrations. The speaker’s name is not provided in the subtitles.
Category
Technology