Controlling UM3561 siren module from Arduino UNO

Upload the following program to your Arduino board. While uploading, Arduino board should be disconnected from the power source. While operating the siren, Arduino UNO and siren module should be powered from the same power source.

#define ENABLE 5 // Control pin to BC847 base #define SEL1_TRANS_BASE 2 // (CTRL1) Base of transistor to which PIN 6 (SEL1) of UM3561 connected #define SEL2_TRANS_BASE 3 // (CTRL2) Base of transistor to which PIN 1 (SEL2) of UM3561 connected #define SEL1_BYPASS_GND 4 // (CTRL3) Base of transistor to which SEL1 connected for bypassing to GND // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED_BUILTIN as an output.
Read More
Temperature monitoring and device controlling over WiFi through Android App using nodeMCU and NTC thermistor

Same temperature monitoring system through HABEROCEAN mobile App can be seen on my latest post https://haberocean.com/2020/04/real-time-temperature-monitoring-and-device-control-from-mobile-app-developed-on-flutter-through-nodemcu/. App screenshots are shown in the following image.

Upload the following program to your NodeMCU. It is a direct communication between your mobile device and NodeMCU. So, after uploading the program, search for available WiFi devices on your Android device. In the available WiFi devices, you could see a device named Cooling-Fan-Controller.

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
Communication between ESP-12F IOT module and SD card module using Arduino

References :

Refer https://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 : 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
X