16-bit shift register module using 74HC595 controlled through NodeMCU

16-bit shift register module will help you to create 16 digital outputs from only 3 digital outputs of NodeMCU. Circuit is done as shown in the diagram. Upload the following program to your NodeMCU.

/* 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 = 0;
Read More
0-9999 UP counter with RESET from Arduino UNO

Circuit is done as shown in the diagram. Upload the following program to Arduino UNO.

const int CLK = 2; const int RESET = 3; int count = 0; int countLimit = 36; // the setup function runs once when you press reset or power the board void setup() { pinMode(CLK, OUTPUT); pinMode(RESET, OUTPUT); digitalWrite(RESET, HIGH); delay(100); digitalWrite(RESET, LOW); } // the loop function runs over and over again forever void loop() { digitalWrite(CLK,
Read More
0 – 9999 counter module using Arduino UNO

Circuit is done as shown in the diagram. Upload the following program to Arduino UNO.

// the setup function runs once when you press reset or power the board void setup() { pinMode(2, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage level) delay(100); // wait for 100 mS digitalWrite(2, LOW); // turn the LED off by making the voltage LOW delay(100);
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
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 : 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 android app : https://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 : https://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
Voltage regulator module using 7805

Most of the TTL ICs are working on 5V. Many methods are there to design a 5V stabilizer circuit. Here, we are introducing a simple DIY board by which even the starters could easily design a 5V regulated voltage supply.

Components required

  • Printed Circuit Board – 1
  • 7805 voltage regulator IC – 1
  • Screw terminal 5mm – 2
  • 0.33 micro Farad capacitor –
Read More
X