How to connect to the ESP8266 using a FTDI adapter

If you haven’t purchased the ESP8266, you should.  The cheapest hackable Wi-Fi module you will find for makers bar-none.  Just look on Ebay or Alibaba and you will find plenty of vendors to choose from.

Once you have one the next step is to connect to it. It’s not breadboard friendly and so you’ll need jumper wires to hook things up. You will also need either an Arduino or FTDI adapter.  This tutorial is about connecting the ESP8266 through a FTDI adapter.  I had tried connecting it with a standard Arduino Uno but everything I read suggested the need for another adapter with a serial interface to communicate with it.  I’m sure there is a simple way to hook up an Arduino Uno so if someone wants to let me know, I’ll be happy to try it out.

I had a simple FTDI Basic 5V adapter from Sparkfun so took a chance this could work. The ESP8266 is a 3.3V device so the key is to convert the input power going to the Wi-Fi module to 3.3V. It is also wise to make sure your inputs driving the GPIO pins are also 3.3V. This is not the case with Arduino Uno which outputs 5V signals from its IO pins (another reason to use this FTDI adapter). To be on the safe side you should either level shift your GPIO input signals to 3.3V or use a FTDI 3.3V adapter as a source.

 

ESP8266 Pinout

esp8266_pinout_h-569x236

Hookup

Take a look at the diagram to see how to hookup the power lines and Tx/Rx pins.  Note that in addition to power and IO pins, you need to drive the CH-PD pin HIGH for you to talk to the Wi-Fi module through a serial monitor.

4-15-2015 8-44-19 PM

 

Once this is wired up, connect the USB cable between the FTDI adapter and your PC or MAC and open up your favorite serial monitor app.  I just use the Arduino IDE for this which is free and I’m sure already installed on your computer if you are a maker.

Open up the Tools -> Serial Monitor and make sure the settings are fixed to Both NL & CR and 9600 baud at the bottom of the popup window.

Type AT within the input window at the top and you should see OK!  Success!

4-17-2015 9-40-02 PM

 

To configure your ESP8266 you will need to learn a few AT commands which is the way you communicate with the module. Here is a set of AT commands.

4

266 thoughts on “How to connect to the ESP8266 using a FTDI adapter

  1. For the breadboard users: if you get yourself a experiment-board (pertinax with rows of 3-hole leads on them) you can cut yourself a 6×6 hole piece of board (comprising 12 rows of 3-hole leads) where you solder the ESP on AND 2 x 4-pin rows of header-connector pins. The ESP in the middle and the headers on the rows beside the ESP.
    This gives you just enough adaption to confortably use the ESP on a standard breadboard, and no flying leads are necessary anymore 🙂

  2. Pingback: bactrim antibiotic
  3. Pingback: baclofen
  4. Pingback: natural viagra
  5. Pingback: viagra on line
  6. Pingback: viagra for men
  7. Pingback: viagra for women
  8. Pingback: cialis generico
  9. Pingback: cialis generika
  10. Pingback: tadalafila
  11. Pingback: action of baclofen
  12. Pingback: canadian cialis
  13. Pingback: canadian pharmacy
  14. Pingback: Viagra kaufen
  15. Pingback: Buy generic viagra
  16. Pingback: Viagra pills
  17. Pingback: Canadian viagra
  18. Pingback: watchnudefree.eu
  19. Pingback: Buy cialis
  20. Pingback: cialis cost
  21. Pingback: cialis cooupons
  22. Pingback: cialis free trial
  23. Pingback: Cialis generic
  24. Pingback: atorvastatin
  25. Pingback: cymbalta
  26. Pingback: atorvastatin 10 mg
  27. Pingback: cymbalta dosage
  28. Pingback: atorvastatin 10mg
  29. Pingback: cymbalta for pain
  30. Pingback: cymbalta generic
  31. Pingback: levitra coupon
  32. Pingback: levitra dosage
  33. Pingback: cymbalta reviews
  34. Pingback: levitra vs viagra
  35. Pingback: vardenafil
  36. Pingback: duloxetine
  37. Pingback: vardenafil 20 mg
  38. Pingback: duloxetine 20 mg
  39. Pingback: vardenafil 20mg
  40. Pingback: duloxetine hcl
  41. Pingback: duloxetine 60 mg
  42. Pingback: augmentin
  43. Pingback: levaquin
  44. Pingback: augmentin 875
  45. Pingback: buy levitra
  46. Pingback: levaquin 500 mg
  47. Pingback: buy viagra
  48. Pingback: levaquin 750 mg
  49. Pingback: cheap levitra
  50. Pingback: buy levitra online
  51. Pingback: generic levitra
  52. Pingback: levaquin dosage
  53. Pingback: augmentin dosage
  54. Pingback: levaquin for uti
  55. Pingback: augmentin dose
  56. Pingback: levaquin lawsuit
  57. Pingback: augmentin for dogs
  58. Pingback: levitra 20mg
  59. Pingback: augmentin for uti
  60. Pingback: levitra cost
  61. Pingback: levaquin uses
  62. Pingback: augmentin uses
  63. Pingback: what is levaquin
  64. Pingback: levitra online
  65. Pingback: what is augmentin
  66. Pingback: levitra prices
  67. Pingback: cialis pharmacy
  68. Pingback: levitra recviews
  69. Pingback: levitra vs cialis
  70. Pingback: levitra 40 mg
  71. Pingback: vardenafil generic
  72. Pingback: what is levitra
  73. Pingback: free cialis
  74. Pingback: 5mg cialis
  75. Pingback: free cialis coupon
  76. Pingback: cialis copay card
  77. Pingback: canadian cialis
  78. Pingback: cialis price
  79. Pingback: cialis daily
  80. Pingback: cialis reviews
  81. Pingback: generic for cialis
  82. Pingback: cialis samples
  83. Pingback: cialis saving card
  84. Pingback: liquid cialis
  85. Pingback: cialis for sale
  86. Pingback: cialis for women
  87. Pingback: cialis soft
  88. Pingback: natural cialis
  89. Pingback: cialis 5mg
  90. Pingback: cialis 5mg coupon
  91. Pingback: cialis from canada
  92. Pingback: cialis walmart
  93. Pingback: cialis wikipedia
  94. Pingback: online cialis
  95. Pingback: otc cialis
  96. Pingback: cialis and alcohol
  97. Pingback: cialis medication
  98. Pingback: cost of cialis
  99. Pingback: cialis black
  100. Pingback: cialis on line
  101. Pingback: discount cialis
  102. Pingback: site Blog Name
  103. Pingback: WOW Blog
  104. Pingback: xxlhq.xyz article
  105. Pingback: xxlph.xyz article
  106. Pingback: xxxpics xyz
  107. Pingback: xxlph xyz
  108. Pingback: pornph xyz
  109. Pingback: xxxph top
  110. Pingback: xxlph.top article
  111. Pingback: xyz
  112. Pingback: adulthq top
  113. Pingback: xxxhd.top article
  114. Pingback: xnxxhd top
  115. Pingback: xxxhq top
  116. Pingback: pornph.xyz article
  117. Pingback: xxlhd xyz
  118. Pingback: adultpics top
  119. Pingback: xxxhq.top article
  120. Pingback: xxxph xyz
  121. Pingback: xnxxhd.top article
  122. Pingback: xxlhd.xyz article
  123. Pingback: pornph.top article
  124. Pingback: xxlhq xyz
  125. Pingback: xxlph top
  126. Pingback: xxxph.top article
  127. Pingback: adultph top
  128. Pingback: xxlhq top
  129. Pingback: adulthd top
  130. Pingback: adulthd xyz
  131. Pingback: pornph top
  132. Pingback: adulthq xyz
  133. Pingback: xxxph.xyz article
  134. Pingback: xxxhd top
  135. Pingback: Viagra daily
  136. Pingback: xxx565.top
  137. Pingback: sex365.top
  138. Pingback: sex366.top
  139. Pingback: sex335.top
  140. Pingback: xxx553.xyz
  141. Pingback: sex363.top
  142. Pingback: xxx356.top
  143. Pingback: xxx633.xyz
  144. Pingback: sex363.xyz
  145. Pingback: xxx356.xyz
  146. Pingback: sex335.xyz
  147. Pingback: xxx355.xyz
  148. Pingback: dutch women viagra
  149. Pingback: sophia viagra
  150. Pingback: viagra for sale
  151. Pingback: xxx665.xyz
  152. Pingback: viagra sex
  153. Pingback: cialis prices 10mg
  154. Pingback: cialis prices 20mg
  155. Pingback: cialis prices 5mg
  156. Pingback: xxx565.xyz
  157. Pingback: xxx636.xyz
  158. Pingback: sildenafil dosage
  159. Pingback: xxx636.top
  160. Pingback: canadian viagra
  161. Pingback: cost of viagra
  162. Pingback: herbal viagra
  163. Pingback: online viagra
  164. Pingback: real viagra
  165. Pingback: viagra alternative
  166. Pingback: xxx656.top
  167. Pingback: viagra cost
  168. Pingback: cialis vs levitra
  169. Pingback: viagra in action
  170. Pingback: viagra pill
  171. Pingback: viagra price
  172. Pingback: xxx633.top
  173. Pingback: sex655.xyz
  174. Pingback: xxx553.top

Leave a Reply