wokwi-features icon indicating copy to clipboard operation
wokwi-features copied to clipboard

Add Raspberry Pi Pico W

Open RakibRyan opened this issue 2 years ago • 9 comments
trafficstars

add support for a wifi based board

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

RakibRyan avatar Nov 30 '22 06:11 RakibRyan

Thanks! Opened this request for voting

urish avatar Nov 30 '22 06:11 urish

Some initial findings:

The WiFi (+Bluetooth 5.2) chip is Infineon CYW43439, and it is connected to the RP2040 over SPI. The pin assignment is as follows:

RP2040 Pin CYW43439 Pin Description
GPIO23 WL_ON Wireless power on signal
GPIO24 WL_D wireless SPI data/IRQ
GPIO25 WL_CS wireless SPI CS *
GPIO29 WL_CLK Wireless SPI CLK *

* When WL_CS is high, GPIO29 is connected to VSYS (so you can read VSYS via ADC3 input)

Relevant schematic section:

image

urish avatar Jan 21 '23 15:01 urish

This feature has been getting a large number of votes recently, so I ordered a Pi Pico W to prepare for implementation.

urish avatar Mar 27 '23 08:03 urish

Found a blog post with tons of useful information: https://iosoft.blog/2022/12/06/picowi/

urish avatar Mar 29 '23 09:03 urish

Initial implementation of the Pi Pico W is live on Wokwi!

Here are some examples:

documentation and more information coming over the next few weeks.

urish avatar Apr 06 '23 18:04 urish

Just curious, would the Wokwi team consider implementing a CircuitPython version for the RPi Pico W? Since there is already a CircuitPython version for the Pico.

d3lta-v avatar May 08 '23 03:05 d3lta-v

@d3lta-v not a priority for the first release. We aim for Pico SDK and micropython compatibility, since they are both officially supported by the Pi foundation, and Arduino compatibility since Arduino is the most popular platform on Wokwi.

urish avatar May 14 '23 08:05 urish

Could you please have a look into connecting a Pico W to a NTP time server using MicroPython:

import ntptime ntptime.host = "pool.ntp.org" ntptime.settime()

PPATSSAR avatar Jul 24 '23 11:07 PPATSSAR

After some testing with the Pico-W beta board I and Koepel (discord user) has found out that it's currently unable to connect to WiFi when test example is re-compiled meaning only the pre-compiled test example works as of now.

The current testing has included the following steps.

  1. Make a project from scratch with the pico-w beta template, including as well as excluding the cw43 attribute for the board
  2. Modifying the existing WiFi example

Frowsty avatar Sep 19 '23 17:09 Frowsty