The chip inside CryptoTicr: the ESP8266
The ESP8266, the Wi-Fi chip that runs the ticker: what IoT is, why its design caught on, the open projects built on it, and how little memory it needs.
Step by step in the manual: The ESP8266 chip inside the ticker
Also in the manual: Getting started with the ESP8266
Chapters
Read it insteadHide the text
Everything this ticker does runs on one tiny chip: the ESP8266, by Espressif, one of the most widely used Wi-Fi chips ever made.
It sits on a module about two-thirds of an inch by one inch, a little smaller than a postage stamp.
Under its metal can, a processor and a Wi-Fi radio share one chip,
beside the flash memory that holds the program.
And the antenna is a copper pattern, printed right on the board.
Chips like this are the heart of the Internet of Things: smart plugs, bulbs, thermostats, sensors and cameras. Everyday things on your Wi-Fi, each doing one job.
Espressif started in Shanghai, in 2008.
In 2013 it shipped its first chip, the ESP8089: a Wi-Fi radio for tablets and other devices.
Then, in 2014, the ESP8266 put that Wi-Fi know-how together with a whole processor, a 32-bit core licensed from Tensilica, a company known for small, efficient processors. All on one chip.
That summer, a module with it sold for five dollars, with all its papers in Chinese. Hobbyists around the world translated them, and started building.
By that October, Espressif had posted a full software kit, and the NodeMCU project had begun.
In 2015, volunteers brought it to Arduino, so anyone who could blink a light could put a project on Wi-Fi.
By the end of 2017, Espressif had shipped a hundred million chips.
Today it counts over one and a half billion.
Espressif doesn't count the ESP8266 on its own, but by our estimate, around 400 million of them have been sold. Millions are at work right now, in plugs, bulbs and sensors, day and night. Few Wi-Fi chips have been proven in so many homes.
Its design put a Wi-Fi radio and a whole processor in one chip, with very few parts around it.
That makes it inexpensive: a complete Wi-Fi module costs a few dollars.
It sips power, and can sleep between jobs.
And it has proved so reliable that Espressif still makes the same chip today.
Tasmota runs smart plugs and bulbs without a cloud.
ESPHome builds custom smart-home devices.
WLED drives LED strips.
And ESPEasy and NodeMCU made it easy from the start.
There's no operating system on this chip. The ticker's program asks for prices,
draws the screen,
lets the Wi-Fi do its work,
and goes round again.
The chip has about eighty kilobytes of working memory for data.
Espressif leaves about fifty of them for a program while it's on Wi-Fi.
The ticker runs in that, with about eleven to fourteen kilobytes still free.
And the whole program, fonts and setup page included, is a little over a megabyte.
It's written with the Arduino core and PlatformIO, free tools anyone can use. Our page on getting started with the ESP8266 shows where to begin.
