Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Raspberry Pi Pico W #466

Open
RakibRyan opened this issue Nov 30, 2022 · 9 comments
Open

Add Raspberry Pi Pico W #466

RakibRyan opened this issue Nov 30, 2022 · 9 comments
Assignees
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features

Comments

@RakibRyan
Copy link

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 RakibRyan added the enhancement New feature or request label Nov 30, 2022
@urish urish changed the title add pi pico w Add Raspberry Pi Pico W Nov 30, 2022
@urish urish added the open for vote Vote at https://wokwi.com/features label Nov 30, 2022
@urish
Copy link
Contributor

urish commented Nov 30, 2022

Thanks! Opened this request for voting

@urish
Copy link
Contributor

urish commented Jan 21, 2023

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
Copy link
Contributor

urish commented Mar 27, 2023

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

@urish
Copy link
Contributor

urish commented Mar 29, 2023

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

@urish urish self-assigned this Mar 30, 2023
urish added a commit to wokwi/wokwi-builders that referenced this issue Mar 30, 2023
@urish
Copy link
Contributor

urish commented Apr 6, 2023

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.

@d3lta-v
Copy link

d3lta-v commented May 8, 2023

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.

@urish
Copy link
Contributor

urish commented May 14, 2023

@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.

@PPATSSAR
Copy link

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()

@Frowsty
Copy link

Frowsty commented Sep 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request open for vote Vote at https://wokwi.com/features
Projects
None yet
Development

No branches or pull requests

5 participants