Skip to content

highonvoltageen/Sciosense-APC1-ESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sciosense-airquality-logger

Project overview

This Project supplies the neccessary code files to use the APC1 sensor (UART Version) from sciosense in combination with an ESP32 S2 Mini to gather air-quality data on a Prometheus server.

User Guide

  • If not done install the Arduino IDE from https://www.arduino.cc/en/software
  • Add the ESP32 refference link "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" under File > Preferences... > Additional boards manager URLs
  • Install the ESP32 hardware package under Tools > Board > Boards Manager... searching for esp32 by espressif
  • Add the ESPAsyncWebServer library by dvarrel in the library manager
  • Add the ESPSoftwareSerial library by Dirk Kaar in the library manager
  • Download the APC1 library from https://github.com/sciosense/apc1-arduino and also add it
  • Clone or download this repository
  • Open the Arduino Sketch
  • Enter your SSID and Password as well as IP configuration in the code
  • Select the LOLIN S2 Mini Board and upload the code
  • Add the following lines to the scrape_configs section of your prometheus.yml file

- job_name: 'APC1' scrape_interval: 500ms static_configs: - targets: ['YOUR_ESP_IP']

Wiring

This Project uses the UART Version of the APC1!!!

wiring diagram

License

Creative Commons Licence
Sciosense-APC1-ESP32 by highonvoltageen is licensed under a Creative Commons Attribution 4.0 International License.

About

This Project supplies the neccessary code files to use the APC1 sensor from sciosense in combination with an ESP32 S2 Mini to gather air-quality data on a Prometheus server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages