The examples were updated:
Hello,
is possible to compile BLYNKCLIENT (example for SIM800/900) on ESP8266. Im trying this, but compiler send Error.
BR Greg
Yes, it should be possible - let me check if it worksâŚ
OK, tnx to try.
Arduino sent this error:
BlynkClient:68: error: no matching function for call to âBlynkSIM::begin(char [14], TinyGsm&, char [4], char [8], char [9])â
I use original example without any changes.
BRGreg
Sorry,
my mistake. Im download latest library and compile without error.
TNX
Greg
@vshymanskyy, did you read my message in message box (regarding the +CREG âbugâ)?
Also, can you think about implementing return value of signal quality? (+CSQ) If not constantly (by means of unsolicited results +CSQN) then perhaps by calling AT+CSQ right before/after registering to network (+CREG). Iâm not having any trouble currently, but it will be good to know CSQ return in unknown locations.
Donât work with nodeMCU and sim800l: Soft WDT reset
OK
AT&FZE0
AT&FZE0
OK
AT+CPIN?
ERROR
AT+CPIN?
ERROR
AT+CPIN?
ERROR
AT+CPIN?
+CPIN: READY
OK
Waiting for networkâŚAT+CREG?
+CREG: 0,2
OK
AT+CREG?
+CREG: 0,2
OK
AT+CREG?
+CREG: 0,2
OK
AT+CREG?
+CREG: 0,2
OK
AT+CREG?
+CREG: 0,1
OK
OK
Connecting to internetAT+CIPSHUT
SHUT OK
AT+SAPBR=3,1,âContypeâ,âGPRSâ
OK
AT+SAPBR=3,1,âAPNâ,âinternetâ
OK
AT+SAPBR=3,1,âUSERâ,âgdataâ
OK
AT+SAPBR=3,1,âPWDâ,âgdataâ
OK
AT+CGDCONT=1,âIPâ,âinternetâ
OK
AT+CGACT=1,1
OK
AT+SAPBR=1,1
OK
AT+SAPBR=2,1
+SAPBR: 1,1,â100.84.236.107â
OK
AT+CGATT=1
OK
AT+CIPMUX=1
OK
AT+CIPQSEND=1
OK
AT+CIPRXGET=1
OK
AT+CSTT=âinternetâ,âgdataâ,âgdataâ
OK
AT+CIICR
OK
AT+CIFSR;E0
100.84.236.107
OK
AT+CDNSCFG=â8.8.8.8â,â8.8.4.4â
OK
OK
Connecting to cdn.rawgit.comAT+CIPSTART=1,âTCPâ,âcdn.rawgit.comâ,80
OK
Soft WDT reset
ctx: cont
sp: 3ffef920 end: 3ffefc20 offset: 01b0
stack>>>
3ffefad0: 00000038 3ffee9c4 3ffefb50 40202228
3ffefae0: 00000000 00000000 00000000 40203a28
3ffefaf0: 3ffe8754 00000000 3ffefb50 40203a77
3ffefb00: 00000000 3ffe84cc 3ffe84dc 00003e7d
3ffefb10: 000124f8 00000000 3ffefb50 40203afe
3ffefb20: 3ffe8754 3ffee9dc 0000000a 000124f8
3ffefb30: 3ffe84bc 3ffe84cc 3ffe84dc 402022d4
3ffefb40: 00000000 00000000 3ffee9c4 00000050
3ffefb50: 3fff0a1c 0000004f 00000006 4020360d
3ffefb60: 3ffee9c4 00000000 0000002c 402042ec
3ffefb70: 00000000 3ffee960 3ffee9c4 00000050
3ffefb80: 00000000 3ffee960 3ffee9c4 40202411
3ffefb90: 00000000 3ffe88a0 3ffeeb44 4020360d
3ffefba0: 00000001 3ffe8880 3ffeeb44 40203638
3ffefbb0: 00000000 00000000 3ffeeb44 3ffe8880
3ffefbc0: 3ffe8708 3ffee960 3ffeeb44 40202c30
3ffefbd0: 00000000 3ffeebf8 40204004 3ffeec00
3ffefbe0: 402010ae 00000bb8 00000bb8 3ffeebf8
3ffefbf0: 3fffdad0 00000000 0001c200 3ffeebf8
3ffefc00: 3fffdad0 00000000 3ffeebf0 40204050
3ffefc10: feefeffe feefeffe 3ffeec00 40100718
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
AT
OK
AT+CFUN=0
Hello.
Arduino compile without error.
Esp8266 esp12 after upload firmware just cycling at one second âŚ
Any suggestion?
Ok, I see the problem - it will be fixed soon.
@energokom , Can you please send your full sketch to me?
Hello,
any working example for esp8266 and sim800/900?
Tnx
Greg
Sure, just try latest release - and change sketch to use SoftSerial, baud 38400
FYI - Iâm using the Linksprite sim900 shield, had to use SoftwareSerial pins 7 and 8, not 2 and 3. Also 38400 baud wouldnât work, had to use 19200. All working now !! Only slightly annoying thing is I get garbage in the serial monitor. Would be nice to get some feedback on whether it finds network, joins APN successfully and connects to Blynk server etc.
Apart from that⌠itâs alive !! Muhahahahahaaaa !!
I managed to get it working and did a post here going through it
Hello,
i try combintion ESP8266 v 12E NODEMCU and SIM800E (is new version of SIM800L)
at fist im change a few settings at start.
Then i have problem with this:
1.) A T + C I P C L O S E = 1 send twice! Why close connection?
2.) Only first cycle recive data (to ESP)
Cycling this example ( Space char is from my terminal). Is ok?
(22:15:06.43) A T + C I P S T A R T = 1 , " T C P " , " b l y n k - c l o u d . c o m " , 8 4 4 2
(22:15:06.48) O K
(22:15:06.96)
(22:15:07.00) 1 , C O N N E C T O K
(22:15:07.00) A T + C I P S E N D = 1 , 3 7
(22:15:07.03) > 0 0 0 0 0 0 8 9 d 1 6 3 4 9 9 4 b a 8 7 b 1 d 0 e 2 6 2 4 2 0 2
(22:15:07.07) D A T A A C C E P T : 1 , 3 7
(22:15:07.25)
(22:15:07.28) + C I P R X G E T : 1 , 1
(22:15:13.09) A T + C I P C L O S E = 1
(22:15:13.14) 1 , C L O S E O K
(22:15:13.15) A T + C I P C L O S E = 1
(22:15:13.17) E R R O R
BR Greg
Yes it is OK⌠if it works, why do you bother?
I have problem with transfer data from and to ESP. I use example and i make i little change in library.
On ESP i have relay board. I try to turn on/off relay from Blynk aplication.
After reset send data and recive from blynk server. Blue led turn on.
But when i try to chage relay status, data not exchange with server and ESP.
BR Greg
Are you sure, you use the latest blynk library package?
Yes, i use the latest libray on ESP and Android.
After a few hourâŚ
[483275] Connecting to blynk-cloud.com:8442
[484713] Ready (ping: 533ms).
[563275] Heartbeat timeout
[575037] Connecting to blynk-cloud.com:8442
[576411] Ready (ping: 471ms).
[654566] Heartbeat timeout
[661474] Connecting to blynk-cloud.com:8442
[663348] Ready (ping: 790ms).
I think is problem with answer from server.
I have i low GPRS signal. Maybe is problem, but i try with 5 diferent Gsm providers.
I need help or. direction to resolve problem.
TNX Greg