Connect Sensor To Robonomics Network
- ESP8266 Node MCU v3
- particle sensor SDS011
- micro USB cable
- connecting wires
- 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:
airrohr-flasher from the latest release for your OS.
Connect ESP to computer via micro-USB and run flasher.
Firstly you need to add the user to
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 ./airrohr-flasher-linux
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):
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 192.168.4.1:
Go to Configuration -> Wi-Fi Settings 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, go to Configuration and click
If you want to send data to your own server, enable
Custom APIand write your address and port
Then enable GPS, put in your coordinates. Also enable all the sensors you connected:
Save configuration and restart.
Go to sensors.robonomics.network, and you will see your sensor on the map.