Imported from GitHub: esiealab/watto-meter · commit e29b9fe · license MIT
Description
Watto-Meter: An open-source USB-C power consumption meter with real-time measurements, data logging, and a web interface for control and monitoring.
README
Watto-Meter
Description
Watto-Meter is an open-source project designed to measure the power consumption of a device connected via USB-C. This project combines dedicated hardware and embedded software to provide the following features:
- Power measurement: Voltage, current, and power are measured.
- Data logging: Measurements are saved on an SD card in CSV format.
- Web interface: Data is accessible via a web page hosted on the device. The interface also allows:
- Starting or stopping measurements.
- Downloading or deleting recorded CSV files.
- Web API: A REST API enables remote control of the device and access to the data.
Key Features
-
Measurement:
- Voltage (Volts)
- Current (mA)
- Power (Watts)
-
Data logging:
- Measurements are saved on an SD card in CSV format.
-
User interface:
- An intuitive web interface to view data, configure the device, and manage recorded files.
-
REST API:
- Remote control via HTTP endpoints to start/stop measurements, configure the device, or download files.
Open-Source Hardware
The hardware for Watto-Meter is also open-source, created by @Hyrla. All the files required to manufacture the PCB and assemble the device are available in the hardware/ folder.
Hardware Image
Below is an image of the Watto-Meter hardware:
Software Development and Deployment
Prerequisites
- PlatformIO Core
- A Watto-Meter board (see the
hardware/folder) - An SD card for data logging
Instructions
-
Clone the project:
git clone https://github.com/esiealab/watto-meter.git cd watto-meter/software -
Configure the project:
- Open the folder in PlatformIO.
- Edit the
platformio.inifile if necessary and theWiFiConfig.h(WiFi SSID, password.).
-
Build and upload the firmware:
pio run --target upload -
Upload folder
datato the filesystem: According to this guide:#Build the filesystem image pio run --target buildfs #Upload the filesystem image pio run --target uploadfs
Or you can open the PlatformIO menu and click on the following buttons:
License
This project is licensed under the MIT License. You are free to use, modify, and distribute it, provided you retain the copyright notice.
No comments yet. Be the first to ask about this board.