Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
public:arduino:esp01 [2021/05/25 23:57] rom1public:arduino:esp01 [2021/05/25 23:59] – old revision restored (2021/05/25 23:54) rom1
Line 1: Line 1:
-__false__+[[https://arduino.stackexchange.com/questions/78552/wiring-up-an-esp-01-to-nano?answertab=votes#tab-top|https://arduino.stackexchange.com/questions/78552/wiring-up-an-esp-01-to-nano?answertab=votes#tab-top]]
  
 +[[https://www.electronicslovers.com/2017/11/learn-how-to-setup-wifi-module-esp8266.html|https://www.electronicslovers.com/2017/11/learn-how-to-setup-wifi-module-esp8266.html]]
 +
 +[[https://www.youtube.com/watch?v=YKn2ZXYb_EI|https://www.youtube.com/watch?v=YKn2ZXYb_EI]]
 +
 +arduino nano esp8266 esp 01 wifi
 +
 +{{  :public:arduino:nanoesp01cablage.jpg?nolink&1000x533  |nanoesp01cablage.jpg}}
 +
 +<code>
 +#include <SoftwareSerial.h>
 +SoftwareSerial softSerial(2, 3); // RX, TX
 + 
 +void setup() 
 +{
 +  uint32_t baud = 9600;
 +  Serial.begin(baud);
 +  softSerial.begin(baud);
 +  Serial.print("SETUP!! @");
 +  Serial.println(baud);
 +}
 + 
 +void loop() 
 +{
 +    while(softSerial.available() > 0) 
 +    {
 +      char a = softSerial.read();
 +      if(a =='\0')
 +        continue;
 +      if(a != 'r' && a != 'n' && (a < 32))
 +        continue;
 +      Serial.print(a);
 +    }
 +    
 +    while(Serial.available() > 0)
 +    {
 +      char a = Serial.read();
 +      Serial.write(a);
 +      softSerial.write(a);
 +    }
 +}
 +</code>
 +
 +
 +  * AT – Will give OK on the serial monitor, if Not just unplug vcc Pin of ESP8266 Module for a moment and reconnect again.
 +  * Send AT+RST – Command to Restart module / Optional Command
 +  * Send AT+GMR – To get the firmware version
 +  * Send AT+CWMODE? – Set Module to a Dual Mode Sucha as Standalone + Access Point mode.
 +  * Send AT+CWLAP – Command to Search Nearby Wifi Access Point. Find your Wifi Name in the Search Result.
 +  * Send AT+CWJAP=”Your Wifi Name”,”Your Wifi Password” – Command to Connect to WIFI.
 +  * Send AT+CIFSR – Command to Check Allocated Ip given by your Wifi to your ESP8266 Module/Optional Command.
Navigation
QR Code
QR Code public:arduino:esp01 (generated for current page)