Communication Time Lag - Mobile App to Electron

While issuing a minor command like toggling the on board D7 LED on particle electron, it takes 5 to 6 to trigger the LED response on Electron.
Following are the details of the set-up :

  • Particle Electron is talking on 3G with average connection speed to 3Mbps
  • I am running latest firmware 0.6.1 on Electron
    I am using the following basic code from Particle Library :

#define BLYNK_PRINT Serial  // Set serial output for debug prints
#define BLYNK_DEBUG       // Uncomment this to see detailed prints

// Uncomment this, if you want to set network credentials
#include "cellular_hal.h"
STARTUP(cellular_credentials_set("XXXXXXX", "", "", NULL));

// Run "ping", and set Blynk IP to the shown address. 

#define BLYNK_IP        IPAddress(XXXXXXX) 

// Set Blynk hertbeat interval.
// Each heartbeat uses ~90 bytes of data.

// Set Particle keep-alive ping interval.
// Each ping uses 121 bytes of data.

#include <blynk.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).

void setup() {
  Blynk.begin(auth, BLYNK_IP);

void loop() {;

Just wanting to know that if this is normal ? Having a communication delay of 5 to 6 seconds for changes to reflect on hardware end or vice versa.

Please format any code you post so it appears clearer. Thanks.

As for the lag… I suspect that will be an entirely subjective comparison based on one’s cellular carrier’s network speed, congestion and any other flow control they implement. High Mbps doesn’t always equal low latency and lag.

@Gunner Noted … Thanks :slight_smile:

Hello. Please provide more info. What is serial output on your board start? What ping shows? Does your electron works fast without Blynk?

@Dmitriy … Thanks on the quick response. Unfortunately i have to be away from my project for few weeks. I’ll get back as soon as i return …

Hello omer are u using particle SIM card or third party SIM card ?
Am using the electron now and I did try it with blynk just testing it and it’s working good just it delay 1-2 seconds the other times is working really good

How is the data usage with u when u using blynk ?

Just now am having problem with data usage