How To Get Started With The ESP32

ESP32 is the hottest new wireless chip out there, offering both WiFi and Bluetooth Low Energy radios rolled up with a dual-core 32-bit processor and packed with peripherals of every kind. We got some review sample dev boards, Adafruit and Seeed Studio had them in stock for a while, and AI-Thinker — the company that makes the most popular ESP8266 modules — is starting up full-scale production on October 1st. This means that some of you have the new hotness in your hands right now, and the rest of you aren’t going to have to wait more than a few more weeks.

As we said in our first-look review of the new chip, many things are in a state of flux on the software side, but the basic process of writing, compiling, and flashing code to the chip is going to remain stable. It’s time to start up some tutorials!

Continue reading “How To Get Started With The ESP32”

Hackaday Links: September 18, 2016

No Star Trek until May, 2017, at which time you’ll have to pay $5/month to watch it with ads. In the meantime, this is phenomenal and was shut down by Paramount and CBS last year ostensibly because Star Trek: Discovery will be based around the same events.

Tempest in a teacup. That’s how you cleverly introduce the world’s smallest MAME cabinet. This project on Adafruit features a Pi Zero, a 96×64 pixel color OLED display, a few buttons, a tiny joystick, and a frame made out of protoboard. It’s tiny — the height of this cabinet just under two wavelengths of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom. Being based on the Pi Zero, it’s a capable arcade cabinet, although we would struggle to find a continuous rotation pot small enough to play Tempest the way it should be played. Check out the video.

[Graham] sent an interesting observation in on the tip line. It’s an election year in the US, and that can mean only one thing. It’s coroplast season. Coroplast is that strange material used for political signage, famous for its light weight, being waterproof, and reasonably strong, depending on how you bend it. There is a severe lack of coroplast builds, but if you have some be sure to send them in.

The ESP32, the followup to the hugely popular ESP8266 , is shipping. [Elliot] got his hands on one and found it to be a very promising chip, but the ESP3212 modules I bought from Seeed haven’t arrived yet. That hasn’t stopped [Ptwdd] from making a breakout board for the ESP3212, though. We don’t know if it works, but it’s just a breakout board, anyway.

The usual arguments for drones involve remote sensing, inspection, and generally flying around for a very long time. Quadcopters don’t do this, but fixed wings can. Over on DIYDrones, [moglos] just flew 425km on a single charge. The airframe is a 3 meter Vigilant C1 V tail, using the stock 300kV motor. The battery is a bunch of Panasonic 18650 cells arranged in 6S 9P configuration for 30600mAh. The all-up weight is 5.7kg. This is significant, and we’re seeing the first glimmer of useful tasks like pipeline monitoring, search and rescue, and mapping being done with drones. It is, however, less than half the range a C172 can fly, but batteries are always getting better. Gas goes further because it gets lighter as you fly.

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”

Hackaday Links Column Banner

Hackaday Links: September 11, 2016

You know about the Hackaday Superconference, right? It’s the greatest hardware con ever, and it’s happening on November 5+6. Details incoming shortly.

The Hackaday Retro Edition exists. It’s the Hackaday blog, HTML-1-izized for weird and old computers? Why did I do this? Because Google is the quickest page to load on a Powerbook 180. There’s a new Retro Success, this time coming from @LeSpocky and his Nokia 3109c phone from 2008.

This is your official notice. The Open Hardware Summit is less than a month away. It’s going down in Portland, OR. Why Portland? The Vaporwavescene, of course. Hackaday, Tindie, and the rest of the crew will be out in Portland next month getting the latest news on the state of Open Hardware. We won’t be sitting in church pews this year, but then again there is no lady made out of soap.

Speaking of OHS, [Dave] just solved all their problems. The ‘problem’ with Open Hardware, if you can call it that, is that people use it as a bullet point on a sales deck. That neat gear logo can be marketing wank, without any of the sources, schematics, or anything else that makes a project Open Hardware. Last year, OSHWA announced they would be creating a certification process, with a trademarked logo, so they can sue people who don’t post schematics and mechanical designs (slightly inaccurate, but that’s the jist of the program). [Dave] is suggesting keeping the cool gear logo, but adding letters the teeth of the gear to designate what makes something Open Hardware. Add an S for schematic, add a B for a BOM, sort of like the creative commons logo/license. Is it a good idea? If OSHWA keeps using the gear logo for the ‘official’ Open Hardware logo/designation, there’s no recourse for when people misuse it. I’m of several minds.

[Colin Furze] is famous for his zany builds. His latest Youtube is anything but. It’s a shed. Of course, it’s the entry for his underground bunker, but this is a quality shed with a concrete pad, a few bits to keep it off the ground, and insulation. The roof is slate (because why not?), but if your design decisions are based on the phrase, ‘you only live once,’ copper may be a better choice.

The ESP32 has been released. The ESP32 is the follow-on to the very popular ESP8266. The ’32 features WiFi and Bluetooth, dual core processors, and a few undisclosed things that will make it very interesting. You can buy ESP32 modules right now, but no one has them on their workbench quite yet. To get you started when they finally arrive, [Adam] created an ESP32 KiCad Library for the ESP32 chip, and the ESP32-WROOM and ESP3212 modules.

New Part Day: The ESP32 Has Been Released

A few years ago, a strange little chip showed up on Seeed Studio one day. It was the ESP8266, originally sold as a serial to WiFi adapter. Since then, the microcontroller in this wee WiFi module was discovered, and the ESP8266 has been the breakout module for hundreds of Internet of Thing modules, and other wireless baubles.

The company behind the ESP8266, Espressif, wasn’t sitting on their laurels for the last few years. They’ve been working on a followup to the ESP8266. It’s the ESP32, and it’s faster, has more peripherals, better WiFi, and Bluetooth LE. Since Christmas, we’ve been ogling this chip. Now, it’s finally out. You can buy an ESP32 right now. Consider the ESP32 released.

Almost exactly two years ago, the forerunner of the ESP32 was released, allowing anyone to blink a LED from the Internet for five dollars. There was a catch with the release of the ESP8266, and that was documentation. Documentation in English did not exist, and it took Espressif a while to realize the hit they had on their hands. Even now, with a proper English datasheet from Espressif, we don’t know if the ESP8266 has 5V tolerant pins. Documentation was an issue for the ESP8266, but it didn’t really matter because someone on the Internet figured it out.

History doesn’t repeat itself, but it is the franchise with the most reboots. There’s some documentation for the ESP32, but it’s far from complete. There’s a CAN bus peripheral in the ESP32, but no one knows what pins it’s attached to. There are some secrets hidden away, but no one is at liberty to discuss them. No one outside Espressif has any idea if the specs are real. This will, of course, change in the next month or so, but only due to the tireless work of electronics enthusiasts the world over.

Right now, there are several listings on the usual online outlets including Espressif’s Taobao shop and Seeed Studio offering either bare ESP32 chips or modules based on this WiFi Bluetooth wonder. These modules include the ESP-Wroom-32 (PDF) that is seemingly based on the ESP31 test modules released late last year and the ESP3212, a module based on the popular ESP8266-12. There are also bare chips floating about.

As far as any new information regarding the ESP32 is concerned, don’t expect much. It’s released, though, and in a month or so the work of documenting this supposed wonderchip will begin.

Although they’re not available to everyone quite yet, we have two ESP-32 modules in hand, and [Elliot] is currently slogging through installing the toolchain and getting everything working. Watch this space, because we’re going to have an Introduction to the ESP-32 post up shortly.

New Chip Alert: RTL8710, A Cheaper ESP8266 Competitor

Almost exactly two years ago, shocking news thundered across the electronics blogosphere. There was a new WiFi module on the block. It was called the ESP8266, a simple serial device capable of taking care of an 802.11 network and a WiFi stack, giving any project with a microcontroller access to the Internet. Earlier modules to connect microcontrollers were sufficient for the task, but nothing could beat the ESP8266 on price.

The RTL8710 dev kit
The RTL8710 dev kit

Now, there’s a new module that’s even cheaper and more powerful than the ESP8266, and just like all of our favorite parts from China, it inexplicably shows up on eBay and AliExpress before anywhere else. It’s the Realtek RTL8710, available on eBay, on AliExpress, and elsewhere around the web for about $1.50 per device. There’s also a dev kit for the device featuring breakouts, an additional microcontroller, and a few switches and buttons for about $15.

As you would expect, there is zero English-language data available about the RTL8710, everything is in Chinese. There is a forum of sorts going over this new chip, and the Google Translatrix is good enough to glean a little bit of info about the new chip.

The RTL8710 features an ARM processor clocked at 166MHz. Stock, this module is running FreeRTOS. There’s 1MB of Flash, 48k of RAM available to the user, up to 21 GPIOs, 3 I2C, 4 PWM pins, and 2 PCM. This module also comes with an FCC logo, but I can’t find anything on the FCC website about this module.

If anything, the Realtek RTL8710 isn’t meant to be a competitor to the ESP8266. While extremely popular and still very useful, the ‘next gen’ ESP32 is due to be released in a month or so, and with the exception of Bluetooth on the ESP32, this Realtek module should match its capabilities quite well. Whether anyone can get an English datasheet is another matter, but if history is any indication a few English language RTL8710 forums will pop up a few hours after this is posted.

Thanks [sabas] for sending this in

Hackaday Links: July 17, 2016

There’s going to be a new Nintendo console for Christmas! It’s the NES Classic Edition. It looks like a minified NES, with weird connectors that look like the connector for the Wii Nunchuck. There are no other details.

A site called “Motherboard” reports assembling a computer is too hard and a ‘nerve-wrecking [sic]’ process. Tip of the stovepipe to the Totalbiscuit.

When I was in elementary school, the playground had a twenty foot tall metal slide that faced South. During my time there, at least three of my classmates fell off it, and I distinctly remember the school nurse’s aid running past me on the playground with a wheelchair. There wasn’t soft mulch or the weird rubber granules under this slide – just hard, compacted dirt. This slide was awesome, even if it was torn down when I was in third grade. [Brandon Hart]’s kid’s won’t look back fondly on their youth with experiences like these; he built a water-cooled slide in his backyard. He’s getting an 80°F ΔT with a trip to Ace Hardware, probably $20 in fittings, and a drill. Neat.

This is probably better suited for an ‘Ask Hackaday’ column, but [Arsenijs] has run into a bit of a problem with his Raspberry Pi Project. He’s trying to use a planarized kernel module to obfuscate the SPI bus, but he can’t do that because of a oblivated drumble pin. He could, of course, deenumerate several of the GISP modules, but this would cause a buffer underflow and eventually wreck the entire cloudstack. I told him he should use Corrosion, but he seems dead set on his Hokey implementation. If anyone has any ideas, get the glamphs and put it on the grumbo.

The Owon SDS7102 oscilloscope is a small, cheap, two-channel scope that is impressive for its price but noisier than you would expect. This scope has been thoroughly reverse engineered, and now Linux is running on this scope. This Linux scope has a working VGA display, USB host, USB device, Flash, and working Ethernet. The entire analog front end has been reversed engineered, and somehow this is now the most open oscilloscope you can buy.

The ESP32 is Espressif’s followup to their very popular ESP8266 WiFi module. The ESP32 will be much more powerful and include Bluetooth when it’s released in August. Until then, [Pighixxx] has the complete pinout for the ESP32.