Using ESPectro with Blynk with almost no coding required.
- Arduino IDE
- PlatformIO
You have to install the following libraries:
However, if you're familiar with PlatformIO, you only need to download Adafruit's BMP085 Library manually to lib directory!
We use Blynk Virtual Pins for:
- Controlling NeoPixel + adjust LED color.
- Reading Adafruit BMP sensor data (temperature, humidity, pressure).
- Set analog reading threshold. If the reading is below the threshold, the firmware will attempt to send HIGH value to GPIO 10 (used to toggle ConnectIO).
Here's the pin mapping:
| Virtual Pin No. | Used as | Read / Write |
|---|---|---|
| 0 | NeoPixel LED switch | Write |
| 1 | NeoPixel red color (0 - 255) | Write |
| 2 | NeoPixel green color (0 - 255) | Write |
| 3 | NeoPixel blue color (0 - 255) | Write |
| 4 | Temperature | Read |
| 5 | Pressure | Read |
| 6 | Altitude | Read |
| 7 | Sea-level Pressure | Read |
| 8 | Analog reading (A0) threshold | Write |