ESP32 Blynk BT/BLE and WiFi Manager

khoih-prog
Posts: 53
Joined: Sat Feb 22, 2020 8:16 pm

ESP32 Blynk BT/BLE and WiFi Manager

Postby khoih-prog » Sat Feb 22, 2020 9:00 pm

https://github.com/khoih-prog/BlynkESP32_BT_WF

You can install directly from Arduino Library Manager

https://www.ardu-badge.com/BlynkESP32_BT_WF

New Releases v1.0.4

1. Enhance Config Portal GUI.
2. Reduce code size.

Enable inclusion of both ESP32 Blynk BT / BLE and WiFi libraries. Then run both WiFi and BT/BLE simultaneously, or select one to use at runtime after reboot. Eliminate hardcoding your Wifi and Blynk credentials and configuration data saved in either SPIFFS or EEPROM.

So, how it works?

If the necessary credentials are not valid or it cannot connect to the Blynk server in 30 seconds, it will switch to `Configuration Mode`. You will see your built-in LED turned ON. In `Configuration Mode`, it starts an access point called `ESP_xxxxxx`. Connect to it using password `MyESP_xxxxxx` .

Image

After you connected, please, go to http://192.168.4.1 or the configured AP IP. The Config Portal screen will appear:

Image

Enter your WiFi and Blynk Credentials (Server, Port, WiFi/BT/BLE tokens)

Image

Then click Save. After you restarted, you will see your built-in LED turned OFF. That means, it connected to your Blynk server successfully.

This is a real-life project using this library : Hack GMC Geigercounter With Blynk (https://www.instructables.com/id/Hack-G ... ith-Blynk/) of Crosswalkersam (https://www.instructables.com/member/Crosswalkersam/)

This is the link to Blynk

http://docs.blynk.cc

Blynk was designed for the Internet of Things. It can control hardware remotely, it can display sensor data, it can store data, visualize it and do many other cool things.

Image

You can install and use Local Blynk Server (RPi Zero W, 3B+, 4, Laptop, PC, etc) to have full control.
The Server source code is in Public Domain and written in Java. You can download, compile and use to be sure having full control.

Use Local Blynk Server

Blynk Server

Blynk Server Source Code

Who is online

Users browsing this forum: No registered users and 29 guests