This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
connect_to_esp8266_only_using_arduino_uno [2014/12/31 18:08] en10 created |
connect_to_esp8266_only_using_arduino_uno [2014/12/31 18:26] en10 |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Connect to ESP8266 ONLY using Arduino Uno ====== | ||
+ | |||
+ | |||
You can use the Arduino Uno as a USB to TTL connector allowing you to communicate with the ESP8266. | You can use the Arduino Uno as a USB to TTL connector allowing you to communicate with the ESP8266. | ||
- | [b]BE ADVISED[/b] that the ESP8266 is rated at 3.3V and the UNO RX and TX pins are rated as 5V but i've had no issues so far. | ||
- | [img]http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[/img] | + | **BE ADVISED** that the ESP8266 is rated at 3.3V and the UNO RX and TX pins are rated as 5V but i've had no issues so far. |
- | [img]http://zeflo.com/wp-content/uploads/2014/09/esp8266_pinout_h-569x236.png[/img] | + | |
+ | {{::arduinouno_r3_front_450px_1_.jpg?450|}} {{:esp8266_pinout_h-569x236_1_.png?400|}} | ||
I connected them as follows: | I connected them as follows: | ||
- | UNO --- ESP8266 | + | * UNO --- ESP8266 |
- | RX ----- RX | + | * RX ----- RX |
- | TX ----- TX | + | * TX ----- TX |
- | GND --- GND | + | * GND --- GND |
- | 3.3V --- VCC | + | * 3.3V --- VCC |
- | 3.3V --- CH_PD | + | * 3.3V --- CH_PD |
+ | |||
+ | Breadboard may be required to connect both VCC and CG_PD to 3.3V pin. | ||
- | Breadboard may be required to connect both VCC and CG_PD to 3.3V pin | ||
I loaded the BareMinimum sketch, so that no previous sketch causes issues. | I loaded the BareMinimum sketch, so that no previous sketch causes issues. | ||
- | Once Connected open the Serial Monitor and set Baud to 9600. | + | ---- |
+ | |||
+ | Once Connected open the Serial Monitor and set "Both NL & CR" and Baud to 9600. | ||
Send "AT" to test. If nothing comes up try different baud rates such as 115200 or 57600 and retest. | Send "AT" to test. If nothing comes up try different baud rates such as 115200 or 57600 and retest. | ||
+ | |||
If you get "OK" reply then all is working. | If you get "OK" reply then all is working. | ||
+ | |||
+ | ---- | ||
List of commands can be found here: | List of commands can be found here: | ||
- | [url=http://wiki.iteadstudio.com/ESP8266_Serial_WIFI_Module#AT_Commands]AT Command List[/url] | + | [[http://wiki.iteadstudio.com/ESP8266_Serial_WIFI_Module#AT_Commands|AT Command List]] |
Arduino as a webserver example: | Arduino as a webserver example: | ||
- | [url=http://allaboutee.com/2014/12/30/esp8266-and-arduino-webserver/]How To Use the ESP8266 and Arduino as a Webserver[/url] | + | [[http://allaboutee.com/2014/12/30/esp8266-and-arduino-webserver|How To Use the ESP8266 and Arduino as a Webserver]] |
It works with my setup also just change the RX and TX pins to the same as in the video. | It works with my setup also just change the RX and TX pins to the same as in the video. |