Comments on: Raspberry Pi Pico and Pico W Pinout Guide: GPIOs Explained https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 04 Mar 2025 20:40:04 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Kees https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-1013348 Tue, 04 Mar 2025 20:40:04 +0000 https://randomnerdtutorials.com/?p=133875#comment-1013348 Dear Rui and Sara,

On your page https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#i2c in the text above the table you write I2C1 and I2C2 and in the table below that text I read I2C0 and I2C1 in the table. May I suppose that I2C1 in the text is the same as I2C0 in the table and I2C2 is the same as I2C1 in the table?

]]>
By: Karin Willers https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-990977 Thu, 12 Dec 2024 21:54:55 +0000 https://randomnerdtutorials.com/?p=133875#comment-990977 In reply to Karin Willers.

I did adapt code from github.com/raspberrypi/pico-examples/blob/master/blink/blink.c
for the Raspberry Pi Pico W and 2 W. Tested on Pico 2 W under Arduino IDE version 1.8.19:

/**
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Arduino version by Karin Willers
*/

// Pico W devices use a GPIO on the WIFI chip for the LED,
// so when building for Pico W, CYW43_WL_GPIO_LED_PIN will be defined

#ifdef CYW43_WL_GPIO_LED_PIN
#include “pico/stdlib.h”
#include “pico/cyw43_arch.h”
#endif

#ifndef LED_DELAY_MS
#define LED_DELAY_MS 1000
#endif

// Perform initialization
void setup() {
#if defined(CYW43_WL_GPIO_LED_PIN)
// For Pico W devices we need to initialise the driver etc.
cyw43_arch_init();
#else
pinMode(LED_BUILTIN, OUTPUT);
#endif
}

// Turn the led on or off
void pico_set_led(bool led_on) {
#if defined(CYW43_WL_GPIO_LED_PIN)
// Ask the wifi “driver” to set the GPIO on or off
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, led_on);
#else
// Just set the GPIO on or off
digitalWrite(LED_BUILTIN, led_on);
#endif
}

void loop() {
pico_set_led(true);
delay(LED_DELAY_MS);
pico_set_led(false);
delay(LED_DELAY_MS);
}

]]>
By: Karin Willers https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-990462 Tue, 10 Dec 2024 17:23:37 +0000 https://randomnerdtutorials.com/?p=133875#comment-990462 The builtin LED on the Pico W and 2 W is not connected to GPIO pin LED_BUILTIN. Instead the LED is connected to the CYW43439KUBG WLAN chip via signal WL_GPIO0.
The standard Arduino IDE blink code, which uses LED_BUILTIN does not work.

]]>
By: Nick Carter https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-922967 Sat, 08 Jun 2024 23:58:50 +0000 https://randomnerdtutorials.com/?p=133875#comment-922967 I looked at the RPi website electrical specs for the board but was unable to find the current voltage min/max for the GPIOs in/out. Do I have to go all the way to the M0 chip manufacturer specs to find that?
If I am hooking components up to it I would want to know that.

]]>
By: Milan Bartak https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-885505 Mon, 22 Jan 2024 10:40:30 +0000 https://randomnerdtutorials.com/?p=133875#comment-885505 Hi,
thank you for nice tutorial.

Do you think that it would be possible to use same libraries as for Arduino UNO.
For example if I would like to have it connected with ETHERNET SHIELD W5100, AUDIO SHIELD VS 1053 B (and create simple internet radio)

Best Regards,
Milan

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-883614 Fri, 12 Jan 2024 17:55:31 +0000 https://randomnerdtutorials.com/?p=133875#comment-883614 In reply to Terry Rowland.

Hi.
Yes, the frequency is adjustable. You can check this tutorial: https://randomnerdtutorials.com/raspberry-pi-pico-pwm-micropython/
Regards,
Sara

]]>
By: Terry Rowland https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-883601 Fri, 12 Jan 2024 16:42:22 +0000 https://randomnerdtutorials.com/?p=133875#comment-883601 Hello Sarah,
I am looking at this board as I am fed up with restrictions on use of IO pins and PWM frequencies on arduino nano, 8266 and esp32.

No mention of 5v tolerance, what is maximum digital input voltage?

Is the PWM frequency adjustable?

Thanks.
Terry R.

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-855716 Fri, 18 Aug 2023 09:20:06 +0000 https://randomnerdtutorials.com/?p=133875#comment-855716 In reply to Michael.

Hi.
Yes.
You’re right.
I don’t know why the official pinout shows GPIO 0.
Regards,
Sara

]]>
By: Michael https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-855642 Thu, 17 Aug 2023 19:22:41 +0000 https://randomnerdtutorials.com/?p=133875#comment-855642 Hi Sara,
here a comment on the built-in LEDs:
The command => Serial.print(LED_BUILTIN); <= corectly reproduces the GPIO25 for the Pico-board, but in my case shows the GPIO32 for the PicoW-board. GPIO0 would conflict with UART0 anyway.
By the way, UART0 (TX => GPIO0, RX => GPIO1) is only accessed through “Serial1”. The simple “Serial” represents the connection to the USB connector.
Best regards.

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-pico-w-pinout-gpios/#comment-854723 Sat, 12 Aug 2023 09:51:47 +0000 https://randomnerdtutorials.com/?p=133875#comment-854723 In reply to Mike Fontes.

Hi.
Unfortunately, I’m not familiar with that subject.
Regards,
Sara

]]>