Patterns in cascaded 16-bit serial-in parallel-out shift register modules using Arduino UNO
/* 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; //Pin connected to SH_CP (11) of 74HC595 int clockPin = 11; ////Pin connected to DS (14) of 74HC595 int dataPin = 10; //holders for information you're going to pass to shifting function byte data;
Read More
Interfacing VS1003 to NodeMCU, generate “HELLO” sound from HEX, circuit and program

Upload the following program to NodeMCU. Once uploading successful, connect head phone to VS1003. “HELLO” sound will be heard continuously from the VS1003.

#include <SPI.h// VS1003 SCI Write Command byte is 0x02 #define VS_WRITE_COMMAND 0x02 // VS1003 SCI Read COmmand byte is 0x03 #define VS_READ_COMMAND 0x03 const int csPin = D1; const int dcsPin = D0; const int dreqPin = D2; const int resetPin = D3; const int vs1003_chunk_size = 32; // SCI Registers const uint8_t SCI_MODE = 0x0;
Read More
Arduino MP3 player using VS1003, SD card module and Arduino UNO

Circuit is done as shown in the diagram. Volume can be controlled using 10K POT.

Program

VS1003-masterDownload

Copy and paste the program to your Arduino libraries folder. Compile and upload the example code to your Arduino board. A file named “2.mp3” will be played in my code. A file named “2.mp3” should be there in your SD card. Otherwise, it will give an error.

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 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
Part 1 of 3 : Interfacing 32-bit serial-in parallel-out Shift register module to Arduino UNO

Here, we will see the circuit to interface a 32-bit serial-in parallel-out Shift register module using Arduino UNO. Shift register module is powered from Arduino UNO.

This module will help to create 32 digital outputs from only 3 digital pins of Arduino. Purchase the module from http://www.amazon.in/dp/B07SZ2194H?ref=myi_title_dp. This module can be used in applications where more digital outputs are required such as LED cube, LED matrix etc.

Upload the following program to Arduino UNO.

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