Line charts
Sixteen hours of cabin CO2, 960 samples in 240 columns: joining points into lines, decimation that hides a spike, min and max columns that keep it, and an alarm line.
Open it in the simulatorBuild a space capsule's life-support screen in C++ on an ESP32-C3: scales and axes, line charts, bars, sparklines, gauges and a live dashboard on a 320 x 240 TFT.
0 of 7 done
7 lessons in 4 chapters, about 5 hours on a simulated ESP32-C3-DevKitM-1. Free, in your browser, every step checked by the simulator.
Sixteen hours of cabin CO2, 960 samples in 240 columns: joining points into lines, decimation that hides a spike, min and max columns that keep it, and an alarm line.
Open it in the simulatorThe BME280's cabin pressure on a round dial: a value mapped onto an angle, sine and cosine for the needle's tip, ticks around the rim, a red zone, and redrawing only the needle.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
The function from data to pixels, and a line chart that hides nothing.
Map a day of cabin temperatures onto 320 x 240 pixels: a linear scale, a y axis that has to flip, and tick marks on nice 1, 2, 5 steps.
0 of 5 steps
Sixteen hours of cabin CO2, 960 samples in 240 columns: joining points into lines, decimation that hides a spike, min and max columns that keep it, and an alarm line.
0 of 5 steps
Three more ways to show a number, and when each one is honest.
Six oxygen tanks as a bar chart: bars that start at zero, widths and gaps shared out in whole pixels, sorting so the eye finds the emptiest tank, and color for the ones running low.
0 of 4 steps
Four charts the size of a word for oxygen, CO2, temperature and humidity: a scale each, the latest value in big digits, a shaded normal band, and a minimum span so noise stays flat.
0 of 4 steps
The BME280's cabin pressure on a round dial: a value mapped onto an angle, sine and cosine for the needle's tip, ticks around the rim, a red zone, and redrawing only the needle.
0 of 5 steps
A ring buffer and a chart that keeps up ten times a second.
The cabin temperature ten times a second into a ring buffer, an auto scale that forgets, and two ways to draw it: a scrolling chart that redraws everything and a scope sweep that redraws one column.
0 of 5 steps
The whole life-support dashboard from one sensor.
The capsule's life-support screen from one BME280: a sweeping temperature trace, a pressure dial, a humidity bar and an alarm banner, all drawn inside a 250 ms frame budget.
0 of 6 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of Charts on small screens are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated ESP32-C3-DevKitM-1 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 5 hours: 7 lessons in 4 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Line charts and Gauges.
With "Scales and axes", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.