BLYNK FOR ESP32 AND ESP8266 BOARDS USING GSM SHIELDS

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

BLYNK FOR ESP32 AND ESP8266 BOARDS USING GSM SHIELDS

Postby khoih-prog » Sat Feb 22, 2020 8:48 pm

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

You can install directly from Arduino Library Manager

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

By design, Blynk user can run ESP32/ESP8266 boards with either WiFi or GSM/GPRS by using different sketches, and have to upload / update firmware to change. This library enables user to include both Blynk GSM/GPRS and WiFi libraries in one sketch, run both WiFi and GSM/GPRS simultaneously, or select one to use at runtime after reboot.

- This is the new library, adding to the current Blynk_WiFiManager. It's designed to help you eliminate `hardcoding` your Blynk credentials in ESP32 and ESP8266 boards using GSM shield (SIM800, SIM900, etc).

- You can update GSM Modem and Blynk Credentials any time you need to change via Configure Portal. Data are saved in SPIFFS or configurable locations in EEPROM.

So, how it works?

If it detects no valid stored Credentials 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 a WiFi access point called ESP_xxxxxx. Connect to it using password MyESP_xxxxxx.

You can set:

1. static Config Portal IP address by using Blynk_WF.setConfigPortalIP(IPAddress(xxx, xxx, xxx, xxx))
2. random Config Portal WiFi channel by using Blynk_WF.setConfigPortalChannel(0)
3. selected Config Portal WiFi channel by using Blynk_WF.setConfigPortalChannel(channel)

Image

After you connected, go to http://192.168.4.1., the Browser will display the following page:

Image

Enter your credentials (APN, GPRS User, GPRS Pass, GPRS PIN, Blynk Token, Server and Port).

Image

Then click `Save`. After the board auto-restarted, you will see if it's connected to your Blynk server successfully.

This is the link to Blynk

http://docs.blynk.cc

Blynk was designed for the IoT (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

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

Re: BLYNK FOR ESP32 AND ESP8266 BOARDS USING GSM SHIELDS

Postby khoih-prog » Sun Mar 15, 2020 4:09 am

Releases v1.0.4

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

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

Re: BLYNK FOR ESP32 AND ESP8266 BOARDS USING GSM SHIELDS

Postby khoih-prog » Sat Mar 21, 2020 11:48 pm

Releases v1.0.5

1. Add more modem supports. Thanks to new TinyGSM library v0.10.1+

Supported modems

- SIMCom SIM800 series (SIM800A, SIM800C, SIM800L, SIM800H, SIM808, SIM868)
- SIMCom SIM900 series (SIM900A, SIM900D, SIM908, SIM968)
- SIMCom WCDMA/HSPA/HSPA+ Modules (SIM5360, SIM5320, SIM5300E, SIM5300EA)
- SIMCom LTE Modules (SIM7100E, SIM7500E, SIM7500A, SIM7600C, SIM7600E)
- SIMCom SIM7000E CAT-M1/NB-IoT Module
- AI-Thinker A6, A6C, A7, A20
- ESP8266 (AT commands interface, similar to GSM modems)
- Digi XBee WiFi and Cellular (using XBee command mode)
- Neoway M590
- u-blox 2G, 3G, 4G, and LTE Cat1 Cellular Modems (many modules including LEON-G100, LISA-U2xx, SARA-G3xx, SARA-U2xx, TOBY-L2xx, LARA-R2xx, MPCI-L2xx)
- u-blox LTE-M Modems (SARA-R4xx, SARA-N4xx, _but NOT SARA-N2xx_)
- Sequans Monarch LTE Cat M1/NB1 (VZM20Q)
- Quectel BG96
- Quectel M95
- Quectel MC60 (alpha)

Supported boards/modules

- Arduino MKR GSM 1400
- GPRSbee
- Microduino GSM
- Adafruit FONA (Mini Cellular GSM Breakout)
- Adafruit FONA 800/808 Shield
- Industruino GSM
- RAK WisLTE (alpha)
- ... other modules, based on supported modems. Some boards require special configuration.

More modems may be supported later:
- [ ] Quectel M10, UG95
- [ ] SIMCom SIM7020
- [ ] Telit GL865
- [ ] ZTE MG2639
- [ ] Hi-Link HLK-RM04

Who is online

Users browsing this forum: No registered users and 32 guests