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

175 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: writeessay
  3. Pingback: Cheap cialis
  4. Pingback: Canadian viagra
  5. Pingback: Cialis vs viagra
  6. Pingback: Viagra 5mg prix
  7. Pingback: Generic cialis
  8. Pingback: Cialis generic
  9. Pingback: Generic viagra
  10. Pingback: Cheap cialis
  11. Pingback: Cialis 20mg
  12. Pingback: Buy cialis
  13. Pingback: Generic cialis
  14. Pingback: Generic cialis
  15. Pingback: Cialis 20mg
  16. Pingback: fastfucksite.mobi
  17. Pingback: 814fRK3EX2M
  18. Pingback: hdmobilesex.me
  19. Pingback: go to the page
  20. Pingback: xxxvipsearch.mobi
  21. Pingback: here is the link
  22. Pingback: tedwap.me
  23. Pingback: click here
  24. Pingback: topdatingse.mobi
  25. Pingback: fastsexportal.mobi
  26. Pingback: tube
  27. Pingback: as reported here
  28. Pingback: youtube.com
  29. Pingback: computer-arts.info
  30. Pingback: solars.biz
  31. Pingback: buy cialis uk
  32. Pingback: ABrand
  33. Pingback: tadalafil 40 mg
  34. Pingback: cialis pills
  35. Pingback: cost cialis 20mg
  36. Pingback: tadalafil generic
  37. Pingback: cialis generic
  38. Pingback: levitra generic
  39. Pingback: sildenafil citrate
  40. Pingback: viagra 100mg
  41. Pingback: sildenafil 100mg
  42. Pingback: augmentin 875 mg
  43. Pingback: amiodarone 200 mg
  44. Pingback: lipitor generic
  45. Pingback: simvastatin 20 mg
  46. Pingback: diflucan 150 mg
  47. Pingback: levitra 20 mg
  48. Pingback: viagra pills
  49. Pingback: biaxin generic
  50. Pingback: biaxin antibiotic
  51. Pingback: biaxin coupon
  52. Pingback: biaxin coupons
  53. Pingback: fluoxetine hcl
  54. Pingback: fluoxetine 20 mg
  55. Pingback: prozac generic
  56. Pingback: prozac medication
  57. Pingback: fluoxetine 10 mg
  58. Pingback: alprostadil
  59. Pingback: alprostadil price
  60. Pingback: buy cialis
  61. Pingback: cialis oral jelly
  62. Pingback: 2018-2019
  63. Pingback: 2019
  64. Pingback: nsfwtophookup.eu
  65. Pingback: cleantalkorg2.ru
  66. Pingback: a2019-2020
  67. Pingback: facebook
  68. Pingback: facebook1
  69. Pingback: javsearch.mobi
  70. Pingback: buy viagra
  71. Pingback: cialis
  72. Pingback: viagra
  73. Pingback: cialis coupon
  74. Pingback: cialis 20mg
  75. Pingback: levitra
  76. Pingback: generic cialis
  77. Pingback: cialis online
  78. Pingback: tadalafil 5mg
  79. Pingback: tadalafil 20mg
  80. Pingback: viagra tablets
  81. Pingback: sildenafil
  82. Pingback: tadalafil
  83. Pingback: cialis dosage
  84. Pingback: cialis prices
  85. Pingback: cialis tablets
  86. Pingback: viagra vs cialis
  87. Pingback: generic viagra
  88. Pingback: viagra connect
  89. Pingback: viagra natural
  90. Pingback: cialis vs viagra
  91. Pingback: tadalafil 20 mg
  92. Pingback: cialis 20 mg
  93. Pingback: cialis 5 mg
  94. Pingback: cheap cialis
  95. Pingback: cialis coupons
  96. Pingback: cialis canada
  97. Pingback: viagra online
  98. Pingback: viagra prices
  99. Pingback: viagra generic
  100. Pingback: viagra coupons
  101. Pingback: cheap viagra
  102. Pingback: buy viagra online
  103. Pingback: viagra tablet
  104. Pingback: sildenafil 20 mg
  105. Pingback: sildenafil 100
  106. Pingback: buy biaxin
  107. Pingback: buy ceftin
  108. Pingback: buy chloromycetin
  109. Pingback: buy biaxin online
  110. Pingback: buy ceftin online
  111. Pingback: chloromycetin
  112. Pingback: buy cordarone
  113. Pingback: example.org.17

Leave a Reply