Sensor Ultrasonic -Serial USB

I’m guessing that you’re doing two things wrong…

  1. you probably haven’t edited the Blynk USB script to point it to the correct cloud server for Blynk IoT

  2. you’ve created a software serial port for debug messages, but you’ve used pins 0 and 1. You haven’t said what hardware you are using, but if it’s an Uno or Nano then pins 0 and 1 are connected internally to the USB port on the board, so the debug messages will be getting jumbled-up with the communication data to/from Blynk via your PC.

You should read this…

Especially the section called “Connecting an Uno/Nano or Mega via a USB connection to a computer (BlynkSimpleStream)”

Pete.