I often end up giving the opposite unpopular opinion: RPis are overkill for a lot of DIY IoT uses. Want to have something that opens your curtains or flashes some RGB lights in your hallway or whatever? Pick yourself up an Arduino / ESP32 with built-in WiFi, often an Ethernet port, tons of GPIO. It consumes milliwatts of power, boots in under a second, and is cheap enough to be disposable.
Shhhh stop spilling our secret to the software people... The semiconductor shortage is bad enough already... That said though, programming embedded devices like Arduino and ESP32 needs a completely different style of thinking than with high level languages or web stuff. Things like MicroPython reduces the friction just a bit to make it easy enough to get on board.
Unpopular Opinion: Don’t Use a Raspberry Pi for That
111–120 of 270 posts
Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#112Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#113Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#114Yeah, there's things I want to move to more powerful hardware. But it's a step up: it's more expensive, more setup, a more persistent system (even if everything's in containers). I wouldn't steer people away from using Pis based on that tradeoff, they still have a high ceiling for what they can do and when you do bump into that ceiling it's much easier to justify spending 10-100x for the right hardware. It took me 7 years of tinkering to hit that ceiling with my projects, I don't regret staying on Pis for so long.
Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#115Earlier quoted context omitted.
> I know that you didn't ask, but my $0.02 is that yes, RasPi's are unreliable. I've been using RPis and "clones" for internal services for years, and there's hardly any fuzz with them at all. At most a power cycle once a year. They've endured house losing power multiple times, I've yet to swap SD-card on any of them, they just keep chugging. But sure, I wouldn't trust my life to one. I just find it odd that people s…
Happy that yours works well. Many problems don't show up until you hit larger numbers. We deployed over 1k RasPi's for a particular customer. We averaged about five reboots per day. On top of that I had to deal with the RasPi Organization's insistence that they were not an ODM. Though these were the RasPi B's and RasPi2 B+'s. I'm sure the reliability has gotten better over the years. I'm not a big TI fan, but everyth…
Is that the proper tool for the job?? I just read an article saying "Unpopular Opinion: Don't Use a Raspberry Pi for That" (https://news.ycombinator.com/item?id=35260322)
Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#116I've been pricing out small systems recently for a light weight server at home (to use in part with a weather station). Given the lack of availability/expense of RPi 4s and the expense of a decent NUC, I'm leaning in the direction of an M2 Mac Mini, which has better idle power than AMD64 options, and not much worse than an RPi 4.
Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#117Earlier quoted context omitted.
> very easy thanks to having an OS with NTP and cron. An ESP32 can still have both of those things in some capacity. https://randomnerdtutorials.com/esp32-ntp-client-date-time-a... https://github.com/DavidMora/esp_cron
The point the GP made was that timing issues weren't a real problem on the rpi thanks to the tools mentioned.
MCU interrupt latency can be extremely deterministic. I ran some measurements for work and found Linux to be adequate for many uses, but it is a valid concern. There are some Linux kernel patches like PREEMPT_RT that attempt to bound Linux latencies, but generally MCUs are a lot better suited if latency is critical. In part because they just have less software running on them to interfere with timing.
Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#118Earlier quoted context omitted.
The point the GP made was that timing issues weren't a real problem on the rpi thanks to the tools mentioned.
There are different kinds of timing issues. There's knowing the time, which you can do with something like NTP. That the RPI can manage just fine. And there's acting with precise timing, eg, if you need to control a mechanism and reliably react on a deadline of a few ms. A RPI doesn't perform well there, which is why 3D printers use microcontrollers instead.
Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#119Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That
#120I know that you didn't ask, but my $0.02 is that yes, RasPi's are unreliable. If you use one for as an unattended remote server, it will do you well to include a hardware watchdog that power cycles the device after it hangs. But modern NUCs seem to take MINUTES to boot the BIOS. I had been using various BeagleBones and found them more reliable than RasPi's and faster to boot than the NUCs in the office. But depending…
> I know that you didn't ask, but my $0.02 is that yes, RasPi's are unreliable. I've been using RPis and "clones" for internal services for years, and there's hardly any fuzz with them at all. At most a power cycle once a year. They've endured house losing power multiple times, I've yet to swap SD-card on any of them, they just keep chugging. But sure, I wouldn't trust my life to one. I just find it odd that people s…