6 · Full projects
Project: data logger
Expert40 min
Goal
Sample a sensor at a steady rate, timestamp it and store it.
Why it matters
Every scientific experiment starts with a reliable, timestamped acquisition.
Steps
- 01Read the sensor exactly every second (millis()).
- 02Timestamp with the DS3231.
- 03Output the lines as CSV.
- 04Store the sample count in EEPROM to survive a reset.
This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.
Next tutorials
- Project: thermostat
Regulate a target temperature with hysteresis and a display.
- Project: intrusion alarm
Detect movement, fire the siren and arm/disarm with a button.
- Project: obstacle-avoiding robot
Move forward, detect an obstacle under 20 cm and go around it.
- Project: smartwatch
Show time, steps and temperature on the OLED, with button navigation.