Posts

PIR sensor wireless Alarm

Image
PIR sensor Wireless Alarm with 433 Mhz RF Transmitter and Receiver Module //https://www.instructables.com/ARDUINO-WIRELESS-HOME-SECURITY-SYSTEM/  Arduin Sketch for Transmitter // download and install virtualwire library from Github-https://github.com/song940/VirtualWire // Include VirtualWire library #include <VirtualWire.h> int led_pin = 13;// //connect LED to Pin 13 of Arduino int transmit_pin = 12;//connect RF433 data to Pin 12 of Arduino int pir_pin = 2;//connect PIR sensor signal pin to Pin 2 of Arduino int btn_pin = 3;//connect Button to Pin 3 of Arduino int pir_val = 0; // variable for store the status of PIR sensor int btn_val = 0;// variable for store the status of push button int pir_state = LOW;//set LOW the initial value int btn_state = LOW;//set LOW the initial value void setup() {    Serial.begin(9600);// set baud rate 9600 for serial communication    vw_set_tx_pin(transmit_pin);    vw_setup(4000); // Transmission rate    ...

Burn Bootloader to ATMEGA328 and 328 PU.

Image
                                                                                                                                                                       Step 1                                    Connect the Arduino boards as per the circuit diagram                               and  plu...

8channel relay board with ATMEGA 328 microcontroller

Image
https://drive.google.com/file/d/1M3fIvtmTlMhhOsoLxo6GKvpGFz8Szn_2/view?usp=drivesdk  

ESP 8266(01) with Supla Iot cloud

Image
 

Sinric Pro IOT Automation

/*https://github.com/anokhramesh/SinricProAutomation circuit diagram -https://drive.google.com/file/d/1vznY-F-vwte55hIPcR9O4M1_2IFw2BtG/view?usp=sharing https://drive.google.com/file/d/11NEfVZg_silkMByJIQo3Ge5x-ntmNAO3/view?usp=sharing Download and install  the Required Libraries Download Board ESP8266 NodeMCU : https://github.com/esp8266/Arduino  ArduinoJson Library: https://github.com/bblanchon/ArduinoJson   arduinoWebSockets Library: https://github.com/Links2004/arduinoWebSockets    SinricPro Library: https://sinricpro.github.io/esp8266-esp32-sdk*/ #ifdef ENABLE_DEBUG #define DEBUG_ESP_PORT Serial #define NODEBUG_WEBSOCKETS #define NDEBUG #endif #include <Arduino.h> #include <ESP8266WiFi.h> #include "SinricPro.h" #include "SinricProSwitch.h" #include <map> #define WIFI_SSID         "SSID"  //Enter your Wifi SSID   #define WIFI_PASS         "Password"//Enter your Wifi Password #...

ESP8266_01 Relay control

Image
  Download the Application from this link. https://drive.google.com/file/d/1acpsLiy4nkqMft4GuO5Qy44k-nZ8Y-ju/view?usp=sharing Download the circuit and code fromthis link https://github.com/anokhramesh/ESP8266-01WIfy-relay # include " Arduino.h " // The essential ESP8266 WiFi library # include < ESP8266WiFi.h > // Your WiFi SSID and Password const char * ssid = " dewa406 " ; const char * password = " Ramesh16384 " ; // The built in (blue) LED is on pin 1. We'll use GPIO2 for our output. # define outPin 2 # define debug false // Create our server and tell it the port we are listening on WiFiServer server ( 80 ); // Forward declaration of a function later in the sketch (not required for Arduino IDE) void printWiFiStatus (); // ------------------------------------------------------------------------------- // SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP // -----------------------------------------...