/Arduino-data-logger

Data logger with the Arduino Uno connected to a temperature and humidity sensor. UI in Python.

Primary LanguagePython

Data logger with the Arduino Uno

  • Collects data with a sensor
  • Stores data in an array
  • Communicates with PC over serial port
  • Saves data to a file

I used:

  • 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,

Getting started:

  1. Install Pandas:

  2. Upload sensor/sensor.ino to Arduino connected to DHT22

  3. Download the DHT sensor library to Arduino libraries

  4. Run the program in the root directory:

    • python sensor.py

//malg0102