Hey guys. So I tried to get my ESP32 (Firebeetle ESP32E and NodeMCU32-S) to connect as a device with the BLYNK app. It does compile, does upload like usual but the serial monitor won´t show anything afterwards and I do not get an AP for the app. I have tried it with 6 different boards now and really don´t know what else to try.
Im using the standard example code from the blynk.library-1.0.0.beta3 library.
Hoping you guys can help me so I can get on with my project
// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLIuxBA6nS"
#define BLYNK_DEVICE_NAME "Solenoid Valve Push Button"
#define BLYNK_FIRMWARE_VERSION "0.1.0"
#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG
#define APP_DEBUG
// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD
#include "BlynkEdgent.h"
void setup()
{
Serial.begin(115200);
delay(100);
BlynkEdgent.begin();
}
void loop() {
BlynkEdgent.run();
}
Hey Pete,
thanks for the fast reply. I updated the library and shortened the name. Still no output in the serial monitor. Monitor Speed is adjusted of course. Kinda feels like theres no code uploaded on the ESP32 although the IDE tells me it did.
Any other suggestions?
Edit: Code is uploading, after adjusting the LED pin in the settings.h, my BUILTIN RGB just turned on after uploading again.
If the WS2812 RGB is used as the mentioned indicator, the code is working partly.
[9102191] Hold the button for 10 seconds to reset configuration…
[9121542] WAIT_CONFIG => RESET_CONFIG
[9121543] Hold the button for 10 seconds to reset configuration…
[9121545] Resetting configuration!
[9121545] Configuration stored to flash
[9121729] nvs_flash_erase: Success
[9121729] RESET_CONFIG => WAIT_CONFIG
[9124329] AP SSID: Blynk Solenoid-D875D
[9124329] AP IP: 0.0.0.0
[9124330] AP URL: blynk.setup
Oh pardon, i thought i made myself clear in the first post.
I didn´t put in any further code so far. Its the standard Edgent example of the (now) newest lib.
MCU is a DFrobots Firebeetle ESP32E. Standard (ESPRESSIF32-WROOM-32D)
I only changed the parameters in the setting.h folder for the button and the RBG.
Plus the standard main.ccp
// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLIuxBA6nS"
#define BLYNK_DEVICE_NAME "Solenoid"
#define BLYNK_FIRMWARE_VERSION "0.1.0"
#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG
#define APP_DEBUG
// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD
//#define USE_TTGO_T7
#include "BlynkEdgent.h"
void setup()
{
Serial.begin(115200);
delay(100);
BlynkEdgent.begin();
}
void loop() {
BlynkEdgent.run();
}
I´m not quite sure I do understand of what steps taken you are talking about Pete?
I connected my DFrobots Firebeetle ESP32E. Standard (ESPRESSIF32-WROOM-32D) via USBC to my PC. I opened Arduino IDE and opened the Edgent Example. I customised the setting in the setting.h.
I uploaded the code and was hoping for the ESP32 to open an AP so the blynk app on my cellphone can connect to it.