A 24LC256 on the bus
32 KB of I2C EEPROM: page writes, the write cycle found by ACK polling, and the page wrap bug that a wrong page size causes.
Open it in the simulatorKeep data through resets and power cuts: the Uno's EEPROM and its wear, a 24LC256 on I2C, SD cards and FAT, CSV logs with DS3231 timestamps, safe writes, and a month-long weather balloon flight recorder.
0 of 7 done
7 lessons in 4 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
32 KB of I2C EEPROM: page writes, the write cycle found by ACK polling, and the page wrap bug that a wrong page size causes.
Open it in the simulatorRows stamped by a DS3231: why millis() is not a time, Unix time, a date that rolls over at midnight by itself, and an ISO 8601 timestamp.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Small memories that survive the power going off.
The Uno's own 1024 bytes of EEPROM: a boot counter that survives a reset, settings saved as a struct, and the sums for a cell rated at 100,000 writes.
0 of 6 steps
32 KB of I2C EEPROM: page writes, the write cycle found by ACK polling, and the page wrap bug that a wrong page size causes.
0 of 6 steps
FAT, CSV logs and real timestamps.
A microSD card on SPI: blocks, a FAT16 file system, listing the card, and why a file name has to fit in eight characters and three.
0 of 6 steps
A temperature every second appended to LOG.CSV: a header row, one record per line, a separator, and the file printed back on demand.
0 of 6 steps
Rows stamped by a DS3231: why millis() is not a time, Unix time, a date that rolls over at midnight by itself, and an ISO 8601 timestamp.
0 of 6 steps
What reaches the card when the power goes.
A file kept open for speed: what flush() really does, a power cut that loses the unflushed rows, and the trade between speed, wear and safety.
0 of 6 steps
A weather balloon flight recorder built to log for a month.
A weather balloon logger built for a month: a file per day named by the RTC, timestamp, temperature and altitude rows, the flight number in EEPROM, and a resume after a power cut.
0 of 8 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 Data logging: SD, EEPROM and flash 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 Arduino Uno R3 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 6 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: A 24LC256 on the bus and Timestamps from an RTC.
With "EEPROM and wear", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.