I’m already using this code before blynk change to new one and it’s work just fine before the old app shut down.
I’m already change some line so it can connected to the new app but the virtual LCD keep blinking and didn’t transfer any data to virtual LCD even the button didn’t work either. I’m using ESP8266 to arduino for multiple sensors.
UPDATE: After take a closer look, turn out i didnt change serial communication value on my arduino code from Serial.begin(9600); to
Serial.begin(115200);
I’m still left with some questions, why the baud rate between Node MCU and arduino only works on 115200 but can not works when it is 9600? Is It because the new Blynk cannot work on 9600 like before?
Note: before changing my arduino baud rate, i’m already tried the 9600 baud rate on my Node MCU but it didn’t work
To be honest, I’m surprised it works at any baud rate. You’re using your serial port for debug messages as well as for communication between the two devices.
The hardware setup that you’ve adopted is extremely clunky and would be my last choice for something like this. You’d be far better using a single IoT enabled device to handle your sensors and the communication with Blynk.
If an ESP8266 or ESP32 board doesn’t have sufficient GPIO or Analog then adding multiplexer would be my approach. I certainly wouldn’t go for device to device comms via serial.
yeah honestly, i admit its kinda mess but it still work other way. But i’m open to any suggestion, is there something i can alter without adding any more device/items, because one of the sensor(mpx5050) i’m using is supported by valve and i dont think ESP82266 have enough for supplying it and another sensors.
If you have a device that draws quite a lot of power then you should have a separate power supply, which shares the same ground as the power supply for your device.
This is just as true for the Uno/Mega as it is for the ESP range of boards.