กลับไปหน้ารวมไฟล์
power-time-logger-ed0e90-en.md

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.

ข้อมูล Frontmatter ดั้งเดิม

title: "Power Time Logger"
description: "Records each time a USB port is powered on/off and logs the data for 365 days before it resets automatically."
author: "source_duty"
category: "Lab Stuff"
tags:
  - "Data Collection"
  - "Clocks"
views: 449
likes: 0
price: 699
difficulty: "Easy"
components:
  - "1x LCD Keypad Shield For Arduino"
  - "1x 3D printer"
  - "1x Arduino Uno Rev3"
  - "1x USB-A to B Cable"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/7dd7a9d4-4ecf-4c87-b6b4-3ef16dcdface.c"
documentationLinks: []
passwordHash: "9b4ba1ec1fdd17cd01966bb031e5b011d97bd985ecbc9246db7a754ee83b0536"
encryptedPayload: "U2FsdGVkX18iTEsImM2lnXLOUSWfEhLjIRaytRldcXqUBnc83Wst9URH0I8HufS6FsnGbKKpTfh1Uv+V2hYZxSvv0eZnB5qBm5BmprCOc3M="
seoDescription: "Log USB port power on/off events for 365 days with automatic reset. A simple power monitoring project for Arduino."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/power-time-logger-ed0e90_cover.jpg"
lang: "en"