Please help with the symptoms of not being read on the blynk map

Can someone help me plz…

Now i setting the ESP32 Dev kit board+ NEO-7M GPS module+ADS1115 module. and i upload my GPS location data to blynk cloud and add the map widget at my dashboard, template too. under my code, but any gps signal read at map widget. Can someone check these problem with my code?

• Blynk Library version
• Add your sketch code.

#include <WiFi.h>

#include <WiFiClient.h>

#include <BlynkSimpleEsp32.h>

#include <Wire.h>

#include <Adafruit_ADS1X15.h>

#include <TinyGPS++.h>

// Replace with your network credentials

char ssid[] = "aaaa";

char pass[] = "password";

// Replace with your Blynk auth token

char auth[] = "xxxxxxx";

// Create an instance of the ADS1115

Adafruit_ADS1115 ads;

// Create an instance of the TinyGPS++ object

TinyGPSPlus gps;

// Set the analog input pin for the ADS1115

const int analogInPin = 0;

void setup()

{

  // Start the serial communication with a baud rate of 9600

  Serial.begin(9600);

  // Start the I2C communication with a clock speed of 400kHz

  Wire.begin(21, 22, 400000);

  // Initialize the ADS1115 with the default I2C address (0x48)

  ads.begin();

  // Connect to Wi-Fi network

  WiFi.begin(ssid, pass);

  // Wait for connection

  while (WiFi.status() != WL_CONNECTED)

  {

    delay(1000);

    Serial.println("Connecting to WiFi...");

  }

  // Print the Wi-Fi connection information

  Serial.println("Connected to WiFi");

  Serial.println("IP address: ");

  Serial.println(WiFi.localIP());

  // Connect to Blynk server

   Blynk.begin(auth, WiFi.SSID().c_str(), WiFi.psk().c_str());

  // Wait for Blynk connection

  while (!Blynk.connected())

  {

    delay(0);

    Serial.println("Connecting to Blynk...");

  }

  // Start the GPS module with a baud rate of 9600

  Serial1.begin(9600);

}

void loop()

{

  // Check if there is data available from the GPS module

  while (Serial1.available() > 0)

  {

    // Read the data from the GPS module

    gps.encode(Serial2.read());

  }

  // Check if there is a fix from the GPS module

  if (gps.location.isValid())

  {

    // Read the voltage from the ADS1115

    int16_t adc0 = ads.readADC_SingleEnded(0);

    // Convert the ADC value to a voltage in millivolts

    float voltage = ((float)adc0 / 32767.0) * 5.0 * 2.0 - 5.0;

    // Print the voltage and GPS data

    Serial.print("Voltage: ");

    Serial.println(voltage);

    Serial.print("Latitude: ");

    Serial.println(gps.location.lat(), 6);

    Serial.print("Longitude: ");

    Serial.println(gps.location.lng(), 6);

    // Send the GPS data to Blynk

    Blynk.virtualWrite(V2, gps.location.lat(), gps.location.lng(),"GPS Location");

    // Send the GPS data to Blynk

    Blynk.virtualWrite(V4, gps.location.lat(), "GPS lat");

    // Send the GPS data to Blynk

    Blynk.virtualWrite(V5, gps.location.lat(), "GPS lng");

  }

  // Run Blynk event loop

  Blynk.run();

}

@kng02288 Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Copy and paste these if you can’t find the correct symbol on your keyboard.

Pete.

1 Like

This doesn’t make any sense to me.
Can you re-word this (or post te information in jour native language) and describe in detail exactly what is working, and what is not.

Pete.

I opened blynk cloud, entered the code as above, and confirmed that online appeared.

After adding my device to the template and adding the map widget in the web dashboard,

The location information of the virtual pin V2 in the code is set to read from the map widget.

In fact, there was a phenomenon in which the letters were broken on the monitor dashboard in the Arduino IDE, but online was floating in the blynk cloud, so I was using it without much concern.

I think it is not possible to transmit my location information to the blynk cloud via Wi-Fi.

Sorry, still don’t understand.

I have absolutely no idea what this means.

Pete.

oh, like this problem

8:37:57.621 → �� ~�1Q1��H��e!�!m1��Connecting to WiFi…

18:37:59.034 → Connected to WiFi

18:37:59.080 → IP address:

so i change the baud, but steel doesn’t working :frowning:

If you want to see the boot messages from your board and the debug messages from your sketch at the same time then they both need to be using the same baud rate.
The native baud rate for an ESP32 is usually 115200, so try using this in your Serial.begin() command.

Pete.

When set in the way

18:53:55.397 → rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
18:53:55.444 → configsip: 0, SPIWP:0xee
18:53:55.444 → clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:53:55.444 → mode:DIO, clock div:1
18:53:55.444 → load:0x3fff0030,len:1344
18:53:55.444 → load:0x40078000,len:13924
18:53:55.444 → ho 0 tail 12 room 4
18:53:55.444 → load:0x40080400,len:3600
18:53:55.444 → entry 0x400805f0
18:53:56.836 → Connecting to WiFi…
18:53:56.836 → Connected to WiFi

I have received these messages!

So your issue is solved now?

Pete.

Unfortunately not yet :cry:

So what EXACTLY is your problem?

Pete.

I think I need to more study.

Thank you for your help :+1:

Okay, I’m going to close this topic as it is going nowhere at the moment.

When you’ve decided what your real issue is then I’d suggest that you read this BEFORE creating your new topic…

Pete.