While you are waiting for the Raspberry Pi Pico W (RP2040), you can still practice concepts that we are learning in the course.
Wokwi is an open-source simulator for Arduino, ESP32, STM32, and other microcontroller projects. We will be using the MicroPython simulator for the Raspberry Pi Pico W (RP2040):
https://wokwi.com/projects/new/micropython-pi-pico
Let's look at the pinout diagram for the Raspberry Pi Pico W board:
The physical pin locations are numbered 1 through 40. There are labels at each pin to indicate what kind of communication the pins support.
Connect the 3V3 pin to the top (+) rail. Connect a GND pin to the (-) rail. Connect the GP16 pin to the anode (longer wire) of the LED. Finally, add a resistor to reduce the current to the LED (220 or 330 Ohm, typically).
Here is the code that you will need:
If everything is wired correctly, you can start the simulation!
Completed tutorial here:
https://wokwi.com/projects/400021799366179841
:warning: Note: You will not be able to access your home Wi-Fi network from the emulator.
:warning: Note: Not all sensors are available for simulation in WokWi, such as the DHT11.
:warning: Warning: The simulator may not have the same pin layout as your physical devices. Always refer to the manufacturer datasheet!
Wokwi is an open-source simulator for Arduino, ESP32, STM32, and other microcontroller projects. It typically supports Arduino code (C/C++), but we are using an experimental feature which supports MicroPython with the Raspberry Pi Pico W (RP2040).