[ internal use only ] - Reads the voltage from a sensor to measure the grid's frequency. For course ID: MR-2003B
| ReadVoltage | ||
| .gitignore | ||
| LICENSE | ||
| plot_file.py | ||
| read | ||
| README.md | ||
hz
- School: Tecnológico de Monterrey
- Semester: 4
- Course: MR-2003B
- Professor: Ricardo Esteban Roberts-Ugrinovic
- First Class: 2026-02-09
Reads the voltage from a sensor to measure the grid's frequency.
Useful commands:
# Compile and upload the code to the ESP32
arduino-cli compile --upload -p /dev/ttyUSB0 --fqbn esp32:esp32:esp32 ReadVoltage
# Monitor the serial output from the ESP32
arduino-cli monitor -p /dev/ttyUSB0 -c baudrate=115200
# Or, capture data for one hour and save it to out.txt:
read
I'm not expecting anyone to even see this code, but it's under AGPLv3. See LICENSE for details.