Overview of IoT modules
For normal operation of the module (not for the firmware mode), the GPIO pin 0 must be free, so we disconnect it from GND.
Reconnect the ESP-01 power supply (for example, pull out and insert the adapter back).
We see the appearance of data on the platform.
average price
~ 3 $
Where could I buy
Note. – Hereinafter, links are given to stores from which I either ordered myself or were recommended to me. This is not advertising, but simply a desire to help find the right piece of iron faster. You can order in any other stores you like =)
In China
2.ESP-07
Features of this module are ceramic antenna and external antenna connector, metal shield.
Appearance
Energy supply
3 – 3.6V
Connecting peripherals
9 general purpose I/O ports
1 analog input
Pinout
Connecting to IoT
Hardware
Work with this module, unfortunately, did not go too smoothly. None of the possible connection options worked, and I, already desperate, decided to delete its description from the article. But then they gave me a new module and told me to try again – lo and behold, it worked the first time! What was the matter and how the first module that I tortured broke down is unknown, but most likely it was killed by merciless static. The moral of this lyrical digression is this – if something did not work for you according to the instructions written below, do not blame the instructions – first call and check all contacts, and then try on another module.
1) We collect the scheme
ESP-07
USB serial
VCC
VCC
CH_PD (recommended via resistor)
VCC
TX
RX
RX
TX
GND
GND
GPIO 15 (recommended via resistor)
GND
GPIO 0 – not connected at first, but will be used to switch to programming mode later, so a wire has already been connected to it
all other contacts are not connected
RTS, CTS – not connected
Resistors can already be seen in the photo of this and the next module. After an unknown breakdown, I already decided to play it safe and put kilo-ohms, although everything should work without them.
2) We switch to the programming mode (it is necessary to perform each time before flashing the module)
2.1) Turn off the power from the module
2.2) Connect GPIO pin 0 to GND
- ESP-07
- USB serial
- VCC
- VCC
- CH_PD
- VCC
- TX
- RX
- RX
- TX
- GND
- GND
- GPIO 15
- GND
- GPIO 0
- GND
all other contacts are not connected
RTS, CTS – not connected
2.3) Connect the module to power
2.4) The hardware is ready, let’s proceed to the software part.
Software part
1) Select the board: Tools (Tools) -> Board (Board) Generic ESP8266 Module.
2) Paste the prepared code.
3) Set the data for the Wi-Fi connection and the identifier of your object on the platform.
4) Compile and upload the sketch to the board.
5) For normal operation of the module (not for firmware mode), GPIO pin 0 must be free, so disconnect it from GND.
6) Reconnect the power supply of the ESP-07 (for example, pull out and insert the adapter back).
7) We see the appearance of data on the platform.
average price
~ 2.5$
Where could I buy
In China
3.ESP-12E
Appearance
Energy supply
3 – 3.6V
Connecting peripherals
17 general purpose I/O ports
1 analog input
Pinout
Connecting to IoT
The hardware and software part is absolutely the same as in the two options above.
1) Select the board: Tools (Tools) -> Board (Board) Generic ESP8266 Module.
2) Paste the prepared code.
3) Set the data for the Wi-Fi connection and the identifier of your object on the platform.
4) Compile and upload the sketch to the board.
5) For normal operation of the module (not for firmware mode), GPIO pin 0 must be free, so disconnect it from GND.
6) Reconnect the power to the ESP-12 (for example, pull out and insert the adapter back).
7) We see the appearance of data on the platform.
average price
~ 4$
Where could I buy
In China
4. ESP-12F on Wi-Fi Troyka module
Appearance
Let’s deal with this module using the example of its wiring to the Troyka Wi-Fi module manufactured by Amperka. Although it is more expensive, it is much more pleasant to interact with it. There are already legs soldered with a standard pitch of 2.54 mm, additional protections, voltage regulators that help to avoid unexpected behavior and breakdowns during the first experiments. By the way, when I could not make friends with the ESP-01 in the distant past, and time was running out, I took this module, and everything went smoothly.
Energy supply
The operating voltage of the ESP8266 is 3.3 volts. But the Troyka module has a voltage level stabilizer, so it also works from 5 V.
Connecting peripherals
5 general purpose I/O ports
Maximum current from pin: 12 mA
Pinout
Connecting to IoT
Hardware
Again, we connect through the adapter. Amperka’s website has a great schematic.
1) We collect the scheme
- Troika
- USB serial
- VCC
- VCC
- TX
- RX
- RX
- TX
- GND
- GND
all other contacts are not connected
RTS, CTS – not connected
2) We switch to the programming mode (it is necessary to perform each time before flashing the module)
2.1) Press the PROG button
2.2) Press and release the RESET button
2.3) Release the PROG button
Software part
1) Select the board: Tools (Tools) -> Board (Board) Generic ESP8266 Module.
2) Paste the prepared code.
3) Set the data for the Wi-Fi connection and the identifier of your object on the platform.
4) Compile and upload the sketch to the board.
5) Reconnect the power (for example, pull out and insert the adapter back).
6) We see the appearance of data on the platform.
Current price
~ 12$
Where could I buy
In China
ESP8266 based boards
If you had to tinker a little with the modules, then all the boards presented below can be immediately connected to the computer’s USB port.
1. Goouuu Mini-S1
Appearance
Energy supply
5V (It is strongly not recommended to power through the 3V3 pin. The input voltage will be fed directly to the ESP8266 chip, bypassing all overvoltage and short circuit protection.)
Connecting peripherals
11 digital inputs/outputs
1 analog input
Power outputs 3.3 V and 5 V.
Pinout
Connecting to IoT
1) Select the board: Tools (Tools) -> Board (Board) Wemos D1 R1 (or Generic ESP8266 Module, this also works).
2) Paste the prepared code.
3) Set the data for the Wi-Fi connection and the identifier of your object on the platform.
4) Compile and upload the sketch to the board.
5) We see the appearance of data on the platform.
average price
~ 5$
Where could I buy
In China