Communication between ESP-12F IOT module and SD card module using Arduino

References :

Refer http://www.haberocean.com/2019/05/esp-12f-iot-module-programmer-circuit/ to get the programming basics.

Upload the following program to ESP-12F IOT module.

/* Listfiles This example shows how print out the files in a directory on a SD card The circuit: SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 4 created Nov 2010 by David A.
Read More
7-digit seven segment display module using Arduino UNO through 32-bit serial-in parallel-out shift register module

Upload the following program to Arduino board

//Pin connected to ST_CP (12) of 74HC595 int latchPin = 12; //Pin connected to SH_CP (11) of 74HC595 int clockPin = 11; ////Pin connected to DS (14) of 74HC595 int dataPin = 10; int numDigitArray[7] = {0, 0, 0, 0, 0, 0, 0}; int dotPointArray[7] = {0, 0, 0, 0, 0, 0, 0}; void displayValueAndDigit(byte value,
Read More
7-digit seven segment display module using Arduino UNO
#define D0 9 // A terminal of seven segment display module #define D1 10 // B terminal of seven segment display module #define D2 11 // C terminal of seven segment display module #define D3 12 // D terminal of seven segment display module #define LE1 2 #define LE2 3 #define LE3 4 #define LE4 5 #define LE5 6 #define LE6 7 #define LE7 8 // the setup function runs once when you press reset or power the board void setup() { // initialize digital pins as output.
Read More
Part 4 of : 7-digit seven segment display using ESP-12F IOT module through 32-bit serial-in parallel-out shift register module

Modules required

Reference blogs

ESP-12F IOT module programmer circuit and explanation : http://www.haberocean.com/2019/05/esp-12f-iot-module-programmer-circuit/

32-bit serial-in parallel-out shift register module using ESP-12F IOT module : http://www.haberocean.com/2019/05/32-bit-shift-register-module-using-esp-12f-iot-module/

Control the outputs of ESP-12F IOT module from android app : http://www.haberocean.com/2019/06/part-3-of-control-the-outputs-of-esp-12f-iot-module-from-an-android-app/

Video demonstration

Upload the following program to your ESP-12F IOT module.

Read More
Part 3 of : Control the outputs of ESP-12F IOT module from an Android APP

Upload the following program to ESP-12F IOT module. Before starting this, read my previous blog on the basics of programming ESP-12F IOT module.

#include <ESP8266WiFi.h#include <WiFiClient.h#ifndef APSSID #define APSSID "PaulESP" #define APPSK "paulsin91@" #endif // Variable to store the HTTP request String header; /* Set these to your desired credentials. */ const char *ssid = APSSID; const char *password = APPSK; int ledPin = 13; // GPIO13 WiFiServer server(80);
Read More
Part 2 of : 32-bit shift register module using ESP-12F IOT module

Important : In the ESP-12F IOT module, jumper should be placed across 5V and COM as encircled in the following image. Otherwise, high voltage may destroy your 32-bit shift register module.

In the previous blog, we saw the circuit for programming ESP-12F IOT module.

Product links

CP2102 USB 2.0 to TTL UART SERIAL CONVERTER : https://robu.in/product/cp-2102-6-pin/

ESP-12F IOT Module : 

Read More
Part 1 of : ESP-12F IOT Module Programmer circuit

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 : http://www.haberocean.com/product/iot-module-using-esp-12f/

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.

Read More
Part 3 of 3 : 7-Digit seven segment display  module from Arduino UNO through 32-bit shift register module

7-digit seven segment display module can be controlled from three digital pins of Arduino UNO through shift register module. Circuit is done as shown in the image. Seven segment display module and shift register module should be powered from an external power supply.

Purchase 7-digit seven segment display module from http://www.haberocean.com/product/7-digit-seven-segment-display-module-with-negative-symbol/

Purchase shift register module from http://www.haberocean.com/product/shift-register-module-using-74hc595/

Upload the following program to your Arduino UNO.

Read More
Part 2 of 3 : Cascading two 32-bit shift register modules using Arduino UNO

While cascading the shift register modules, power should be given from an external power supply. Excess current from Arduino UNO may damage your Arduino UNO. Similarly, you can cascade more modules.

Purchase the module from http://www.haberocean.com/product/shift-register-module-using-74hc595/

Upload the following program to Arduino UNO. Change the value in customDelay() function to change the speed of running LED.

/* Shift Register Example Turning on the outputs of a 74HC595 using an array Hardware: * 74HC595 shift register * LEDs attached to each of the outputs of the shift register */ //Pin connected to ST_CP (12) of 74HC595 int latchPin = 12;
Read More
X