Arduino MQ135 Data Logging with Python | Save Sensor Data to CSV

Опубликовано: 29 Июль 2026
на канале: YE ZAY HEIN
170
16

In this tutorial, you will learn how to log Arduino sensor data to a CSV file using Python.

We use an Arduino Uno with an MQ135 gas sensor to read air quality data. The sensor values are sent to the computer through serial communication, and a Python script saves the data with date and time into a CSV file.

This project is perfect for beginners who want to learn Arduino, Python, and real-time data logging.

In this video, we cover:
• Hardware setup (Arduino + MQ135 sensor + LCD)
• Arduino code to read sensor data
• Python code for serial communication
• Saving data to CSV file
• Testing and real-time data logging

Components Required:
• Arduino Uno
• MQ135 Gas Sensor
• 16x2 I2C LCD Display
• Jumper Wires
• Breadboard

Project: https://github.com/yezayhein/Arduino-...

This project can be extended to:
• Data visualization (graphs)
• IoT cloud monitoring
• Smart air quality systems

If you found this video helpful, please Like, Share, and Subscribe for more Arduino and Python tutorials.

#Arduino #Python #DataLogging #MQ135 #IoT #Electronics