Okay, a few observations…
-
I don’t see the
SimpleStream
connection type, using a script running on a computer to provide a serial to internet communication interface, as a permanent connection solution. It’s fine for getting started with Blynk, but you’ll not get reliable and consistent results that way, as the CMD window on the computer needs to be open all of the time and the computer cannot be allowed to sleep. -
You’ve set-up a “DebugSerial” port using SoftwareSerial. This will serve no purpose unless you have an FTDI adapter connected to pins 2 & 3 of your board top view these debug messages.
-
the hardware serial port (
Serial
) needs to be used exclusively for theSimpleStream
communication. You can’t send debug serial data to this port like this, It will interfere with theSimpleStream
communication (as you’ve discovered):
- You don’t need multiple BlynkTimer objects. One object, preferably called ‘timer’ can handle up to 16 separate timers.
Pete.