One of the solution is that we can change the Baud Rate by giving AT command,
AT+CIOBAUD= Required Baud Rate
We can change the baud rate to 9600 by just writing AT+CIOBAUD=9600. And our problem is solved. But what I found is that, in my module this command was not at all working. I don't know the reason but it may be because of older firmware may not have this command defined in it.
So first go for this step. If Your Baud Rate get changed, than no need to read this blog further. The response after entering this command will be something like this.
But If you face the similar problem which I have faced i.e. The command is not at all working on your module, than you need to go for firmware upgrading of your wifi module.
Firmware Upgrading
Firmware upgrading is not at all difficult. Just 2-3 steps and 2-3 minutes and you are done with it. First of all you need to download these necessary files before proceeding further.
After that, Open esp8266_flasher in that folder. And than select the bin file i.e. the firmware version you want to update, and also provide the COM port. It will be same port on which your Arduino is connected. Than click the download button.
It will take a minute while flashing your module. And after it complete its work, than you are ready to play with this module at 9600 Baud rate using Software Serial. And the good news is that, in this firmware, you can change the baud rate by the command AT+CIOBAUD to you required baud rate.
You can definitely watch my video in which I'm flashing my own module. I have made it in two Languages,
ENGLISH
HINDI
Files for upgrading ESP8266 firmware click here.
#techiesms
well i stumbled across this while looking for info about buffering data before uploading to thingspeak... but anyway, any serial communication from an arduino on a 8 or 16mhz core clock cycle at 115200 baud is going to be a little unreliable. not going into specifics but the timing is ~8% off (under normal conditions).
ReplyDeleteanother answer, if your using serial comms a lot is to get some 8.34mhz crystals, that will allow an arduino to generate serial clocks a lot closer to ideal values.
i got error or msg like this "ets Jan 8 2013,rst cause:2, boot mode:(1,5)
ReplyDelete". after upgrade the firmware and no AT command supported
hi there.... i try to find the .bin file for esp8266 anywhere and i try to flash it but never work................. when i try ur .bin file everything is fine..... i am already hopeless with my esp8266 .... going to throw it in trash bin ....... it make me headache for almost 2 days..... but when i find ur blog.... everything is fine now............
ReplyDeletegreat work bro..... thx so much.......
Your English videos is great. All parts are well understood.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWhat is this
ReplyDeleteCan you give a solution
AT+CWJAP="e-lab","PASSWORD"
OK
AT+CIPSTART=⸮TCP⸮,⸮api.thingspeak.com⸮,80
Link typ ERROR
ERROR
AT+CIPSTART=⸮TCP⸮,⸮api.thingspeak.com⸮,80
Link typ ERROR
ERROR
AT+CIPSTART="TC","api.thingspeak.com",80
Link typ ERROR
ERROR
AT+CIPSTART="TCP',"api.thingspeak.com",80
Link typ ERROR
ERROR
AT+CIPSTART="TCP',"http://api.thingspeak.com",80
Link typ ERROR
ERROR
AT+CWJAP?
+CWJAP:"e-lab"
OK
AT+CIPSTART="TCP',"184.106.43.149",80
Link typ ERROR
ERROR
AT+CIPSTART="UDP',"http://api.thingspeak.com",80
Link typ ERROR
ERROR
Leaving
ReplyDeleteFailed to leave flash mode....
Does this means that uploading is complete?