My ESP8266 does not emit Wifi anymore

Hi, I have used this board ESP8266 Wemos D1 R1, and before programming it, it emitted Wifi when connected to USB cable. Since I finally got the code right and uploaded, it doesn't emit Wifi anymore. I have compiled and uploaded the Blynk example code.

Thanks a lot in advance!

[code]
#include <dummy.h>

#include <ESP8266WiFiGratuitous.h>
#include <WiFiServerSecure.h>
#include <WiFiClientSecure.h>
#include <WiFiClientSecureBearSSL.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WiFiUdp.h>
#include <ESP8266WiFiType.h>
#include <CertStoreBearSSL.h>
#include <ESP8266WiFiAP.h>
#include <WiFiClient.h>
#include <BearSSLHelpers.h>
#include <WiFiServer.h>
#include <ESP8266WiFiScan.h>
#include <WiFiServerSecureBearSSL.h>
#include <ESP8266WiFiGeneric.h>
#include <ESP8266WiFiSTA.h>
#include <WiFiClientSecureAxTLS.h>
#include <WiFiServerSecureAxTLS.h>

/*************************************************************
 
#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

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

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

// Attach virtual serial terminal to Virtual Pin V1
WidgetTerminal terminal(V1);

// You can send commands from Terminal to your hardware. Just use
// the same Virtual Pin as your Terminal Widget
BLYNK_WRITE(V1)
{

  // if you type "Marco" into Terminal Widget - it will respond: "Polo:"
  if (String("Marco") == param.asStr()) {
    terminal.println("You said: 'Marco'") ;
    terminal.println("I said: 'Polo'") ;
  } else {

    // Send it back
    terminal.print("You said:");
    terminal.write(param.getBuffer(), param.getLength());
    terminal.println();
  }

  // Ensure everything is sent
  terminal.flush();
}

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

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

  // Clear the terminal content
  terminal.clear();

  // This will print Blynk Software version to the Terminal Widget when
  // your hardware gets connected to Blynk Server
  terminal.println(F("Blynk v" BLYNK_VERSION ": Device started"));
  terminal.println(F("-------------"));
  terminal.println(F("Type 'Marco' and get a reply, or type"));
  terminal.println(F("anything else and get it printed back."));
  terminal.flush();
}

void loop()
{
  Blynk.run();
}
[/code]

--> I would remove the credentials from the sketch you posted...


have you tried a simple WiFi test ?

ok thanks and no I haven't. How to do that? Maybe a simple example may exist to test the wifi...?

yes, directly in the examples for your board

oh great thanks!! Do i need to change the Name of the server to the original name? Also I never put any password so I suppose I let the password field blank : "".
Correct?

I did this: open this example code, changed the name of the network and put no password, compelled, uploaded... No errors.. But still no Wifi...? Anything more to do...?

Are you joining a WiFi network or do you want your ESP to create the wireless network?

Well to be honest I would like to learn both. But first step, I was thinking of making this board emit Wifi signal, so I can connect to it with my phone. If I understand the Blynk program from MIT (not standard Blink), it allows me to control the board from the App in the phone as long as my phone is connected to the Wifi of the board...

So create the Wifi in the first instance...

Read this for example (there are tons of on line examples)

If you want to create the network, look at the SoftAP (access point) mode example

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.