{"id":1662,"date":"2015-12-13T12:40:38","date_gmt":"2015-12-13T11:40:38","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1662"},"modified":"2015-12-13T17:49:15","modified_gmt":"2015-12-13T16:49:15","slug":"esp-8266-part2","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1662","title":{"rendered":"ESP8266 Part2"},"content":{"rendered":"<p>In a <a href=\"https:\/\/labalec.fr\/erwan\/?p=1657\" target=\"_blank\">previous article<\/a>, we saw how I flashed my new ESP8266.<\/p>\n<p>Now lets see how to \u00ab\u00a0talk\u00a0\u00bb with this module.<\/p>\n<p>First wiring : chpd high, 3v3+gnd, tx to rx \/ rx to tx.<\/p>\n<p>Lets launch putty,<br \/>\nselect serial,<br \/>\nenter the right com port (com7 for me, using my usb to serial adapter),<br \/>\nselect 9600 bauds (if it does not work, try 57600 or 115200).<\/p>\n<p>Lets try the below command (ctrl\/m + ctrl\/j to enter):<br \/>\n-AT should respond OK<br \/>\n-AT+GMR should to get the firmware revision<br \/>\n-AT+CWMODE=3 to select AP &#038; STA mode<br \/>\n-AT+CWLAP to list access points<br \/>\n-AT+CWJAP=\u201cSSID\u201d,\u201cpassword\u201d to connect to an AP<br \/>\n-AT+CIFSR to retrieve the ip (at this point you should be able to ping the module on your home wifi network)<\/p>\n<p><a href=\"http:\/\/imgur.com\/PXhVhXV\"><img decoding=\"async\" src=\"http:\/\/i.imgur.com\/PXhVhXV.png\" title=\"source: imgur.com\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous article, we saw how I flashed my new ESP8266. Now lets see how to \u00ab\u00a0talk\u00a0\u00bb with this module. First wiring : chpd high, 3v3+gnd, tx to rx \/ rx to tx. Lets launch putty, select serial, enter the right com port (com7 for me, using my usb to serial adapter), select 9600 <a href='https:\/\/labalec.fr\/erwan\/?p=1662' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[83],"class_list":["post-1662","post","type-post","status-publish","format-standard","hentry","category-arduino","tag-esp8266","category-18-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1662"}],"version-history":[{"count":4,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1662\/revisions"}],"predecessor-version":[{"id":1672,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1662\/revisions\/1672"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}