Power Time Logger 1.0.0 for Arduino UNO and LCD Keypad Shield.
Copyright (c) 2022, Alex Aldridge
Records each time a USB port is powered on/off and logs the data for 365 days before it resets automatically.
Press the SELECT button to switch between total on/off and total time.
Press the LEFT button to reset the program.
Use this project to log usage times for any device that has an on/off USB port (wi-fi router, 3D printer, computer, etc.).
This software is free and open-source; anyone can redistribute it and/or modify it.
EXPANDED TECHNICAL DETAILS
Residential Energy Auditing
This project acts as a digital log for tracking how long specific appliances remain active throughout the day.
- Active-State Detection: The Arduino monitors the state of a relay or current sensor (like the SCT-013). Every second the appliance is "ON," the Arduino increments a counter in its internal EEPROM.
- Real-Time Clock (RTC) Timestamping: Uses a DS3231 RTC to track the exact start and stop times of each cycle, providing a detailed "Power Profile."
Reporting
- Serial CSV Output: On command, the Arduino dumps the logged data to the Serial monitor in CSV format, ready for analysis in Excel or Python to identify energy-hungry appliances.