Universal board for air quality sensor, based on ESP8266 allows to use the following modules: NODEMCU v3, NODEMCU v2, WEMOS D1 MINI. The device is designed for 6 - 24 volt power supply, using DC-DC converter DC MINI560.
This board allows you to connect PM sensors:
- BMP180 - temperature and humidity
- BME/P280 - temperature, humidity, atmospheric pressure
- HTU21D - temperature and humidity
- SHT3x(I2C) - temperature and humidity
- CCS811 VOC SENSOR - volatile Organic Compounds, CO2 equivalent
- LCD1602/ 2004 / OLED SSD1306 / SH1106 - supported displays
Possibility of connection via 1 Wire interface:
- DTH22(AM2302) - temperature and humidity
- DS18B20 - temperature.
To obtain a ready-made board, contact the developers at email@example.com.
After receiving/assembling the sensor, all that remains is to flash and configure it.
To flash the sensor you can use
airrohr-flasher. Download the executable for your operating system from latest release.
First you need to add a user to the
dialout group (for Ubuntu) to gain access to the USB port:
sudo usermod -a -G dialout $USER
After that, reboot the computer. Next, change the permissions of the file and run it:
chmod +x airrohr-flasher-linux ./airrohr-flasher-linux
Unzip the flasher and double-click to run it. You will also need to install drivers for USB2serial (Windows 10 should start automatically):
Download the flasher and run it. You will also need to install the drivers for USB2serial:
Select the firmware (in English or Russian) and click
Upload. Uploading the firmware will take some time.
After downloading the firmware, reboot the ESP (just disconnect and reconnect the USB).
After a while after the reboot, ESP will create a Wi-Fi network called RobonomicsSensor-xxxxxxxxx. Connect to it from your phone or computer, then an authorization window will open (if it doesn't open in any browser go to 192.168.4.1). Select your Wi-Fi network from the list (or write it yourself if it's not on the list) and fill in the password field. Also write the coordinates of the place where the sensor will be installed in the field below:
Save and restart.
The board will connect to the specified Wi-Fi network and in a couple of minutes you will be able to see the data on map:
For a more detailed setup (you may need it to connect additional sensors or send data to your own server) you need to find the address of the sensor in your Wi-Fi network. To do this, you can use
airrohr-flasher (your computer must be on the same network as the sensor is connected to). Start it and go to the
Discovery tab, then press
Refresh, wait a moment and your sensor address will appear.
Double-click on this address (or type it into your browser), you will get to the sensor menu:
Configuration tab you can configure the sensors used:
And also set up sending to your own server. To do this, in the tab
Robonomics and check
Send to own API and specify the server address and port (65 for sensors connectivity):
Save and restart to save the settings.