Quickstart template not working

Hello everyone, new to Blynk here! I’m just starting out and getting to know the platform. I’ve started by reading the documentations, and soon got the the part where some hands-on work was required (setting up the first device). Here comes the issue. I’ve been trying to follow the guidelines to setup my frist online blynk device, i’ve watched videos on how to do it and while every example follows a streamlined process that works perfectly, when i try to do it it just doesn’t. I follow the step by step guide, the code compiles and uploads, but i get no output. The device gets registered on Blynk.Console but it appears offline, and the output that the guide says i should see just isn’t there. Nybody has experienced the same issue and has a solution?
I’m using an Arduino Portenta C33 board. The code is copy pasted from the guide, buy i’ll post it down here for clarity:

/*************************************************************

  This is a simple demo of sending and receiving some data.
  Be sure to check out other examples!
 *************************************************************/

/* Fill-in information from Blynk Device Info here */
#define BLYNK_TEMPLATE_ID           "TMPL4QRwzteSN"
#define BLYNK_TEMPLATE_NAME         "Quickstart Template"
#define BLYNK_AUTH_TOKEN            "89vvUes0YPkeG5xqDXLNVzEUUv_YyexU"

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial


#include <SPI.h>
#include <WiFi101.h>
#include <BlynkSimpleWiFiShield101.h>

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "LeaRenergy2";
char pass[] = "@LeaRenergy2022@";

BlynkTimer timer;

// This function is called every time the Virtual Pin 0 state changes
BLYNK_WRITE(V0)
{
  // Set incoming value from pin V0 to a variable
  int value = param.asInt();

  // Update state
  Blynk.virtualWrite(V1, value);
}

// This function is called every time the device is connected to the Blynk.Cloud
BLYNK_CONNECTED()
{
  // Change Web Link Button message to "Congratulations!"
  Blynk.setProperty(V3, "offImageUrl", "https://static-image.nyc3.cdn.digitaloceanspaces.com/general/fte/congratulations.png");
  Blynk.setProperty(V3, "onImageUrl",  "https://static-image.nyc3.cdn.digitaloceanspaces.com/general/fte/congratulations_pressed.png");
  Blynk.setProperty(V3, "url", "https://docs.blynk.io/en/getting-started/what-do-i-need-to-blynk/how-quickstart-device-was-made");
}

// This function sends Arduino's uptime every second to Virtual Pin 2.
void myTimerEvent()
{
  // You can send any value at any time.
  // Please don't send more that 10 values per second.
  Blynk.virtualWrite(V2, millis() / 1000);
}

void setup()
{
  // Debug console
  Serial.begin(115200);

  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
  // You can also specify server:
  //Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, "blynk.cloud", 80);
  //Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass, IPAddress(192,168,1,100), 8080);

  // Setup a function to be called every second
  timer.setInterval(1000L, myTimerEvent);
}

void loop()
{
  Blynk.run();
  timer.run();
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!
}

This is the step i’m stuck on, with a blank serial monitor on the arduino IDE even after succesfully compiling and uploading the code. Suggestions?
Thanks in advance!

I’m not familiar with the Arduino Portenta C33 board - in fact I made a point of avoiding all of the Arduino boards because they are over priced and far too diverse for my liking.

The Portenta C33 is listed in Blynk’s list of compatible boards, but only when using Blynk NCP in a dual-processor setup - not something that’s covered by QuickStart and certainly not something I’d suggest as a starter project.

Is there any reason why you chose this board?

Personally, id suggest starting with a simple ESP32 dev board that costs a couple of pounds/euros/dollars rather than the more exotic boards available.

Pete.

Hello Pete, thanks for the reply! No particular reason, it’s simply what i had available at hand. I was not aware of the complications/limitations of the board i was using, thanks for making those clear. I will be switching to an ESP32 with hopefully better results!

1 Like