[ internal use only ] - Reads the voltage from a sensor to measure the grid's frequency. For course ID: MR2003B.
| FrequencySensor | ||
| results | ||
| .gitignore | ||
| fft_demo.py | ||
| LICENSE | ||
| plug.blend | ||
| README.md | ||
| serial_logger.py | ||
Grid Frequency Sensor
- School: Tecnológico de Monterrey
- Semester: 4
- Course: MR-2003B
- Professor: Ricardo Esteban Roberts-Ugrinovic, Artemio Alfredo Aguilar Coutiño, Adeodato Israel Botello Arredondo, Rodolfo Anaya Zamora
- 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:UploadSpeed=115200 FrequencySensor
# Monitor the serial output from the ESP32
arduino-cli monitor -p /dev/ttyUSB0 -c baudrate=115200
# Run the FFT on PC
python fft_demo.py
# Log frequency data for 1 hour
python serial_logger.py
I'm not expecting anyone to even see this code, but it's under AGPLv3. See LICENSE for details.