Live data from Hacker News

Unpopular Opinion: Don’t Use a Raspberry Pi for That

set-inform.com

171–180 of 270 posts

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#171
I am getting access denied from India.

“You do not have access to set-inform.com. The site owner may have set restrictions that prevent you from accessing the site.”

I got an error when visiting set-inform.com/2021/08/24/unpopular-opinion-dont-use-a-raspberry-pi-for-that/. Error code: 1020 Ray ID: 7ac01a0f4d06415e Country: IN Data center: bom06 IP: 49.37.133.177 Timestamp: 2023-03-22 17:19:49 UTC

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#172

> You do not have access to set-inform.com. The site owner may have set restrictions that prevent you from accessing the site. Anyone else get this?

I do. I'm in Turkey right now.

Guess they want the opinion stay unpopular after all shrug

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#173
post #10

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.

I've been playing with home automation and I agree. This guy is creating a mini AWS at his place while I am using a small Pi to run my Lua server[1] that takes less than 2MB of RAM and can run even on a microcontroller.... if anything the Pi is totally overkill already, but it's nice to be on GNU/Linux and have access to so many utilities, even a browser.

[1] https://realtimelogic.com/ba/doc/

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#175

I typically see two kinds of raspi hate, and only one of them is reasonable imo. The first is stuff like this article, where you can probably get something better than a raspi these days for about the same price (especially when you consider scalper pricing) or just run a docker image in a server you can make with an old computer. This is very good advice, especially now that getting a raspi at MSRP is borderline imp…

I suppose it depends on your background and goals. Most non-techies I've worked with find it easier to learn Arduino than an entire Linux stack.

On the other-hand, if you have existing software that you want to move over to a small system, then a platform with a widely supported OS is going to be easier.

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#176
post #42

Earlier quoted context omitted.

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.

The thing that tripped me up the most was concurrent tasks. In languages like Go or JavaScript it’s pretty easy to figure out how to decrement a timer or wait until x time to perform a task without having the waiting period be blocking. On an arduino, you have a few options but none of them are likely to be familiar to high level software devs. It isn’t rocket science, but there are loads of little details like that…

Realistically you will need to use an RTOS for threads and scheduling on a micro.

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#177

I typically see two kinds of raspi hate, and only one of them is reasonable imo. The first is stuff like this article, where you can probably get something better than a raspi these days for about the same price (especially when you consider scalper pricing) or just run a docker image in a server you can make with an old computer. This is very good advice, especially now that getting a raspi at MSRP is borderline imp…

EE here: micros are cheaper than 555s and discrete lol. Not many bother with them when we can toss a micro in for pennies. I agree with the sentiment tho that this whole argument sounds like when programmers bash others for not using REAL programming languages like C! Python is overkill why don’t you write this in assembly!?

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#178

I am getting access denied from India. “You do not have access to set-inform.com. The site owner may have set restrictions that prevent you from accessing the site.” I got an error when visiting set-inform.com/2021/08/24/unpopular-opinion-dont-use-a-raspberry-pi-for-that/. Error code: 1020 Ray ID: 7ac01a0f4d06415e Country: IN Data center: bom06 IP: 49.37.133.177 Timestamp: 2023-03-22 17:19:49 UTC

They are also blocking my Hong Kong IP

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#179

Earlier quoted context omitted.

> I pay for the electricity solely with home solar, so the ~400w idle isn't a financial concern. Maybe not a financial concern but probably an environmental one. Yearly that is 3.5 MWh that could be used to de-carbonate the grid instead.

Arguably in the winter that 400W is also helping heat their house, and depending on what type of furnace they use, may be reducing some of their dependency on natural gas.

Unfortunately that is similarly offset by the extra need to cool in warmer weather. Though it's interesting to think about given you have to factor in different system efficiencies for different power and heat/cool types as well as climate. Figuring out where the balance actually lies is gonna be different for everybody.

Re: Unpopular Opinion: Don’t Use a Raspberry Pi for That

#180
post #179

Earlier quoted context omitted.

Arguably in the winter that 400W is also helping heat their house, and depending on what type of furnace they use, may be reducing some of their dependency on natural gas.

Unfortunately that is similarly offset by the extra need to cool in warmer weather. Though it's interesting to think about given you have to factor in different system efficiencies for different power and heat/cool types as well as climate. Figuring out where the balance actually lies is gonna be different for everybody.

Ah, but if their cooling is electric, and hence in their case, solar, and their heat is natural gas, this is still better. =)

That being said, it's entirely possible for someone who has a solar set up to also have switched to electric heat, it's just pretty uncommon in northern climates still.

Generally though, yeah, I prefer NUCs and the like over servers for home use for power and noise constraints.

Post reply on HN