‹ BackHN Continuity

Thread

The newest ESP32 can run Linux and it's getting close to a Raspberry Pi

237 points · 123 comments · adunk

  1. jameshart · · focus · HN ↗
    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.
    1. philipallstar · · focus · HN ↗
      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.
      1. the__alchemist · · focus · HN ↗
        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.

        1. _fizz_buzz_ · · focus · HN ↗
          I think their point was more: is an ESP32 more like a arduino (or any other MCU) running bare metal or some thine RTOS or more like a raspberry pi which is more like a mini computer running a full fledged Linux. And I guess the answer it kind of always sat in between a little bit and now the family kind of spreads out across this whole spectrum.
          1. BadBadJellyBean · · focus · HN ↗
            > is an ESP32 more like a arduino (or any other MCU) running bare metal or some thine RTOS or more like a raspberry pi which is more like a mini computer running a full fledged Linux

            Espressif's answer: yes

          2. bradfa · · focus · HN ↗
            Arduino have muddied this water now, too, as some newer ones come with a full fledged Qualcomm SOC, multiple GB of RAM, and power consumption which requires quite a beefy heatsink.
          3. jameshart · · focus · HN ↗
            To date ESP32s have been best thought of as arduino-like things, albeit with some fancy hardware available like WiFi and Bluetooth stacks. But very much microcontroller boards where you compile firmware and push it to the board over USB.
            1. pseudohadamard · · focus · HN ↗
              You can actually do an awful lot of stuff with an ESP32, which often comes as a surprise to people who think you need a full Linux system just to turn a light on and off. For example Goodwe solar inverters/controllers are controlled by ESP32s and do a great job while Enphase controllers use Linux SBCs and are flaky, bug-riddled garbage.
              1. pjmlp · · focus · HN ↗
                People still have no idea that ESP32 is much better than most MS-DOS PCs we had at the time, no need for Linux.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.