Posts

Showing posts from December, 2020

Smartphone Proximity IOT

 IOT  (Controlling a relay with Smartphone Proximity sensor and Blynk App) #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[] = "xGtkkxzmpdsHvdmWXiw4_9f97y-yT8dU"; // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "dewa406"; char pass[] = "Ramesh16384"; void setup() {   // Debug console   Serial.begin(9600); pinMode(D1,OUTPUT); pinMode(LED_BUILTIN,OUTPUT);   Blynk.begin(auth, ssid, pass);   // You can also specify server:   //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);   //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080); } void loop() {   Blynk.run(); } BLYNK_WRITE(V1) {   int proximity=param.asInt();   if(proximity)   {     digitalWrite(D1,HIGH);     digitalWrite(LED_BUILTIN,LOW);   }   else   {...

GSM SWITCHING

 https://drive.google.com/file/d/1sq8B3vZBBhUy7wzzPoCa8CKsgzsRXrDP/view?usp=sharing GSM switching

Convert cent to sq metre

https://www.thecalculatorsite.com/conversions/area/square-meters-to-cents. php

Programmable timer with arduino

Image
Programmable timer  https://projectsnproduct.blogspot.com/2020/04/arduino-programmable-onoff-timer-switch.html?m=1 COMPONENTS ARE REQUIRED:- 1 arduino uno  3 switches 4 10k ohm resistor 1 wood box 1 liquid crystal LCD 12*2 1 5v relay 1 silicon diode 1 socket 1 button .....some jumpers wire CODE:- #include <LiquidCrystal.h> LiquidCrystal lcd(7,6,5,4,3,2); const int set = 8; int hours=10; int start=11;  int relay=9; long b=0,h=0; long t=0; int buttonState = 0;  int lastButtonState = 0; void setup() {      pinMode(set,INPUT);   pinMode(hours,INPUT);   pinMode(relay,OUTPUT);   pinMode(start,INPUT);   lcd.begin(16,2);   lcd.setCursor(0,0);   lcd.print("Adjustable Timer");   } int timer( int b,int h) {          if(b<=9)            {             lcd.setCursor(8,1);             lcd.print(0);   ...

Arduino timer

 https://github.com/embeddedlab786/Countdown_Timer Arduino timer

Bluetooth Automation app

Image
download link for Bluetooth automation app https://drive.google.com/file/d/1IlRQZIEuCVx62vypNzi-kJJkMtuSKjFG/view?usp=sharing Blutooth automation app    Arduino sketch for Bluetooth Automation system # include < SoftwareSerial.h > // including library for Software Serial communication SoftwareSerial mySerial ( 2 , 3 ); // (RX, TX)                                // defining all the pins of Arduino # define s1 10 # define s2 11 # define s3 12 # define s4 13 void setup () { // setting all the pins pinMode (s1, OUTPUT); pinMode (s2, OUTPUT); pinMode (s3, OUTPUT); pinMode (s4, OUTPUT); // defining baudrate Serial. begin ( 9600 ); mySerial. begin ( 9600 ); } void loop () { if (mySerial. available () == 1 ) // if communication is going on { char val = mySerial. read (); // Read the data recieved Serial. println ( " Recieved data is ...