Posts

Showing posts from January, 2021

ESP32WIFI&BLUETOOTH AUTOMATION

ESP32 WIF AND BLUETOOTH AUTOMATION PROJECT ESP32WIFI &BLUETOOTH APP  https://drive.google.com/file/d/1z-R4FT0b_K4UCcvJO7Imk8fGrJe8UETx/view?usp=sharing ARDUINO SKETCH FOR THE ABOVE PROJECT #define BLYNK_PRINT Serial #include <BlynkSimpleEsp32.h> // https://github.com/blynkkk/blynk-library #include "BluetoothSerial.h" // https://github.com/espressif/arduino-esp32/tree/master/libraries/BluetoothSerial #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif BluetoothSerial SerialBT; int bluedata; // variable for storing bluetooth data  int relay1 = 18; //GPIO PI N 18 IS ASSIGNED AS VARIABLE NAME RELAY1-1 int relay2 = 19; //GPIO PI N 19 IS ASSIGNED AS VARIABLE NAME RELAY1-2 int relay3 = 21; //GPIO PI N 21 IS ASSIGNED AS VARIABLE NAME RELAY1-3 int relay4 = 22; //GPIO PI N 22 IS ASSIGNED AS VARIABLE NAME RELAY1-4 int relay5 = 23; //GPIO PI N 23 IS ASSIGNED AS VARIABLE NAME ...

Controlling GPIO PINS of ESP 32 Via Serial Bluetooth Terminal application

Image
//Arduino Sketch for Controlling 5 Gpio PINS OF esp32 via Serial Bluetooth Terminal app //Sketch for Controlling GPIO Pins 18,19,21 ,22 and 23 of ESP32 Via Serial Blutooth Terminal Application. #include "BluetoothSerial.h" #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif BluetoothSerial SerialBT; int received;// received value will be stored in this variable char receivedChar;// received value will be stored as CHAR in this variable const char led1on ='a'; const char led1off ='b'; const char led2on ='c'; const char led2off ='d'; const char led3on ='e'; const char led3off ='f'; const char led4on ='g'; const char led4off ='h'; const char led5on ='i'; const char led5off ='j'; const int ledpin1 = 18; const int ledpin2 = 19; const int ledpin3 = 22; const int ledpin4 = 23; const int ledpin5 = 21; v...

Smartphone Fingerprint lock System

Image
Smart Fingerprint Lock.apk Circuit Diagram for Fingerprint Lock System  Arduino sketch for Fingerprint Lock System // Use the smartphone Fingerprint scanner to open the lock. //Bluetooth App Fingerprint Lock String readString; #define lock 3    //Initialized pin 3 to Variable name "lock" void setup() {   Serial.begin(9600);           //Set serial monitor baud rate 9600 for communicating with phone   pinMode(lock, OUTPUT);      //Declare variable "lock"(pin3) as an output   digitalWrite(lock, LOW);     //Assign the Default status of lock is De-energize. } void loop() {   while(Serial.available())    //Check if there are available bytes to read   {     delay(10);                 //Delay to make it stable     char c = Serial.read();    //Conduct a serial read     if (c == '#'){     ...

Changing Name and Pin of Bluetooth Module(HC05/HC06)

Image
1- Upload the Sketch to Arduino Board.   void setup() {   Serial.begin(9600);   delay(5000);   Serial.print("AT+NAME ScoreBoard ");# Enter the New Name on the Highlighted area.   delay(5000);   Serial.print("AT+PIN 4321 "); # Enter the New Pin on teh Highlighted area.   delay(5000); } void loop() { } 2-After Upload the Sketch ,Connect the Arduino Board and Bluetooth Module as per the wiring Diagram. 3- Power up the Bluetooth Module and Search the Bluetooth with the help of a smartphone. 4- Select the new name from the  available Bluetooth Devise list and pair it. 5-Enter the New PIN to connect it.

C programming tutorials

C programming  https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/