Stufin
Home Quick Cart Profile

Raspberry Pi Pico W ( Pack of 25)

Buy Now

Dimensions

51mm x 21mm

Weight

3.5g

Operating Temperature

-20C to 85C

Storage

2MB flash storage

RAM

264KB SRAM

Processor

RP2040 dual-core Arm Cortex-M0+

Frequency

Up to 133MHz

Wi-FiIEEE 802.11b/g/n
Micro-USB1x micro-USB connector

GPIO Pins

26x GPIO pins

Power Consumption

1.5mA (idle), 50mA (maximum)

Applications

The Raspberry Pi Pico W is suitable for a wide range of applications, including

IoT projects and prototyping

Automation and control systems

Robotics and robotic arms

Wearable devices and accessories

Environmental monitoring and sensing

Home automation and smart home devices

Industrial control and monitoring systems

What's Included

25x Raspberry Pi Pico W microcontroller boards

Documentation and resources available online

Getting Started

To get started with the Raspberry Pi Pico W, visit the official Raspberry Pi website for detailed documentation, tutorials, and resources. The Pico W is compatible with a range of development tools and software, including MicroPython, C, and Rust.

Pin Configuration

  • Raspberry Pi Pico W (Pack of 25) Pinout Explanation
  • The Raspberry Pi Pico W is a microcontroller board that provides a wide range of GPIO pins for connecting various peripherals and devices. Here's a detailed explanation of each pin, categorized by function:
  • GPIO Pins (28)
  • 1. GPIO0 (Pin 1): General-purpose input/output pin that can be used for digital input/output, PWM, or as an ADC input.
  • 2. GPIO1 (Pin 2): General-purpose input/output pin that can be used for digital input/output, PWM, or as an ADC input.
  • 3. GPIO2 (Pin 3): General-purpose input/output pin that can be used for digital input/output, PWM, or as an ADC input.
  • ...
  • 25. GPIO25 (Pin 25): General-purpose input/output pin that can be used for digital input/output, PWM, or as an ADC input.
  • Analog-to-Digital Converter (ADC) Pins (3)
  • 26. ADC_VREF (Pin 26): Reference voltage input for the ADC.
  • 27. ADC_GPIO26 (Pin 27): ADC input pin, can be used as a GPIO if ADC is not in use.
  • 28. ADC_GPIO27 (Pin 28): ADC input pin, can be used as a GPIO if ADC is not in use.
  • Digital-Only Pins (2)
  • 29. GPIO28 (Pin 29): Digital-only input/output pin, cannot be used for ADC or PWM.
  • 30. GPIO29 (Pin 30): Digital-only input/output pin, cannot be used for ADC or PWM.
  • Power Pins (5)
  • 31. VBUS (Pin 31): Micro-USB bus voltage input (5V).
  • 32. VBG (Pin 32): 3.3V output from the onboard voltage regulator.
  • 33. GND (Pin 33): Ground connection.
  • 34. 3V3_EN (Pin 34): Enables the 3.3V output from the onboard voltage regulator.
  • 35. VSYS (Pin 35): System input voltage, usually connected to VBUS.
  • Wireless Connection Pins (4)
  • 36. WLAN_TX (Pin 36): Wireless LAN transmit pin.
  • 37. WLAN_RX (Pin 37): Wireless LAN receive pin.
  • 38. WLAN_GND (Pin 38): Wireless LAN ground connection.
  • 39. WLAN_VCC (Pin 39): Wireless LAN power connection (3.3V).
  • Debug Pins (2)
  • 40. RUN (Pin 40): Button input for executing code or resetting the board.
  • 41. BOOT_SEL (Pin 41): Boot select pin, used for boot mode selection.
  • Note: The Raspberry Pi Pico W has a 40-pin GPIO header, but some pins are duplicated or have multiple functions. Be sure to consult the official documentation and datasheets for specific pin configurations and usage guidelines.
  • Connecting Pins: A Step-by-Step Guide
  • When connecting pins on the Raspberry Pi Pico W, follow these steps:
  • 1. Identify the pin: Determine the pin you want to use, and its function (e.g., GPIO, ADC, power, etc.).
  • 2. Choose the correct jumper wire: Select a suitable jumper wire or connector that matches the pin's voltage rating and signal type (e.g., digital, analog, or power).
  • 3. Connect the jumper wire: Gently insert the jumper wire into the desired pin on the Raspberry Pi Pico W. Make sure it's securely seated and won't come loose over time.
  • 4. Connect the peripheral or device: Attach the other end of the jumper wire to the corresponding pin on the peripheral or device you're connecting (e.g., sensor, LED, buzzer, etc.).
  • 5. Double-check connections: Verify that all connections are secure, correct, and meet the voltage and signal requirements.
  • 6. Test your setup: Power on the Raspberry Pi Pico W and test your project to ensure it's functioning as expected.
  • Remember to handle the board and components with care, and follow proper electrostatic discharge (ESD) precautions to avoid damaging your Raspberry Pi Pico W or connected devices.

Code Examples

Raspberry Pi Pico W (Pack of 25) Documentation
Overview
The Raspberry Pi Pico W is a microcontroller board developed by Raspberry Pi, suitable for IoT projects, prototyping, and learning. This pack of 25 boards offers an affordable and versatile solution for various applications. The Pico W features Wi-Fi connectivity, making it an ideal choice for projects that require internet connectivity.
Technical Specifications
Microcontroller: RP2040
 Processor: Dual-core Cortex-M0+ @ 133MHz
 Memory: 264KB SRAM, 2MB Flash
 Wi-Fi: 802.11b/g/n
 Interfaces: 2x SPI, 2x I2C, 2x UART, 16x PIO State Machines
 Operating Voltage: 1.8-5.5V
 Dimensions: 51mm x 21mm
Examples and Code Snippets
Example 1: Wi-Fi Connectivity and HTTP Request
In this example, we will demonstrate how to connect the Raspberry Pi Pico W to a Wi-Fi network and send an HTTP request using the MicroPython firmware.
Code:
```python
import network
import urequests
# Initialize Wi-Fi
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.connect('your_wifi_ssid', 'your_wifi_password')
# Wait for Wi-Fi connection
while not wlan.isconnected():
    pass
print('Connected to Wi-Fi')
# Send HTTP request
response = urequests.get('https://www.example.com')
print(response.text)
```
Example 2: GPIO Control and LED Blinking
In this example, we will show how to control the GPIO pins on the Raspberry Pi Pico W to blink an LED connected to GP15.
Code:
```python
import machine
import time
# Set up GPIO 15 as an output
led = machine.Pin(15, machine.Pin.OUT)
while True:
    # Set LED high (on)
    led.value(1)
    time.sleep(0.5)
# Set LED low (off)
    led.value(0)
    time.sleep(0.5)
```
Example 3: Reading Ambient Temperature with a DS18B20 Sensor
In this example, we will demonstrate how to read the ambient temperature using a DS18B20 sensor connected to the Raspberry Pi Pico W.
Code:
```python
import machine
import onewire
# Initialize OneWire bus on GP16
ow = onewire.OneWire(machine.Pin(16))
# Find the first DS18B20 sensor
sensor = ow.find_first.Device('28.')
while True:
    # Read temperature
    temp = sensor.read_temperature()
    print(f'Temperature: {temp}C')
    time.sleep(1)
```
Note: Make sure to install the required libraries and modules for each example, and adjust the code according to your specific project requirements.
Additional Resources
Raspberry Pi Pico W Datasheet: <https://www.raspberrypi.org/documentation/microcontrollers/rp2040/datasheets/rp2040_datasheet.pdf>
 MicroPython Documentation: <https://docs.micropython.org/en/latest/index.html>
 Raspberry Pi Pico W Forum: <https://forums.raspberrypi.com/viewforum.php?f=151>