Circuit is done as shown in the diagram.
Product links
CP2102 USB 2.0 to TTL UART SERIAL CONVERTER : https://robu.in/product/cp-2102-6-pin/
ESP-12F IOT Module : https://haberocean.com/product/iot-module-using-esp-12f/
ESP-12F based IOT module which will give 5V / 9V outputs from five digital pins of ESP-12F. 5V outputs can be used to control TTL / CMOS ICs. Output will be 5V if the jumper is conncted across COM and 5V. Similarly, output will be 9V if the jumper is connected across COM and Vin. You can control your devices like electric bulbs from Android applications through this module. Screw terminal output interfacing is also provided for 5V / 9V digital outputs.
Reference blogs
ESP-12F IOT module programmer circuit : https://haberocean.com/2019/05/esp-12f-iot-module-programmer-circuit/
32-bit serial-in parallel-out shift register module using ESP-12F IOT module : https://haberocean.com/2019/05/32-bit-shift-register-module-using-esp-12f-iot-module/
Control the outputs of ESP-12F IOT module from an Android App : https://haberocean.com/2019/06/part-3-of-control-the-outputs-of-esp-12f-iot-module-from-an-android-app/
7-digit seven segment display using ESP-12F IOT module through 32-bit serial-in parallel-out shift register module : https://haberocean.com/2019/07/7-digit-seven-segment-display-using-esp-12f-iot-module-through-32-bit-serial-in-parallel-out-shift-register-module/
Purchase from Amazon : http://www.amazon.in/dp/B07TTRN6GW?ref=myi_title_dp
Connect “CP2102 USB 2.0 to TTL UART serial converter” to your PC and turn on the DC power source. Open Arduino IDE. Open the Blink program from the Examples.
Choose “Generic ESP8266 Module” from the Boards menu. If you didn’t find “Generic ESP8266 Module” in the boards menu, then read the instructions given in this page to set up Arduino IDE for ESP8266.
Select the USB port.
Compile the program.
Upload the program.
If uploading is 100%, built in LED on the ESP-12F module will start blinking.
Next, we will upload a program to blink 5 LEDs connected to digital outputs 4, 12, 13, 14 and 16.
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(4, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
pinMode(14, OUTPUT);
pinMode(16, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(4, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(12, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(14, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(16, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(4, LOW); // turn the LED off by making the voltage LOW
digitalWrite(12, LOW); // turn the LED off by making the voltage LOW
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
digitalWrite(14, LOW); // turn the LED off by making the voltage LOW
digitalWrite(16, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
If uploading is successful, 5 LEDs will start blinking on the module.