Newbee in need of help please

Hi.
I am using the ESP8266mod with onboard WiFi chip. I can program it with no problems.
Using the Arduino Ide to program.
Using Samsung Tab to program too.
The issue I am getting is when I try and run Examples as simple as BlynkBlink.
In the serial monitor window all I get is :-

Getting IP...
[354] DHCP Failed!

I am well in range of my WiFi as I can run other programs without issues.
The programs that rum are the ones that ask me for My SSID and PASS.
After pressing reset on the ESP board.And I get…

    19:21:30.760 -> ⸮dGI⸮ ⸮L⸮i⸮⸮⸮[48] Connecting to VM2661624
    19:21:33.340 -> [2550] Connected to WiFi
    19:21:33.340 -> [2550] IP: 192.168.0.28
    19:21:33.386 -> [2550] 
    19:21:33.386 ->     ___  __          __
    19:21:33.433 ->    / _ )/ /_ _____  / /__
    19:21:33.433 ->   / _  / / // / _ \/  '_/
    19:21:33.480 ->  /____/_/\_, /_//_/_/\_\
    19:21:33.527 ->         /___/ v0.6.1 on NodeMCU
    19:21:33.574 -> 
    19:21:33.574 -> [2626] Connecting to blynk-cloud.com:80
    19:21:33.621 -> [2835] Ready (ping: 71ms).

This means I am connecting OK.
I have looked around for this Error and tried a few things.

Many thanks in advance.
Antony.

Yes, of course that will work… the examples will not automatically connect to something that you haven’t programmed into them.

Perhaps showing us the whole sketch that doesn’t work will help us see what you are doing… please properly format it (your posted code) as per the Welcome Topic.

Blynk%20-%20FTFC

Hi Gunner.
Yes I see it now.
I need to adjust the

#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>

To

 #include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "bla bla bla";
char ssid[] = "bla bla bla";
char pass[] = "bla bla bla6";

and

Blynk.begin(auth, ssid, pass);

Never tried anything like this before… I like it but it takes time and my age does not help…
Thanks for your help.
Not sure I got the code tagging correct as I use a UK keyboard.
Antony.

2 Likes

You got it perfect :smiley:

1 Like