Skip to content

Arduino sketch for AirGradient DIY PRO V4.2 with added MQTT support, based around an ESP8266 Microcontroller. Leverages EpoxyDuino for automated testing.

Notifications You must be signed in to change notification settings

EricLauber/airgradient_with_tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirGradient for Arduino with Automated Tests

This is an Arduino software implementation for the AirGradient DIY Air Quality Sensor Pro, PCB version 4.2. I have paused development for this project.

I created this fork of AirGradient's Arduino code prior to their implementation of MQTT and local web server support. My intention was to add that functionality while also bringing in other software development best practices such as automated testing and Continuous Integration and patterns like SOLID. Click here for detailed documentation about the implementation.

Please feel free to use this project as an example of applying modern software development best practices to Arduino projects.

Getting Started and uploading this sketch

  1. Download and Install the Arduino IDE, Arduino CLI, or VS Code with the Arduino extension to your system.
  2. Clone this repo or download the latest release (a zip of the source code).
  3. Open airgradient_mqtt.ino with your chosen Arduino tools.
  4. Install all required Arduino reference libraries.
  5. Plug in the microcontroller for your AirGradient (such as an ESP8266 Wemos LOLIN D1 mini) and upload the sketch to the controller.

About

Arduino sketch for AirGradient DIY PRO V4.2 with added MQTT support, based around an ESP8266 Microcontroller. Leverages EpoxyDuino for automated testing.

Topics

Resources

Stars

Watchers

Forks

Languages

  • C++ 94.4%
  • Makefile 3.7%
  • C 1.9%