Connect Sensor To Robonomics Network


  • ESP8266 Node MCU v3
  • particle sensor SDS011
  • micro USB cable
  • connecting wires


Connection Diagram


Connecting SDS011

  • Pin 1 (TX) -> (RX) Pin D1 (GPIO5)
  • Pin 2 (RX) -> (TX) Pin D2 (GPIO4)
  • Pin 3 (GND) -> GND
  • Pin 4 (2.5m) -> unused
  • Pin 5 (5V) -> VU
  • Pin 6 (1m) -> unused

Sensor is shipped with a USB adapter and connection wires. You don't need USB adapter, so disconnect wires from it.


You may connect it to ESP via connecting wires "Female-Male":


And connect them to your ESP according to the connection diagram.

Or you can use wires from USB adapter. Disconnect one wire: push on it with some sharp object and carefully pull the wire:


Insert it to last connector:


Then cut the connector in the middle:


And connect them to ESP according to the diagram:


Connecting DHT22

  • Pin 1 => 3V3
  • Pin 2 => Pin D7 (GPIO13)
  • Pin 3 => unused
  • Pin 4 => GND

Connecting BME280/HTU21D

  • VCC -> Pin 3V3
  • GND -> Pin GND
  • SCL -> Pin D4 (GPIO2)
  • SDA -> Pin D3 (GPIO0)

Device Firmware

Download airrohr-flasher from the latest release for your OS. Connect ESP to computer via micro-USB and run flasher.

For Linux:

Firstly you need to add the user to dialout group:

sudo usermod -a -G dialout $USER

Then logout and login or restart computer.

Now you can run flasher (don't forget to give it permission to execute):

chmod +x airrohr-flasher-linux

For Windows:

Unpack flasher and run it with double click. You need to install drivers for the USB2serial chipset (Windows 10 should be able to automatically download these):

For MacOS

Download flasher and run it. You need to install drivers for the USB2serial chipset:

Choose firmware (English or Russian) and press upload. It will take a few minutes.



Reboot your ESP (simply reconnect USB to computer). Then connect to airRohr--xxxxxxx Wi-Fi network and in your browser write address (or configuration page will be opened automatically) and add the information about your Wi-Fi network:


Then press "Save configuration and restart" and ESP will be connected to the provided Wi-Fi network.


Then find ESP in local network (for that your computer and ESP must be in one network). You can do it using airrohr-flasher. Run it, go to the Discovery tab and press Refresh, then you'll be able to see the address.


Open ESP local address in your browser and go to Configuration.


In APIs make sure that Robonomics is chosen:


If you want to send data to your own server, enable Custom API and write your address and port

Then go to Sensors tab, enable GPS and put in your coordinates. Also enable the sensors you connected:


Then press Save configuration and restart.


Go to, and you will see your sensor on the map.


← Configure Metrics With Prometheus And Grafana IoT Sensors Connectivity →