ES version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
89% Positive
Analyzed from 1250 words in the discussion.
Trending Topics
#home#mcu#run#using#https#com#power#more#xip#applications

Discussion (46 Comments)Read Original on HackerNews
Espressif's port use 6.18 due to this exact reason. There's also another port, using 7.1, not sure if it supports XIP.
https://www.phoronix.com/news/RISC-V-XIP-Being-Removed
XIP is almost essential for these low-RAM devices. You can run Linux with 8 MB RAM with reasonable functionality.
Stated another way: An MCU, like the ESP32, is a tiny computer, sans the hardware you physically interface with it.
The computing power, and memory is much lower than your desktop or laptop PC (or mobile phone), but if you are using it to run a dedicated task, instead of using a big OS like Linux or Windows, it can complete the tasks really fast (often microseconds) and with minimal power use. This is because it's easy to program to do exactly what you need, with nothing competing for the hardware.
A note on ESP in particular compared to other MCUs: It's one of the only (Or was?) options which has Wi-Fi integrated into the MCU itself. It's a good default if you want that.
Indeed. The closest direct competitor is likely the Nordic nRF52840, which does bluetooth + thread, but can't talk actual wifi
They're generally intended to run flashed firmware and be single-purpose. They usually come bundled with peripheral components and typically have breakouts to add more (pots, sensors, etc).
They're great for doing one thing (though some support firmware switching), and you can build the 'software' for them pretty easily using Python or C-like variants.
So for hobbyists they're perfect. You want a quick LED christmas display you can toggle between Rudolph and Santa from a quick network call? You want a humidity sensor in your bedroom? You want to create a networked security camera? These are the types of use cases for MCUs.
Absolutely mind blowing. What a fun time to do side projects.
If you want a web API for something in the physical world, make ESP32 do it.
(Although xda-developers forum isn't exactly a great place for technical discussions either. Not following standard software engineering practice and instead using forum posts to track bugs and announce releases in 2020s is beyond me.)
I'm sorry to be asking this, but what is that supposed to mean?
Smart homes are dumb unless you are presence aware. Looking at your phone to do a thing is just moving a light switch to your hand.
The Who is — does the automation make sense for one or many people. If two people are in a room what happens? If one person leaves what happens?
Esp32’s are pivotal in actually making a smart home predict what you want making the home more of a friend, “get on up there Peter Townsend.”
https://github.com/foky26/Retro-Gamer
https://github.com/EremusOne/ESPectrum
https://github.com/hchunhui/tiny386
New chips like the one in the article should be even more capable. 486 won’t be out of reach for long.
One of the big problems has been handling peripheral emulation, multiple controllers, etc. USB plus the other cores should help with this.
Most embedded stuff doesn't need that much power.
That is how we end up with Electron.