Raspberry Pi RP2040: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
I | I have a couple plain Pico boards, | ||
an Adafruit Feather Pico, and | |||
I | I have a Wiznet EVB (a hat for a Pico) and a WS5100S which is the Pico and ethernet on one board. | ||
One intended project is as a power management controller in a ham radio repeater site. | |||
I tried micropython but integration with VSCode is pretty poor. Now I am trying circuitpython. | |||
== Power management == | |||
I want to define an API and talk to it exclusively via MQTT pub/sub messages. | |||
* Track the Ubiquiti link, and reset the link if the remote sites go offline. Can the UBNT do that on its own? | * Track the Ubiquiti link, and reset the link if the remote sites go offline. Can the UBNT do that on its own? | ||
Line 24: | Line 22: | ||
The "other components" under control include a FlexRadio and a Windows computer. | The "other components" under control include a FlexRadio and a Windows computer. | ||
Incidentally -- Intel NUC | Incidentally -- both the full Raspberry Pi and the Intel NUC have built in hardware WDT. | ||
Power - Need a regulated clean supply to feed it 3v3 from 12v power. | Power - Need a regulated clean supply to feed it 3v3 from 12v power. | ||
== Resources == | == Resources == | ||
Line 46: | Line 44: | ||
Wiznet did a WiFi + Pico EVB, too, but I can't find it for sale anywhere. | Wiznet did a WiFi + Pico EVB, too, but I can't find it for sale anywhere. | ||
https://github.com/Wiznet/WizFi360-EVB-Pico-C/blob/main/getting_started.md | https://github.com/Wiznet/WizFi360-EVB-Pico-C/blob/main/getting_started.md | ||
The CircuitPython page for the Wiznet Pico is here https://circuitpython.org/board/wiznet_w5100s_evb_pico/ |
Revision as of 19:01, 25 September 2022
I have a couple plain Pico boards, an Adafruit Feather Pico, and I have a Wiznet EVB (a hat for a Pico) and a WS5100S which is the Pico and ethernet on one board.
One intended project is as a power management controller in a ham radio repeater site.
I tried micropython but integration with VSCode is pretty poor. Now I am trying circuitpython.
Power management
I want to define an API and talk to it exclusively via MQTT pub/sub messages.
- Track the Ubiquiti link, and reset the link if the remote sites go offline. Can the UBNT do that on its own?
- Bring up power to the other components and shut down when not needed to save power.
- Real time clock calibrated via SNTP
- Use hardware WDT to reset the Pico if it gets stuck.
- Monitor a UPS over the USB port.
- Monitor and reset the onboard ethernet hardware if it gets stuck.
- Configure IP settings in flash. Initial address is 192.168.100.1.
- OTA flash updates
The "other components" under control include a FlexRadio and a Windows computer. Incidentally -- both the full Raspberry Pi and the Intel NUC have built in hardware WDT.
Power - Need a regulated clean supply to feed it 3v3 from 12v power.
Resources
Pico
Python
CircuitPython -- make sure you download the Feather version, the Rpi Pico version does not work. Adafruit recommends you use the latest image, not the stable one.
Micropython
Wiznet
Wiznet did a WiFi + Pico EVB, too, but I can't find it for sale anywhere. https://github.com/Wiznet/WizFi360-EVB-Pico-C/blob/main/getting_started.md
The CircuitPython page for the Wiznet Pico is here https://circuitpython.org/board/wiznet_w5100s_evb_pico/