Meet ESP32, New Big Brother to IoT Board ESP8266

Internet of Things Maker News Other Boards Technology
Meet ESP32, New Big Brother to IoT Board ESP8266
A prototype ESP32 board (Credit: Expressif Systems)
An internal prototype ESP32 board. Photo courtesy of Espressif Systems

The ESP8266 chip, and the boards based around it, have been the new hot new thing this past year. Overnight it became — almost by stealth — one of the leading platforms for the Internet of Things. This runaway success quickly gathered a community, and it’s possible Espressif Systems may repeat that next year with their new ESP32 chip.

About a month ago the makers of the ESP8266 started trailing their next product. But, beyond the letter to developers, there hasn’t been a lot of information available about the new chip.
https://twitter.com/EspressifSystem/status/662205725125414912/photo/1
However, the company recently released some documents concerning the ESP32 module, including schematics and PCB layout, and this week — with ESP32 boards arriving into the hands of beta testers — we’ve had our first peek at the pin out for the new module.

So with the beta testers now getting hands on with their boards, we sat down with Teo Swee Ann, the CEO of Espressif Systems, to talk about the breakout success of the ESP8266 and the new ESP32.

Your ESP8266 chip has been a breakout success, and a large maker community has formed around the board in a comparatively short space of time. Did you expect its success, or did it take you by surprise?

Of course we were taken by surprise, but deep down inside we were all hoping that something like this would happen. We did discuss within the company about this, for a relatively long time, before we got around to doing this. We did this, despite not having all the resources we needed in the first place, but we were glad that the community has mobilized in a very short period to time to make this right, and we are very grateful and appreciative of the many talents that contributed to the projects. 

The community has built a lot of tools, and toolchains, around the ESP8266. Did you consult with the people building them before undertaking development of the new ESP32?

The ESP8266 community has been sending a lot emails to us. We do try and satisfy all the demands or requirements of a good design. In a way, I found that the community is more proficient and erudite than commercial customers concerning tools and toolchains. 

The new chip will, in addition to WiFi, also handle Bluetooth — both classic and BLE. Will this be using the same radio, or is there separate architecture in place. In other words, will the chip be able to do WiFi and Bluetooth simultaneously? What are the power implications? Can BLE be separated from Bluetooth Classic to reduce power consumption?

The new chip shares the radio between Bluetooth and WiFi. We can have both BT and WiFi to coexist; I think this is the trend in the industry now, but we do see a couple of cases which bucks the trend. Yes, we could also turn off the classic Bluetooth. Apparently, WiFi P2P is a natural replacement for data streaming functions in the classic Bluetooth and BLE is a nice convenient feature to help setup connection to the smart phone.

The announcement advertised dual processor for the new ESP32 chip, and seemed to suggest that you could have a separate processor for your application, with the other handling the WiFi. Will you be able to send the processors into sleep mode independently and wake one from the other — say wake the application processor based on a WiFi event, or the processor handling the WiFi based on an application timer or event?

We are trying out a number of models. Basically, you can power down one of the cores, and generate interrupts for the CPUs, etc.

The announcement also discussed enchanced low power functionality, including ADC and computations, while in deep sleep. Can you talk a little about how that’s going to work?

What we have, is simply very fine resolution power control; many Zigbee and BLE chips have these features and we bring them this WiFi-BT/BLE chip. For the case of ADC or other peripherals such as touch, they are woken up periodically with very low duty cycles to lower their power consumption. 

The new ESP32 will have a much richer peripheral interface than the ESP8266, one obvious missing interface is USB. What was the reason for leaving it out? Was it technical, or strategic?

We just don’t see the need for USB in the post-PC world, when you could connect wirelessly! Besides, USB is a power hungry standard, and expensive to implement in silicon. In the next 10 years, we are probably going to see less and less of cables of any sort, and they will be replaced by wireless connectivity, and flash storage. 

One of the peripheral interfaces you did include was capacitance touch, could you talk a little about how that is going to be exposed at the API level to developers using the chip?

Basically, it’s now exposed in the API, and capacitive touch interface events generate interrupts for the CPU. 

There’s hardware acceleration for AES and SSL onboard the ESP32. Unquestionably going forward end-to-end encryption for the Internet of Things is going to be vital. How do you see the new chip fitting into that picture?

We hope to make security transparent and easy for people to use, like SSL for instance. Hardware acceleration is going to help with security, but it is not equivalent to security, if it’s not done right. We have looked at a lot of current implementations of security. 

You’ve talked about offering a bounty program for security on the ESP32, can you tell us a bit about what that’s going to entail? Will you extend the program to the ESP8266?

The security bounty program is only for ESP32. It is meant to get the community to look into some of the encryption features that we have designed, especially flash encryption and our number theoretic functions. We understand that there are some folks out there, who can do some amazing things on the hardware level. We are hoping that they could give our team a peek at what’s possible today. 

For a lot of people the arrival of Arduino support for the ESP8266 was a breakthrough. It opened the up the platform to a huge number of people that weren’t comfortable with the Lua toolchain. Will there be support out of the gate for the ESP32 in the Arduino toolchain?

No. There will not be support for Arduino right away. But it will be done soon! The same goes for LUA.  

Do you see the ESP32 replacing the ESP8266, or do you see it serving a different market, and being used for different applications?

ESP32 and ESP8266 do have certain overlaps in the market. ESP8266 is used in applications where peripherals are not an issue, although we have seen some customers do amazing stuff with an overclocked ESP8266 and a touchscreen. ESP32 is a superset of ESP8266 but it’s also slightly more expensive. ESP32 has way more computing power and throughput. Overall, I think that the community would love ESP32 more. 

There’s a beta program for the ESP32, with about 200 boards being sent out. How are you choosing (have you chosen?) developers to be part of that program, and what sort of feedback are you hoping to get from them?

We have put most of the power users first. It’s really difficult to choose, and we are building more engineering wafers, so that we can go beyond the initial 200. 

When do you think it’ll go to general release, and what sort of price point do you foresee it being sold at?

The general release in early next year. We are unable to provide a price point now, because it depends very much on the distribution channel as well. 

The ESP8266 is super cheap, and super easy to work with, and it’s actually fairly easy — as such things go — to get your hands on, which makes for a refreshing change. So we’re really interested to see what people are doing with those first 200 ESP32 boards in the initial beta program. If you’re one of the chosen few reach out to us in the comments, we’d love to see what you’re building with the new ESP32, and hear your thoughts on the new board.

8 thoughts on “Meet ESP32, New Big Brother to IoT Board ESP8266

  1. Gareth Thomas says:

    Is there an iot chip that can handle 230v that can be squeezed into light switches and sockets/outlets?

    1. rsloan says:

      No you will need to add a power supply :-(

      1. Gareth Thomas says:

        Understand, but are there any that could directly handle switching it too? Feels like a gap in the market.

        1. rsloan says:

          with the help of an external circuit they can switch anything, but the chip itself will only do the WIFI

        2. pridisc says:

          The standard technique is to use a transformer. For transformerless design, have a look at LNK306. You can also use capacitive droppers but they are good only for low currents says 50 to 100mA. You can stretch them to 300 mA but you would be generating a lot of heat and wasting energy. It is not too difficult to squeeze a transformer and other circuitry into a lightbulb. Crack open any CFL lamp or a high end LED bulb to see one (low end LED lamps have capacitive droppers so you won’t find a transformer there)

    2. davey says:

      You’re fighting basic physics. It takes larger component to handle higher voltages and currents. The microcontroller is switching from 5v to 3.3v for exactly that reason.

      Besides, the switching components are the ones most likely to fail. If you place them outside the microcontroller, if they fail you just replace the one relay- not the entire microcontroller.

  2. rsloan says:

    You are invited to join in on the ESP8266 and ESP32 discussions at ESP8266 Community Forum http://www.esp8266.com

  3. Alasdair Allan says:

    Interesting to see some details of the ESP32 coming out from the lucky 200 people to receive a beta development board — badged ESP31B — from Expressif, see https://harizanov.com/2015/12/esp32/ and https://www.youtube.com/watch?v=HCGHb0OVz1s.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

Alasdair Allan is a scientist, author, hacker and tinkerer, who is spending a lot of his time thinking about the Internet of Things. In the past he has mesh networked the Moscone Center, caused a U.S. Senate hearing, and contributed to the detection of what was—at the time—the most distant object yet discovered.

View more articles by Alasdair Allan

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK