you possibly come from
here
about a project:
ARDUINO IDE / PICO W / WEBSERVER / MQTT NO TLS / NodeRed trend & DB & operation / 4 Relay board /
where i also try same code on the
ESP32S3now ordered the
PICO 2 W
from RPI
Arduino was installed for the PICO W so nothing to do here ( you might need a update? )
possibly read
install_pico 2
and first try it with
Arduino IDE 2
while this week there was news about
RPI PICO get a speed boost by changing the spec to 200MHz ( from 133MHz )
i now wonder ? how about PICO 2 ( still 150MHz )? try overclock 200MHz too.
usual
1Mloop
board: Raspberry Pi Pico 2W
port: change after first upload COM11
cpu speed ( change for following tests )
so i see
1 Mloop only, 150MHz ( default )
___ loop1M dt : 0.40
1 Mloop only, 200MHz ( overclocking )
___ loop1M dt : 0.29
1 Mloop, 1sec, Nsec, 1min, 150MHz ( default )
___ loop1M dt : 0.82
1 Mloop, 1sec, Nsec, 1min, 200MHz ( overclocking )
___ loop1M dt : 0.60
here on PICOW2 test a different webserver:
BearSSL_Server.ino from examples
add wifi details
upload
open browser
get asked / accept security risk about " self signed certs "

pls see the https:
found something i did not know,
can use both cores
| Files | Examples | RP2040 | MultiCore |
loaded in PICO 2 works.
void setup() {
}
void loop() {
}
// Running on core1
void setup1() {
}
void loop1() {
}
my latest project
here ( PICO || ESP32S3 )
i try to load now:
setup fix IP .217 and MQTT TOPIC use "D217"
( as PICO and ESP32S3 are online / even on remote MQTT )
using a new compiler switch in secrets.h
#define usePICOW2
all works, ( not the remote HIVMQ copy as that requires coding )
but
ESP32S3 cpu temp 32degC (240MHz)
PICO W cpu temp 36degC (133MHz)
PICO 2W cpu temp 42degC (150MHz)
( possibly should also check the 3v3 on both PICO as the accuracy of the temp measurement depends much on that value )
but i also feel like
the WIFI ?chip? is hotter on the PICO 2W
sorry, not have a IR camera
now while that some coding
so i can load PICO W / PICO 2W / ESP32S3 just with a '//' at the #define usePICOW2
it is for a real project unpractical, like there you might have 3 PICO W
and need a very different compiler switch structure
put that code also into big project
ESP32S3
combined code v2.0.0
PICO_ESP_ArduinoIDE_WEBSERVER_MQTT_NR_2.0.ZIP
PICO2_ESP_WIFI_MQTT_WEBPAGE
Arduino project
anyhow i stop here with that bigger project and use the PICO 2W
for more basic PLAY..
?how can use that other 2 CPUs? Hazard3/RISC-V processors?
https://www.cnx-software.com/2024/08/31/using-risc-v-cores-on-the-raspberry-pi-pico-2-board-and-rp2350-mcu-from-blinking-an-led-to-building-linux/
NOT FOR ME!
but oh
Firmware (RISC-V CPU mode)
https://micropython.org/download/RPI_PICO2/
v1.25.0-preview.336.g69ffd2aaf (2025-02-28) .uf2
https://www.xda-developers.com/how-to-install-micropython-risc-v-cores-raspberry-pi-pico-2/
( might do later when i play MicroPython anyhow )
for like work with breadboard need PINs
but i not order (H version)
as i want use other PINs like
https://www.adafruit.com/product/5582
means even without breadboard can connect female (at bottom) and male (at top) jumper wires
want recheck on my
PICO PMS1W
Poor Man Scope 1 channel Wifi webserver
button and wait timer in array reading
depend little bit on board / speed ..
// PICO W 133MHz
//int delays[] = {0,4,14,90,200,900};
// PICO 2W 150MHz
//int delays[] = {0,5,15,90,200,900};
// PICO 2W 200MHz
int delays[] = {0,7,16,90,200,900}; // max 275387 Hz
here i not dig into high speed sampling,
it is more about a HMI concept.
for the test signal 1kHz pin21 GP16 there is a old PWM code used,
PWM_Instance = new RP2040_PWM(pinToUse, 1000, 50);
PWM_Instance->setPWM(pinToUse, 1000, 50);
possibly today there is a integrated tool?
RP2040_PWM also old?
need check:
analogWriteFreq(1000);
analogWriteRange(65535);
analogWriteResolution(16);
analogWrite(16,32768);
OK
PICO 2W on Arduino IDE 2.3.4
+++ PICO W TestPWM: on GP16 pin 21 use as PWM 'analog' out, use jumper back to OSCI ADC0 pin 31
www Connected to XXSSID
www IP address: 192.168.1.222
www Waiting for NTP time sync: .......
www Current time: GMT Sun Mar 2 03:17:12 2025
www HTTP server started on http://192.168.1.222:2222
? does your OSCI have a 52" screen ? LOL
hm, how to make a HTML inline SVG responsive?
you see the yellow jumper-wire for the integrated test signal?
to be sure that i measure same internaPWM DOUT
just over a 10k 10k voltage divider ON A BREADBOARD
and that while my PICO2W board has no header pins.
much better would be to have a signal source ok i see what i can do:
like a few hours sidestep with a old
ESP32
and wire
the red 5V power-wire need when only connect ONE charger
the signal needs anyhow signal and GND ( best actually about EMI would be twisted wires )
UNLESS lazy you connect both to same PC ( common ground should be OK ) so only need ONE WIRE ( not recommended )
and show both webpages
OSCI and SignalGenerator
but my sin math sucks