The Raspberry Pi Pico W is a compact and affordable microcontroller board that extends the capabilities of the original Raspberry Pi Pico by adding wireless connectivity. Based on the RP2040 microcontroller chip developed by the Raspberry Pi Foundation, the Pico W is designed for a wide range of applications, from IoT devices and home automation to educational projects and prototyping. Its Wi-Fi capabilities enable it to connect to the internet or local networks, making it an ideal choice for projects that require remote data access, control, or monitoring.
Pin Number | Name | Type | Description |
---|---|---|---|
1-20 | GP0-GP19 | GPIO | General-purpose input/output pins |
21 | RUN | Input | Reset pin, active low |
22 | GND | Power | Ground connection |
23 | 3V3_EN | Input | Enable 3.3V power supply |
24 | 3V3_OUT | Power | 3.3V output from onboard regulator |
25-40 | GP20-GP29, ADC0-ADC2, AGND | GPIO/ADC | Additional GPIO and analog inputs |
39 | VSYS | Power | Input power supply (1.8V-5.5V) |
40 | VBUS | Power | USB input voltage (5V) |
The Raspberry Pi Pico W is not typically used with an Arduino UNO, as it is a standalone microcontroller. However, it can be programmed using the Arduino IDE with the appropriate board support package installed. Below is an example of how to blink an LED using the Arduino IDE:
// Define the LED pin
const int LED_PIN = 25; // Onboard LED pin on the Raspberry Pi Pico W
void setup() {
// Initialize the LED pin as an output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_PIN, HIGH);
delay(1000); // Wait for 1 second
// Turn the LED off
digitalWrite(LED_PIN, LOW);
delay(1000); // Wait for 1 second
}
Remember to select the correct board and port in the Arduino IDE before uploading the code to the Raspberry Pi Pico W.
For more detailed information, refer to the official Raspberry Pi Pico W documentation and datasheets.