Hi Blynk Community,
I have some problems with my project.
I used ESP8266 NodeMCU to connect with Sim800L Module to access internet and connect with Blynk. However, I have a problem. I know, NodeMCU can use wifi, but I want to use it for some areas with WiFi. Can someone help me?
This is the code I used:
#define BLYNK_PRINT Serial
#define TINY_GSM_MODEM_SIM800
#include <TinyGsmClient.h>
#include <BlynkSimpleSIM800.h>
char auth[] = "YourAuthToken";
// Your GPRS credentials
// Leave empty, if missing user or pass
char apn[] = "v-internet";
char user[] = "mms";
char pass[] = "mms";
#include <SoftwareSerial.h>
SoftwareSerial SerialAT(3, 1); // RX, TX
TinyGsm modem(SerialAT);
void setup()
{
// Debug console
Serial.begin(9600);
delay(10);
// Set GSM module baud rate
SerialAT.begin(115200);
delay(3000);
// Restart takes quite some time
// To skip it, call init() instead of restart()
Serial.println("Initializing modem...");
// modem.restart();
// Unlock your SIM card with a PIN
//modem.simUnlock("1234");
Blynk.begin(auth, modem, apn, user, pass);
}
void loop()
{
Blynk.run();
}
and the problem I have: