Posts

ARDUINO PULSEOXIMETER

Image
     VIDEO: VIDEO LINK:                             https://youtu.be/ssOLHjx0Axo COMPONENTS REQUIRED: 1.ARDUINO NANO 2.MAX30100 PULSEOXISENSOR 3.4.7K RESISTOR 4.OLED DISPLAY 5.BREAD BOARD CODE: //CREATIVE PRADEEP// //ARDEUINO PULSEOXIMETER// #include <Wire.h> #include "MAX30100_PulseOximeter.h" #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define ENABLE_MAX30100 1 #define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 32 //64 // OLED display height, in pixels // Declaration for an SSD1306 display connected to I2C (SDA, SCL pins) // The pins for I2C are defined by the Wire-library. // On an arduino UNO:       A4(SDA), A5(SCL) // On an arduino MEGA 2560: 20(SDA), 21(SCL) // On an arduino LEONARDO:   2(SDA),  3(SCL), ... #define OLED_RESET    4 // 4 // Reset pin # (or -1 if sharing Arduino reset pin) #d...

BLUETOOTH HOME AUTOMATION WITH EEPROM MEMORY

Image
VIDEO:   VIDEO LINK:                         https://youtu.be/m42a8jYOdbc COMPONENTS REQUIRED : 1. BLUETOOTH MODULE  2. RELAY MODULE  3. ARDUINO 4. JUMPER CABLES  5. AC BULB  CODE: //Creative Pradeep// //Bluetooth APP + Manual Control Home Automation //Store Relay state in EEPROM Memory #include <SPI.h> #include <Wire.h> #include <EEPROM.h> String readString;  int relay_1 = 12;  int relay_2 = 11;  int relay_3 = 10;  int relay_4 = 9; const int mswitch_1 = 8; const int mswitch_2 = 7; const int mswitch_3 = 6; const int mswitch_4 = 5; int toggleState_1 = 0;  int toggleState_2 = 0;  int toggleState_3 = 0;  int toggleState_4 = 0; void setup() {     Serial.begin(9600);      pinMode(relay_1, OUTPUT);   pinMode(relay_2, OUTPUT);   pinMode(relay_3, OUTPUT);   pinMode(relay_4, OUTPUT);   pinMode(mswitch_1, INPUT_PULL...

TOUCH SENSOR LIGHT PROJECT

Image
 VIDEO: VIDEO LINK: https://youtu.be/_L6CDi5Otzs COMPONENTS REQUIRED: 1.TOUCH SENSOR 2.ARDUINO  3.RELAY MODULE 4.JUMPER CABLES 5.AC BULB CODE: //Creative Pradeep// //Touch Sensor Relay// int touchPin = 2; int relayPin = 3; int val = 0; int lightON = 0; int touched = 0; void setup() {   Serial.begin(9600);   pinMode(touchPin, INPUT);    pinMode(relayPin, OUTPUT); } void loop() {   val = digitalRead(touchPin);   if(val == HIGH && lightON == LOW){     touched = 1-touched;     delay(100);   }       lightON = val;       if(touched == HIGH){         Serial.println("Light ON");         digitalWrite(relayPin, LOW);                }else{         Serial.println("Light OFF");         digitalWrite(relayPin, HIGH);           }      ...

2WAY LIGHT CONTROL USING BLYNK AND NODEMCU

Image
VIDEO: VIDEO LINK :    https://youtu.be/3cafRxcZkrU MATERIALS REQUIRED: 1.NODEMCU 2.5V RELAY MODULE 3.2WAY SWITCH 4.AC BULB AND PLUG 5.JUMPER CABLES CODE: // CREATIVE PRADEEP// #define BLYNK_PRINT Serial #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "---------------"; //You will get this Auth Token in Gmail if you signin Blynk app with your Gmail ID // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "------"; //Enter your WIFI Name char pass[] = "------";//Enter your WIFI Password void setup() {   // Debug console   Serial.begin(9600);   pinMode(D0,OUTPUT);   pinMode(D1,OUTPUT);   pinMode(D2,OUTPUT);   pinMode(D3,OUTPUT);      digitalWrite(D0,HIGH);   digitalWrite(D1,HIGH);   digitalWrite(D2,HIGH);   digitalWrite(D3,HIGH);      Blynk.begin(auth, ssi...

WiFi VOICE AND MANUAL CONTROL HOME AUTOMATION

Image
 VIDEO: VIDEO LINK:            https://youtu.be/YPf_wWLIik8 CODE: //CREATIVE PRADEEP THE HOME OF ELECTRONICS// #define BLYNK_PRINT Serial #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> char auth[] ="Your Auth. Key";// You should get Auth Token in the Blynk App.                               // Go to the Project Settings (nut icon). const int R1  = 5;            // Output Relay 1 GPI0 05 (D1) const int R2  = 4;            // Output Relay 2 GPI0 04 (D2) char ssid[] = "Your Wifi Network name";     // Your WiFi credentials. char pass[] = "Password of your network";   // Set password to "" for open networks. void setup() {   Serial.begin(9600);         // Debug console   Blynk.begin(auth, ssid, pass);   pinMode(R1,OUTPUT);  ...

TM1637 MODULE AUTOMATIC COUNTER

Image
   VIDEO LINK: https://youtu.be/SJogL6qopYg CODE: //CREATIVE PRADEEP THE HOME OF ELECTRONICS// #include<Arduino.h> #include<TM1637Display.h> #define CLK 2 #define DIO 3 TM1637Display display (CLK,DIO); int count=0; void setup() {  Serial.begin(9600);  display.setBrightness(0x0f); } void loop() {      count++;   display.showNumberDec(count);   delay(100);   if (count==9999)   {     count=0;     display.clear();     delay(1000);     display.showNumberDec(0,true);     delay(500);   } } CIRCUIT DIAGRAM: CHANNEL LINK:                     https://youtube.com/c/CreativePradeep

COFFIN SONG WITH ARDUINO BUZZER

Image
  VIDEO:  VIDEO LINK: https://youtu.be/RzwmPTipFJU COFFIN SONG CODE: //CREATIVE PRADEEP THE HOME OF ELECTRONICS// #include <pitches.h> // output pin is 10, you can change it down in the void setup. #include "pitches.h" int melody[] = {   NOTE_AS4, NOTE_AS4, NOTE_AS4, NOTE_AS4,   NOTE_AS4, NOTE_AS4, NOTE_AS4, NOTE_AS4,   NOTE_AS4, NOTE_AS4, NOTE_AS4, NOTE_AS4,   NOTE_AS4, NOTE_AS4, NOTE_AS4, NOTE_AS4,   NOTE_AS4, NOTE_AS4, NOTE_AS4, NOTE_AS4,   NOTE_D5, NOTE_D5, NOTE_D5, NOTE_D5,   NOTE_C5, NOTE_C5, NOTE_C5, NOTE_C5,    NOTE_F5, NOTE_F5, NOTE_F5, NOTE_F5,    NOTE_G5, NOTE_G5, NOTE_G5, NOTE_G5,   NOTE_G5, NOTE_G5, NOTE_G5, NOTE_G5,    NOTE_G5, NOTE_G5, NOTE_G5, NOTE_G5,    NOTE_C5, NOTE_AS4, NOTE_A4, NOTE_F4,   NOTE_G4, 0, NOTE_G4, NOTE_D5,   NOTE_C5, 0, NOTE_AS4, 0,   NOTE_A4, 0, NOTE_A4, NOTE_A4,   NOTE_C5, 0, NOTE_AS4, NOTE_A4,    NOTE_G4,0, NOTE_G4, NOTE_AS5, ...