- Collects data with a sensor
- Stores data in an array
- Communicates with PC over serial port
- Saves data to a file
- Python for UI
- DHT22 sensor to read temperature and humidity data.
Data is saved with a timestamp to:
- root/data_temperature.csv
- root/data_humidity.csv
Example of a single data reading: 2020-06-03 23:58:51.973248,23.10,23.20,
-
Install Pandas:
-
Upload sensor/sensor.ino to Arduino connected to DHT22
-
Download the DHT sensor library to Arduino libraries
-
Run the program in the root directory:
- python sensor.py
//malg0102