DNS FAIL ERROR | ESP Wi-Fi | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
DNS FAIL ERROR
No permission to create posts
February 24, 2018
5:50 am
Avatar
GOURISH
New Member
Members
Forum Posts: 1
Member Since:
February 24, 2018
sp_UserOfflineSmall Offline

HI EVERYONE

I am new to this forum

i am getting dns fail issue when i enter AT+CIPSTART=0,"TCP","https://thingspeak.com/",80

can anyone help plz

thank u

February 24, 2018
4:53 pm
Avatar
piajola

Gold
Members
Forum Posts: 99
Member Since:
October 12, 2015
sp_UserOfflineSmall Offline

Hi GOURISH,

Can you tell us a little (lot) more about what are you doing?
I have 1 year of data with an (avrmega 168 antidiluvian) Arduino with a ESP-01 4 megabit flash (512 mByte) so ... this AT thing works very well
Note you need 3.3 V 750 ma capable power supply, otherwise you will have electrical issues when the RADIO part transmit
Also the number of "\ r \ n" (return-new line 13-10 0x0D-0x0A) at the end of line is important (vital for the internet trip)
Another also, the syntax can vary a little in different firmware (try AT+GMR)
my try 10 minutes ago said
AT+GMR (6)                                                             me
AT version:1.4.0.0(May 5 2017 16:10:59) (40)   ESP-01
SDK version:2.1.0(116b762) (26)
compile time:May 5 2017 16:37:48 (33)
OK (2)

with the ESP-01 connected to a serial terminal (ie. Arduino serial monitor with cr+nl) ANY serial terminal - Google is your friend ...

better to type this, copy/paste sometimes tries his jokes

-- AT+CIPSTART="TCP","api.thingspeak.com",80 (41 char)
you get CONNECT
-- AT+CIPSEND=142 (14 char)
you get >
-- GET /update?api_key=16-alpha-numeric&field1=10.45&field2=15.40&field3=20.35&field4=25.30&field5=30.25&field6=35.20&field7=40.15&field8=45.10 (142 char)
you get the next record number in your collected data(1 if starting)

in 2-5 seconds you see in the TS channel associated with the api_key the 8 little points in the 8 fields and so you know you did this well
(life-warranty-batteries-included)

then you can start your fight with arduino to control the ESP-01 but you are sure the data arrives 

Smile

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Richard, naturepur, Nimper, kaplan@sor.cz, projectid030, mrlee234

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457