More recently, it took one project to connect an Arduino to the Internet, preferably via WiFi. When I started searching, I didn’t expect what I would find. It turns out that the ESP8266 microcontroller, called system-on-a-chip (SoC), has dominated the market for some time.
This module can connect to 2.4GHz WiFi 801.11 b/g/n protocols and supports WPA/WPA2. In addition, it has an 80 / 160MHz processor, input/output connections (GPIO), 10-bit analog-to-digital converter (ADC), PWM, I2C, SPI, UART and many other awesome but useful things. It also puts you into sleep mode with just 10uA, which allows you to create battery-powered devices.
I think this is a great thing for different kind of DIY projects. Therefore, I would suggest having one in every home, because nobody knows when you will need it for creating something new.
What I liked best was not having to connect it to an Arduino. The good people of the Internet have applied an Arduino programming environment (IDE) to this module and can now write programs directly to ESP8266. Just like a regular Arduino. This requires adding descriptions of the ESP8266 board to the Arduino environment following the instructions on the Internet.
You will also need a separate USB-to-serial adapter to connect the card to your computer (it does not have USB). The following FTDI 232 are recommended:
It is important to note that the adapter must support 3.3V, not necessarily the ESP8266 used.