At least this question can be answered without much wondering… No, you CAN have multiple devices, as long as they have different auth codes. And even then, if there are two devices with the same auth code, it will work, but much care should be taken (the devices are treated as ONE, and that can have some consequences)
As for the issue: Your device seem to restart, right after connection is established. If it is not power source issues, then you must provide further information, possibly debugging the ESP stack reading Serial output at 78400 bps
some of your screenshots (why not just copy/paste text??) are definitely NOT from your source code provided here.
The reboots in your case is caused by different causes too, check the reset causes:
reset causes:
0:
1: normal boot
2: reset pin
3: software reset
4: watchdog reset
While the result 2 is mostly caused by bad power source (VCC going too low results with this) the wdt (rst 4) is mostly caused by bad source code (program flow halted for too long)
Thanks for the help you are giving me!
You’re right, it seems strange, but I assure you that the sketch is exactly that!
Then inserted in a project where there are no other cards work very well …
Sorry if I answer now, but I had some unexpected events.
The card I’m having problems with is the NODEMCU 8266.
The sketch that is loaded is the base of BLYNK (Blynk Blynk).
When I insert this card creating a new project with the Blynk APP where there are NO other cards, everything is ok.
When invcece insert the Nodemcu card as new1 component in a project where there are already 3 cards in operation (1Arduino Yun Wifi, + Arduino Uno Ethernet Schield 2, + 1 Nodemcu 8266), this last inserted connects and disconnects continuously.
But the card and the sketch, are always the same … so I believe that the 2 Nodemcu cards go into conflict.
You are the info of the first post.
I am using a fixed IP address for this card and I have verified that it is free… not assigned to anyone else.
I don’t understand…
How come it restarts continuously only when in the same project there is already another card Nodemcu 8266?
yes yes, I use a different token for each device … And being that same card Nodemcu 8266 with the exact same sketch, in a project where there are no other devices work perfectly … while in a project where there is another Nodemcu 8266 restarting continuously makes me think it’s a Blynk problem. Also because if I delete the existing Nodemcu from the project and insert the “defective” one it works perfectly.
Ah, the same problem with other board Nodemcu 8266 … I can not insert more than one in the same project. Has it ever happened to anyone? How many do you use at the same time in your projects?
You may need to load in debug serial (connected to USB and your PC) and record any error messages that the ESPs generate… they can go into reset for many reasons… bad/low power, WDT, improper pin connections, old Arduino ESP Core issues and so on…