TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Raspberry Pi (Linux) vs. ESP (RTOS) for IoT Use Cases

1 pointsby michidkabout 3 years ago
I want to connect a local system to the Cloud using an extra device like an ESP or Raspberry Pi. What would you prefer? Embedded RTOS (running on the ESP32) or a full GOS like Alpine Linux(running on the Pi 4)? It only has to handle some UART reading, a bit of string modification and a MQTT connection to the cloud. Honestly I don't think I need a full blown GOS for that. It also would make the system more complicated and increase the fault surface. Am I missing some points?

1 comment

drpixieabout 3 years ago
I&#x27;d be looking at microPython on an ESP - programming is simple; you get easy access to the GPIO&#x2F;UART&#x2F;etc; there are MQTT libraries; and the software &amp; platform will be stable. What&#x27;s not to like?<p>If you go for the Linux&#x2F;Raspberry option, the coding will be of similar difficulty (perhaps a fraction easier). But Linux &#x2F; RaspberryPiOS puts you on the never-ending upgrade and security path. There&#x27;s not much in the way of attach surface on an ESP, but a Pi needs more thought. Especially as (over time) the little Pi is likely to acquire more complex apps ... a web front-end would be tempting :) ... but then you have to upgrade a webserver, and keep all the libraries up-to-date...<p>Keep it simple.
评论 #30426159 未加载