Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

89% Positive

Analyzed from 1256 words in the discussion.

Trending Topics

#home#mcu#run#power#using#more#https#com#boards#bit

Discussion (47 Comments)Read Original on HackerNews

jameshartabout 2 hours ago
The range of difference in capabilities of different boards branded ESP32 is getting larger. Makes it tricky to figure out when someone says ‘you can run this on an ESP32’ what level of hardware investment is required.
philipallstarabout 2 hours ago
I am really struggling to understand what ESP32 is. I've got into adjacent things a bit recently, but haven't figured that one out yet.
the__alchemistabout 1 hour ago
It's a family of microcontrollers by Espressif. A microcontroller (MCU) is a type of integrated circuit (IC: physical appearance: Black rectangle of epoxy with exposed metal tabs). It has, in the same IC, a CPU, RAM, non-volatile FLASH memory, and a collection of peripherals which vary depending on the MCU. These usually include I/O protocols, ADCs, DACs, DMA controllers, math processors etc.

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.

swiftcoder31 minutes ago
> I'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

nkozyraabout 2 hours ago
They're all just single board computers, generally low-powered (literally and in the sense of capability, particularly memory)

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.

atonseabout 1 hour ago
BTW, I was just researching this last week (the christmas display) and ESP32 has a matter compatible chip now... so you an control all this from Apple Home and the other Smart Home platforms.

Absolutely mind blowing. What a fun time to do side projects.

ckocagilabout 1 hour ago
They're not single board computers. They're microcontrollers. Or rather they were until this new chip was introduced.
m00dyabout 2 hours ago
you can also use Rust.
pornel38 minutes ago
ESP32 boards are small and cheap adapters between Wifi (network APIs) and I/O pins for small electronics like LEDs and relays.

If you want a web API for something in the physical world, make ESP32 do it.

ThrowawayTestr35 minutes ago
I use an esp8266 to control a relay attached to a lava lamp. Every 5 minutes it pings an NTP server and closes the relay if it's the evening.
ckocagilabout 1 hour ago
Originally it was the more capable successor to ESP8266, the super cheap chip containing a high speed core with wifi and an IP stack. At one point it powered a huge chunk of all smart devices on the market. Then the original ESP32 was introduced as the successor, with BLE and two cores which were even faster. That made it a very capable chip for tasks demanding compute. After the original ESP32 they decided to add variety and make a whole "ESP32 family" and yes there's quite a lot of variety these days. Even the ISA and cores changed.
ValdikSS8 minutes ago
Too bad Linux has removed Execute-in-place (XIP) support for RISC-V since 7.1. It allows to run the kernel (and applications) from NOR flash directly, without copying it into RAM first. Somebody should reintroduce it.

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.

mstaoruabout 3 hours ago
Ah, the Lord Giveth and the Lord Taketh Away. P4 didn't have enough raw speed for camera applications but had MIPI CSI, S31 has enough raw speed but no CSI.
daemonologistabout 2 hours ago
My reaction precisely when I first heard the specs for this thing. Espressif works in mysterious ways.
monocasaabout 2 hours ago
I imagine that most of these (like almost all embedded chips) are designed primarily for some specific customer or two, and then they dump them on the market generally on the off chance someone else wants them too now that they're essentially capitalized.
lopper4about 2 hours ago
What about the P4's "raw speed" is lacking for camera applications (vs S31)?
mstaoruabout 1 hour ago
I'm wrong actually about S31. The cores are actually lower clocked than P4. And somehow I thought S31 is 250 MHz 16-bit DDR PSRAM but it's 8-bit only. So if you have an uncompressed video stream over CSI, there's just nowhere to buffer it.
hwhabout 2 hours ago
The article seems to confuse the MCU and some sort of undisclosed SBC for the MCU. Well, it’s starting to do this in the headline.
fg137about 2 hours ago
That why I don't read the news part of xda-developers. Their staff seem to make a lot of basic technical errors despite what xda-developers is known for.

(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.)

m00dyabout 1 hour ago
I would never touch anything from there. I do not get how people just flash random binaries to their phones without verifying anything. It is basically asking for malware.
jgbuddy24 minutes ago
Good. Raspberry pi foundation thinks making $200 computers is progress, hope they get their lunch eaten
tehwebguy14 minutes ago
Article doesn't mention what Pi they are comparing to but it's clearly not a $200 one lmao
tdhz77about 2 hours ago
I have esp32’s in every room for tracking down The Who in home automation via home assistant and Bermuda. I soldered some headers for the first time and now I’m making custom pcb boards. I added a fog machine for my halloweeen decorations and I’m just having fun. I could see how a much powerful esp32 could eliminate the dozen have and allow to switch between the outlet and battery.
thedougdabout 2 hours ago
"Bermuda aims to let you track any bluetooth device, and have Home Assistant tell you where in your house that device is."
ThePowerOfFuetabout 2 hours ago
> I have esp32’s in every room for tracking down The Who in home automation via home assistant and Bermuda.

I'm sorry to be asking this, but what is that supposed to mean?

tdhz77about 2 hours ago
https://github.com/agittins/bermuda

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.”

jameshartabout 2 hours ago
Pete Townshend knows what he did.
mac3n43 minutes ago
it means they're Going Mobile. And they Won't Get Fooled Again.
burntpineappleabout 2 hours ago
"Who is going through this room" to power automations for that individual
rbanffyabout 4 hours ago
With all the capabilities, video and audio output, it might be an excellent platform for software emulation of older devices. There is plenty of GPIO that can be driven by the 40 MHz core while the other two work on nobler things.
iamnothereabout 3 hours ago
It is a great platform for this, considering the cost. There have been several decent ESP based emulators already, including many consoles, a ZX Spectrum emulator, and even a 386 emulator.

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.

abu-matterizeabout 1 hour ago
i used to serve esp32s31.fun, now building a zigbee/ble-mesh multi-protocol matter hub that can comfortably host 1000 bridged nodes.
pjmlpabout 1 hour ago
My Android phone is also much more beefy than all PC combined I owned between 1992 and 2003.

Most embedded stuff doesn't need that much power.

That is how we end up with Electron.

nromiun31 minutes ago
What is wrong with having options? Even the ESP32 family already have C line for low power applications. No need to project Electron into everything.
sidewndr46about 4 hours ago
It looks like this latest version has an actual MMU of sorts, so that should make many things possible.
Rohansiabout 3 hours ago
By "of sorts" you mean a full RISC-V 32-bit MMU (Sv32).
poisonborzabout 3 hours ago
Sorry for the staple "duh AI article" but the product would be interesting, XDA-Devs is an established name, and then reading chapter titles like "Peripherals already change how it looks" is appaling. Like, ok, you pump up the text with AI, but at least proofread that sentences make sense? At least the titles?
Advertisement
ruvie8812about 2 hours ago
Still only 2.4GHz wifi :-/
13171 minute ago
yeah only universal compatibility what a shame
tonymetabout 1 hour ago
small boards with small batteries are better off with one radio and one antenna.