官术网_书友最值得收藏!

Hardware configuration

We are first going to see how to configure the hardware to use the ESP8266 board. This is how to connect the different components:

  1. Basically, you need to connect your breadboard power supply VCC and GND to the ESP8266 VCC and GND. Also, connect the GND pin of the FTDI converter board to the ESP8266 GND.
  2. Then, connect TX from the FTDI board to RX of the ESP8266 board, and then RX to TX.
  3. Finally, connect the CH_PD (or CHIP_EN) pin of the ESP8266 board to VCC.
  4. Once this is done, simply put the DHT11 sensor on the breadboard.
  5. Then, connect the left pin to VCC (red power rail), the right pin to GND (blue power rail), and the pin next to VCC to the GPIO pin 5 on your ESP8266 chip. This is the final result, not showing the USB-to-Serial FTDI cables:

    Tip

    Make sure that you've connected everything according to the schematics, or you won't be able to continue. Also make sure that all the switches of your components (FTDI module and power supply) are set to 3.3V, or it will damage your chip.

  6. Also, connect one wire to GPIO pin 0 of the ESP8266. Don't connect it to anything else for now, but you will need it later to put the chip in programming mode.
主站蜘蛛池模板: 宾川县| 海宁市| 榆社县| 揭阳市| 和平县| 伊春市| 沙田区| 通渭县| 汉源县| 乐平市| 东港市| 承德县| 福贡县| 延寿县| 任丘市| 天台县| 邯郸市| 南漳县| 鄂托克前旗| 醴陵市| 乌兰浩特市| 全州县| 奇台县| 兰西县| 肇庆市| 中西区| 山西省| 凌源市| 苏尼特右旗| 遂平县| 咸宁市| 武宁县| 鲁山县| 新郑市| 衡阳市| 保靖县| 德昌县| 乐山市| 浪卡子县| 西乌| 鄯善县|