Posted: 04:46pm 08 Jul 2026
Copy link to clipboard |
xardomain Newbie

|
|
|
Hi, I got the boards now (six!), time to try to make them work together.
I would like to know:
1) How to differentiate between MCUs, like acquiring the MAC address. The same program will be flashed on 6 pico, but only one will be the controller so I detect its specific MAC and behave differently from the others. The others are all equal with the same connections but the controller will have to be always the same, it is wired differently.
Apparently I can't detect the current MAC address from Webmite.
2) I see that on boot there is an ID displayed(PICO5FF0ED8XXXX), same as before. How to get access to it(supposed it is unique of course)?
3) Netmask and broadcast address I would like to dynamically acquire these parameter in the program, I don't know how. Searched for it, I was unable to do it.
4) Manual wifi configuration: I am okay with the DHCP but I need to somewhat "order" the nodes, and assign a different parameter (a different delay offset) to each one. Again with the MAC address I could sort them in ascending order, or something similar. The IP address could be used too but probably with the MAC address is easier. Still, would it be possible to "force" a specific IP address?
5) After powering on, the wifi connection fails: > 17:00:12 Port: COM6 removed Disconnected 17:00:16 Port: COM6 inserted Connected to COM6 at 115200 PICO5FF0ED861FD connecting to WiFi... failed to connect. Initializing...
If I press the RESET subsequently it always connect.
Is there any way to correct this behavior? My fix was trying to reset with the command CPU RESTART until I don't get an IP:
IF IP$ = "0.0.0.0" then 'WATCHDOG 1000 ' arm a 1-second watchdog 'DO : LOOP ' do nothing — let it expire and force a restart PRINT "Wifi initialized failed. Retrying..." PAUSE 500 cpu restart endif
I was hoping to avoid the double boot process.
Thanks.
Giuseppe Marullo IW2JWW - JN45RQ |