03/2020. esp_base01_bls parts
Electronic parts
x | Name | Info |
---|---|---|
1 | ESPBase01 | the base of the device |
1 | pushbutton | switch the state |
1 | resistors 68 | for the LED |
1 | LED | ... |
1 | JST female connector 1x6 | to connect the button and the LED |
electric wire | ... |
....
03/2020. esp_base01_bls design
....
03/2020. esp_base01_bls diagram
....
03/2020. esp_base01_bls manual
The Arduino code and the used libraries.
Install the used drivers and upload the code (raw) to the ESP8266.
The open-source Arduino Software -Arduino IDE
A client library for the Arduino Ethernet Shield that provides support for MQTT. -pubsubclient
Debouncing library for Arduino and Wiring -Bounce2
ESP8266 WiFi Connection manager with web captive portal -WiFiManager
Program it through the Arduino IDE.
After you click the "upload" button in Arduino, it will start compiling your program.
At this time: press and HOLD the"PRGM" button (brown),
tap the "RSET" button
and RELEASE the "PRGM" button when the Arduino IDE finishes the compile.
Reset the device manual. Run the BLS01-AP on a WiFi enabled device and use the WifiManager to connect to your network. You can find the current IP of the BLS in the MQTT message.
Node-RED flow.
Flow-based programming for the Internet of Things -Node-RED
....
03/2020. esp_base01_bls result
....