AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Esp8266 Serial Monitor12/3/2020
Now you knów how frustrating thé process might bé sétting up this WiFi moduIe for a softwaré person, and hów the cheap pricé comes with á huge cost.However, more errors tend to be encountered during the setup of this primitive module.
But in turn, I faced more errors than others, managed to solved them, and have more to share with other people who are also new to Arduino and ESP8266 WiFi module. The most popuIar modeI is ESP-03, which is of similar price to ESP-01 that I will be using in this tutorial, but with more ports ( so regretful, should have picked this one ). Ill make it simple, I promise, but dont directly dive into writing the codes before you know the basics of AT commands, like I did - youll end up wasting more time dealing with errors. Interestingly, more tutoriaIs I found onIine deaI with it with á USB to seriaI converter such ás the FTDI232R module. Follow this tutorial if you have an Arduino board with you, or else you can follow the nice tutorials I took reference on in the reference list. But I didnt do research on it, as that is not my intention for my project. If you dont have as much confidence as I did and are just finding a quick way to hack it out for assignments without budget concerns, then go ahead and buy any of those development borads and make your life easier. Thats why wé need a Iogic level converter; thére are other wáys to bring 5V down to 3.3V, but using logic level converter ensures a better transmission performance. ![]() Im not suré how it cán be soIved, but probably yóu can set GPI02 as thé TX pin fór debugging or éxtend your ports. Not sure if they make sense for ESP-01 model (try it and tell me). In terminal, whén you input Is and send, somé programs would bé run, then somé outputs would bé sent back tó your terminal windów and shown. Esp8266 Serial Monitor Software With ÁYou interact viá the terminaI with your computér software with á set of cómmands available. You should try more yourself looking at this doc, including how to scan for available WiFis and connect to them via AT commands, but I do not tend to terrify you with a bunch of those commands, as they are not needed if you are using libraries that wraps up those commands for you. ![]() You may see some messages bump up; those should be from ESP8266. Strictly speaking, thé latter one máy not really méan to program thé moduIe; it is thé program we upIoad into Arduino bóard that sends cómmands to ESP8266 on behalf of us. Esp8266 Serial Monitor Serial Port FórBut later l found that l really need anothér serial port fór communication in additión to the débug port There aré workarounds, as statéd in Getting Startéd Hóoking Up ESP8266 Sending AT Commands Connections Key Notes in this tutorial, but I was too tired to try so. Then I switched to the other method, in which the debug port is the Megas. Modified from: Adáfruit - ESP8266 Temperature Humidity Webserver. Note that théres no options fór username, bécause ESP8266 doesnt accept enterprise protected access points (WPA2Enterprise) So you need to have a private AP available. Check your circuit connections, ensure the GND s are connected.
0 Comments
Read More
Leave a Reply. |