ESP32-S2 Samples Show Up

The ESP8266 is about six years old now and the ESP32 is getting more mainstream every day. Unsurprisingly, Espressif is developing even newer product and the ESP32-S2 was in the hands of some beta testers last year. Now it is finally landing as “final silicon” samples in people’s hands. [Unexpected Maker] got a few and a prototype development board for the chip and shared his findings in a recent video.

The ESP32-S2 has a single core LX7 running at 240 MHz along with a RISC-V-based coprocessor. Onboard is 320K of RAM and 128K of ROM. You might notice this is less than the ESP32. However, the device can support up to 128MB of external RAM and up to 1GB of external flash. It also supports USB, although the prototype module appears to have an external USB chip on it.

Continue reading “ESP32-S2 Samples Show Up”

Bitluni Brings All The ESP-32 Multimedia Hacks To Supercon

Of all the people I was looking forward to meeting at Supercon, aside from my Hackaday colleagues with whom I had worked for five years without ever meeting, was a fellow from Germany named Matthias Balwierz. The name might not ring a bell, but he’ll certainly be familiar to Hackaday readers as Bitluni, the sometimes goofy but always entertaining and enlightening face of “Bitluni’s Lab” on YouTube.

I’d been covering Bitluni’s many ESP32 hacks over the years, and had struck up a correspondence with him, swapping ideas and asking for advice on the many projects I start but somehow never finish. Luckily for us, Bitluni is far better on follow-through than I am, and he brought that breadth and depth of experience to the Design Lab stage for that venue’s last talk of the 2019 Superconference, before the party moved next door for the badge-hacking presentations.

Continue reading “Bitluni Brings All The ESP-32 Multimedia Hacks To Supercon”

New Part Day: Espressif Announces ESP32-S2 With USB

Espressif, the company behind the extremely popular ESP8266 and ESP32 microcontrollers has just announced their latest chip. It’s the ESP32-S2. It’s a powerful WiFi-enabled microcontroller, and this one has support for USB OTG.

Compared to the ESP32 we know and love, there are a few differences. The ESP32-S2 uses a single core Xtensa LX7 core running at up to 240 MHz, where the current ESP32 uses either a single or dual core LX6. The differences between these cores is hidden away in marketing speak and press releases, but it appears the LX7 core is capable of many more floating point operations per cycle: apparently 2 FLOPS / cycle for the LX6, but 64 FLOPS / cycle for the LX7. This is fantastic for DSP and other computationally heavy applications. Other features on the chip include 320 kB SRAM, 128 kB ROM, and 16 kB of RTC memory.

Connectivity for the ESP32-S2 is plain WiFi; Bluetooth is not supported. I/O includes 42 GPIOs, 14 capacitive touch sensing IOs, the regular SPI, I2C, I2S, UART, and PWM compliment, support for parallel LCDs, a camera interface, and interestingly full-speed USB OTG support. Yes, the ESP32-S2 is getting USB, let us all rejoice.

Other features include an automatic power-down of the RF circuitry when it isn’t needed, support for RSA and AES256, and plenty of support for additional Flash and SRAMs should you need more memory. The packaging is a 7 mm x 7 mm QFN, so get out the microscope, enhance your calm, and bust out the flux for this one. Engineering samples will be available in June, and if Espressif’s past performance in supplying chips to the community holds true, we should see some projects using this chip by September or thereabouts.

(Banner image is of a plain-old ESP32, because we don’t have any of the new ones yet, naturally.)

Hacker Abroad: Visiting Espressif And Surprising Subway Ads

Thursday was my final day in Shanghai. After spending all of Wednesday at Electronica Asia, I headed over to the Espressif Headquarters which is just one subway stop away. This is of course the company behind the well-known ESP8266 and its younger sibling, the ESP32. My host was Ivan Grotkothov, Director of Software Platforms. The backstory on how he found his way to the company is truly interesting, as are the stories he shared on some of the legend and lore surrounding the WiFi capable chips the company makes — and the new one whose existence just leaked out this week.

Join me below for that and few other fun things from my last day in this city of 26 million people.

Continue reading “Hacker Abroad: Visiting Espressif And Surprising Subway Ads”

Hackaday Links Column Banner

Hackaday Links: May 13, 2018

The dumbest thing this week is Uber’s flying car concept of the future. The braintrust at Uber envisions a world of skyports, on rooftops or on the ground that will handle 200 takeoffs and landings per hour. That is 4800 per day at a maximum. The record for the number of total takeoffs and landings for any airport was set last year at Mumbai’s Chhatrapati Shivaji airport with 969 takeoffs and landings in a twenty-four hour period. Yes, Uber wants to put the world’s busiest airport in a parking lot or something. Just wait, it gets dumber. Uber’s ‘flying car’ looks like a standard quadcopter, but with stacked, non-contrarotating props, for safety. These aircraft will be powered electrically, although it’s not quite clear if this is a hybrid setup (which could actually be practical now, but without regulatory precedent) or something built around an enormous battery (impractical for anything bigger than a 152 in this decade).

This aircraft is just a render, and Uber expects it to be certified for commercial flight in two to five years. This is nearly impossible. Uber plans to fly these aircraft autonomously. This will never happen. Additionally, Uber will not manufacture or design the aircraft. Instead, they will partner with a company that has experience in aerospace — Bell or Embraer, for instance — making the render a moot point, because ultimately Uber is just going to go with whatever Bell or Embraer have on the drawing board. Uber’s entire business plan is “move fast and break laws”, which will not serve them well with the FAA. The mere mention of Uber’s self-flying car has lowered the level of public discourse and has made us all dumber.

Here’s a great example of how cheap TVs are getting. [tmv22] built a 55 inch, 4k digital photo frame for $400. The TV was one Walmart was blowing out for two hundred and sixty dollars. Add in an Odroid C2 and some various cables and hardware, and you have an absurd digital photo frame for a few benjamins.

Espressif is getting investment from Intel’s venture capital division. Espressif, is, of course, the company behind the incredibly popular ESP8266 and ESP32 chipsets designed for the Internet of Things. Before the ESP8266 module popped up for sale on SeeedStudios, no one had heard of Espressif. Intel, on the other hand, is the largest semiconductor company on the planet and recently exited the maker IoT space because of the complete and utter failure of the Curie, Joule, Edison, and Galileo product lines. I would bet a significant portion of Intel’s failure was due to their inability to release datasheets.

Awesome news for synth heads. Behringer is cloning just about every classic synth and drum machine. At Superbooth 2018, Behringer, manufacturers of the worst mixers on the planet, revealed their clone of the Roland SH-101 synthesizer. It’s called the MS-101, and yes, it has the keytar grip. Also announced is a clone of the TR-808, Odyssey One, the OB-Xa, Arp 2600, and M100 modules. Here’s some context for you: a good Detroit techno show consists of an SH-101, TB-303, TR-808 and TR-909, all made by Roland in the 80s. These vintage synths and drum machines, at current prices, would cost about $10,000, used. The prices for these clone synths haven’t been announced, but we’re looking at a Detroit techno show for $1000. That’s nuts. Here’s a video of the 808.

Porting NES To The ESP32

There’s an elephant in the room when it comes to the Raspberry Pi Zero. The Pi Zero is an immensely popular single board computer, but out of stock issues for the first year may be due to one simple fact: you can run a Nintendo emulator on it. Instead of cool projects like clusters, CNC controllers, and Linux-based throwies, all the potential for the Pi Zero was initially wasted on rescuing the princess.

Espressif has a new chip coming out, the ESP32, and it’s a miraculous Internet of Things thing. It’s cheap, exceptionally powerful, and although we expect the stock issues to be fixed faster than the Pi Zero, there’s still a danger: if the ESP32 can emulate an NES, it may be too popular. This was the hypothetical supply issue I posited in this week’s Hackaday Links post just twenty-four hours ago.

Hackaday fellow, Hackaday Supercon speaker, Espressif employee, and generally awesome dude [Sprite_tm] just ported an NES emulator to the ESP32. It seems Espressif really knows how to sell chips: just give one of your engineers a YouTube channel.

This build began when [Sprite] walked into his office yesterday and found a new board waiting for him to test. This board features the ESP-WROOM-32 module and breaks out a few of the pins to a microSD card, an FT2232 USB/UART module, JTAG support, a bunch of GPIOs, and a 320×240 LCD on the back. [Sprite]’s job for the day was to test this board, but he reads Hackaday with a cup of coffee every morning (like any civilized hacker) and took the links post as a challenge. The result is porting an NES emulator to the ESP32.

The ESP-32-NESEMU is built on the Nofrendo emulator, and when it comes to emulation, the ESP32 is more than capable of keeping the frame rate up. According to [Sprite], the display is the bottleneck; the SPI-powered display doesn’t quite update fast enough. [Sprite] didn’t have enough time to work on the sound, either, but the source for the project is available, even if this dev board isn’t.

Right now, you can order an ESP32; mine are stuck on a container ship a few miles from the port of Long Beach. Supply is still an issue, and now [Sprite] has ensured the ESP32 will be the most popular embedded development platform in recent memory. All of this happened in the space of 24 hours. This is awesome.

Continue reading “Porting NES To The ESP32”

ESP32 Hands-On: Awesome Promise

The ESP32 is looking like an amazing chip, not the least for its price point. It combines WiFi and Bluetooth wireless capabilities with two CPU cores and a decent hardware peripheral set. There were modules in the wild for just under seven US dollars before they sold out, and they’re not going to get more expensive over time. Given the crazy success that Espressif had with the ESP8266, expectations are high.

And although they were just formally released ten days ago, we’ve had a couple in our hands for just about that long. It’s good to know hackers in high places — Hackaday Superfriend [Sprite_tm] works at Espressif and managed to get us a few modules, and has been great about answering our questions.

We’ve read all of the public documentation that’s out there, and spent a week writing our own “hello world” examples to confirm that things are working as they should, and root out the bugs wherever things aren’t. There’s a lot to love about these chips, but there are also many unknowns on the firmware front which is changing day-to-day. Read on for the full review.

Continue reading “ESP32 Hands-On: Awesome Promise”