My blynk does not appear in arduino serial monitor

Before creating the topic

  1. Search forum for similar topics
  2. Check http://docs.blynk.cc and http://help.blynk.cc/
  3. Add details :
    • Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
    • Smartphone OS (iOS or Android) + version
    • Blynk server or local server
    • Blynk Library version
    • Add your sketch code. :point_up:Code should be formatted as example below.

Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.


#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>



// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "c2af9d605fff4e96abcf5390572fb3fb";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Virus";
char pass[] = "billa3006";
 
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX

// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600

ESP8266 wifi(&EspSerial);
int offset =20;// set the correction offset value
void setup()
{
  // Debug console
  Serial.begin(9600);   
  EspSerial.begin(ESP8266_BAUD);
  delay(10);
  
  pinMode(4, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(7, OUTPUT);
}
   
  BLYNK_WRITE(V0)
{
if (param.asInt()) {
digitalWrite(4, HIGH);
} else {
digitalWrite(4, LOW);
}}
  
  BLYNK_WRITE(V1)
{
if (param.asInt()) {
digitalWrite(5, HIGH);
} else {
digitalWrite(5, LOW);
}}
  
  BLYNK_WRITE(V2)
{
if (param.asInt()) {
digitalWrite(6, HIGH);
} else {
digitalWrite(6, LOW);
}}
  
  BLYNK_WRITE(V3)
{
if (param.asInt()) {
digitalWrite(7, HIGH);
} else {
digitalWrite(7, LOW);
}}

void loop()
{
 int volt = analogRead(A0);// read the input
  double voltage = map(volt,0,1023, 0, 2500) + offset;// map 0-1023 to 0-2500 and add correction offset
  
  voltage /=100;// divide by 100 to get the decimal values
  Serial.print("Voltage: ");
  Serial.print(voltage);//print the voltge
  Serial.println("V");
  Blynk.virtualWrite(V4, voltage);

delay(500);
 

Blynk.run();
  
}


Your void loop() is incorrect for Blynk use… and you should not be using delays… Use timer functions

But the big issue I see is that you haven’t even started the Blynk connection, with Blynk.begin() or Blynk.config(), in your void setup() :stuck_out_tongue_winking_eye:

http://docs.blynk.cc/#blynk-firmware-configuration