5 ms·
A Raspberry Pi Pico W is a microcontroller (no operating system) that incorporates Wifi. The way it works is you write a program that runs in a loop and talks t
by doctor_eval 4y ago
A Raspberry Pi Pico W is a microcontroller (no operating system) that incorporates Wifi. The way it works is you write a program that runs in a loop and talks to the GPIO ports or whatever. It's incredibly simple and it all runs from flash, so no operating system or anything else needed. They cost less than AUD 10 (about 7 US-bucks)
https://raspberry.piaustralia.com.au/products/raspberry-pi-pico-w https://raspberry.piaustralia.com.au/products/raspberry-pi-p...
Since I am a Go developer, I like using TinyGo with these type of boards, which means I get concurrency (goroutines) as well, although sadly Tinygo doesn't yet support the Wifi module. However, I've used other boards with Wifi, and once you're connected to WiFi you can poll APIs and do anything else you do on the internet. No OS required!
As an example of a complete, stand-alone program, I wrote a digital clock in TinyGo. (https://github.com/doctor-eval/clocky https://github.com/doctor-eval/clocky) - you plug the Pico into a 7-segment display and it operates just like an old school digital clock.
Sadly it can't (yet) connect to the internet due to missing wifi support in Tinygo, and it's running on a pre-W Pico, but you get the idea.