159 points · by _Microft · 3y ago · 57 comments
However I don't quite see the Bluetooth use case - RP2040 is not really a low power chip, making it pretty hard to use for a battery-powered IoT application. You'd need a pretty giant battery pack to make it last a long time.
Nordic's nrf52 is an order of magnitude better for a typical "sleep-burst transmit-sleep" cycle, and can be suspended to <5uA current. Pico W is $6, Seeed has a $10 nrf52 MCU, or you could get a "just hook up USB and power" bare module for $5-6.
Completely right on the power consumption though. The NRF52 is also quite good at limiting power consumption while it's running and automatically disabling peripherals while not used (you typically do that with disabling clocks on other chips). It also has the sanest hardware registers I've seen (looks like they were actually designed with software in mind).
I can also imagine applications where the device has wall power but you want to connect to it with a phone. Like a piece of wall art you want to be able to turn on and off remotely.
I used an accelerometer. Just a funny UI idea, flip it upright to jiggle the mouse.
I used a different board of course, although you could add an generic accelerometer to a Pico W pretty easily.
https://github.com/bluekitchen/btstack/tree/master/example/h...
https://www.amazon.com/Switch-Extension-Upgraded-Strips-Syst...
This chip sells for $8.45 which is ridiculously high for what it offers[1].
The price of $0.80 per chip non-W is impressively low however, I'll admit. [2] But once you throw shipping and other costs in, how much will it actually cost?
The Pi Zero 2 W at $15 is far far better than this chip. [3]
[1] https://www.pishop.ca/product/raspberry-pi-pico-w/
[2] https://www.raspberrypi.com/news/raspberry-pi-direct-buy-rp2...
[3] https://www.microcenter.com/product/486575/raspberry-pi-zero...
Absolutely no offence, but I think you are absolutely, 100% missing the point of microcontrollers, like by a nautical mile. It's the kind of chip that you'd have inside a humidifier and it controls the fan turning on or off depending on the read from the humidity sensor. It absolutely doesn't need to run a full OS, and in fact it would be a detriment to it and its abilities.
I have several Pico Ws around the house acting as sensor boards and I wouldn't replace them with Zero Ws even if they were free - it's just a worse board for that kind of job.
My problem is the price point. At that price point, you can get a full power chip. The Pico W should be selling for $0.90 so, if it were to be good value.
DOS-like OS is also possible... RetroBSD creator is apparently looking into it: https://vak.dreamwidth.org/982612.html
> Bluetooth Support for Pico W (BETA) The support is currently available as a beta. More details will be forthcoming with the actual release. In the meantime, there are examples in pico-examples.
From https://github.com/bluekitchen/btstack
| BTstack is free for non-commercial use. However, for commercial use, tell us a bit about your project to get a quote.
"It will be licensed by us for more permissive use on RP2040 (like cyw43-driver)"
RF in general is pretty closed. Last I heard the ESP low level drivers for wifi and BT were closed source (but that was a few years back). There is a lot of resistance to opening RF, partly to please incumbents but partly because of concerns that completely open RF would cause a radio spectrum "tragedy of the commons" - BT and wifi protocols need each tranceiver to behave in order to share the spectrum, if people could easily tweak it, people could easily take the spectrum at the expense of their neighbours. (for example, see https://fsfe.org/activities/radiodirective/radiodirective.en...)
That almost ended the sale of openwrt (or other open firmware) compatible wifi routers in the US. The compromise that was reached was that radio firmware would be signed blobs that would not be user modifiable, but that everything else could be modifiable while retaining the FCC certification.
I sure wish we could teach no tricks to the very capable RF hardware in many things. But things like the FCC and NDA's from IP vendors make that hard.
This is not true. FCC equipment approvals have both a frequency range and power level. What the FCC tried to clarify is that devices should not be able to be "easily modified" to operate outside of these approved parameters, which has always been true since way before radios had anything that could be considered software or firmware. For example, it would be against the rules to sell a radio certified for 1W power output that had a 5W power amplifier inside that could be enabled by removing a screw or something.
Firmware modification, in general, is not against FCC rules. For example, new firmware that lowered maximum power would be permissible (or firmware changes that did not affect the emissions of the device at all).
Here is the specific document from the FCC: https://s3.documentcloud.org/documents/2339685/fcc-software-...
I'd like to see them using that clout to get (more) open hardware.
Protecting against tragedy of the commons through obscurity? Seems misguided. You could make the same claims about software, or SDR. And it isn't As if the Pico is high powered...
I've tested it myself and it works great. Plus async Rust on embedded is nice.