@@OnkarMendhapurkar hi onkar how to I send it to email
@OnkarMendhapurkar2 жыл бұрын
@@Fnbalenciaga Hi, So you want to send alert notifications from the esp module to your email right?
@OnkarMendhapurkar2 жыл бұрын
@@Fnbalenciaga 1) Create a Sender Email Account(New account)-Esp8266 module will use this mail id to send mails 2) Create an app password for the new mail account. Give it a name eg- Esp8266 Here's how you can do it- a)Open your Google Account. b)In the navigation panel, select Security. c)Under “Signing in to Google,” select 2-Step Verification > Get started. d)Open your Google Account. e)In the navigation panel, select Security. f)Under “Signing in to Google,” select App Passwords g)Select the new mail id you created, For the device, select other and Give it a name eg- Esp8266. e)Click on generate. Save the generated password as your esp module will use it to send mails through the created email id. 3)Send an email using raw text or html. use the code from the following link- drive.google.com/file/d/1A03nWWabmnUJ1KbdXIf0DLDRTxW1m3Ys/view?usp=sharing 4)Upload the code to esp module. This is an example of how you can send mails using esp module. You can use this similar concept in above project.
@Fnbalenciaga2 жыл бұрын
@@OnkarMendhapurkar yes bro pls guide me what abt the connection bro and what board should i use like in the arduino software which board should i use
@मीनाक्षरी2 жыл бұрын
खूप छान
@मीनाक्षरी2 жыл бұрын
एकदम भारी प्रेम
@OnkarMendhapurkar2 жыл бұрын
Thankyou 😁
@rock50452 жыл бұрын
Ekdum kadak bro
@SanidhyaPatil2 жыл бұрын
🤯🙌🏻🔥
@nightwing4090Ай бұрын
🔥🔥🔥
@shield3781 Жыл бұрын
'X509List' does not name a type ---- help me sloving this error
@carlosvallori2365 Жыл бұрын
can you change code by only one button? Thanks.
@sachin95832 жыл бұрын
Great 👍
@pondarshini60682 ай бұрын
Why does the buzzer sound not come after the motion detection??
@prabhatshankar70002 жыл бұрын
Nice one bro
@OnkarMendhapurkar2 жыл бұрын
Thanks 🔥
@thavirudealmieda8725 Жыл бұрын
Bro i need the opposite thing . I need to get a notification when there isn’t a motion .how to do that?
@OnkarMendhapurkar Жыл бұрын
You have to change this condition in the code, Line no. 62 --> if (distance = 0) ~ Find the changed condition below :- Just change the '' and remove the distance >= 0 part. 👇 if (distance >= 10){ digitalWrite(buzzPin, HIGH); digitalWrite(LED1, HIGH); bot.sendMessage(CHAT_ID, "ALERT! ", ""); // Put whatever message you want as notification here. }
@thavirudealmieda8725 Жыл бұрын
@@OnkarMendhapurkar thank u❤️❤️❤️
@OnkarMendhapurkar Жыл бұрын
@@thavirudealmieda8725 You're welcome 😊, Glad to help!
@10_anandkumar409 ай бұрын
Can u help me to reduce beeping time of buzzer it beeps upto 15 second when motion detects
@OnkarMendhapurkar7 ай бұрын
Hi there! Thank you for reaching out. The duration of the buzzer sound depends on the time it takes for the `bot.sendMessage` function to execute, which can be influenced by your network speed. To address this issue, you can modify the code to make the buzzer ring for a fixed duration and then execute the `bot.sendMessage` function separately. This way, the buzzer will sound for a consistent period regardless of network speed. Here's how you can implement it: Replace the `if` condition on line - 62 with following: if (distance = 0) { digitalWrite(buzzPin, HIGH); digitalWrite(LED1, HIGH); delay(5000); // Adjust this value to change the duration of the buzzer (e.g., 5000 milliseconds = 5 seconds) digitalWrite(buzzPin, LOW); digitalWrite(LED1, LOW); // Execute bot.sendMessage function after the buzzer stops bot.sendMessage(CHAT_ID, "ALERT! MOTION DETECTED!!", ""); } but this hack will lead to increased delay in sending message on your telegram.
@DarthVader-ep3fo Жыл бұрын
Can we use infrared sensor instead of this
@OnkarMendhapurkar Жыл бұрын
Yes we can use infrared sensor instead of ultrasonic sensor. We prefer using ultrasonic sensor because infrared sensor easily gets affected by sunlight and can give wrong readings.
@efthymiostsoumetis8 ай бұрын
where can i find ESP8266WiFi library?
@OnkarMendhapurkar7 ай бұрын
If you're encountering issues with missing libraries like esp8266wifi while programming the NODEMCU board with the Arduino IDE, it's likely because the ESP8266 board package isn't installed. Here's a step-by-step guide to resolve it: 1. Open the Arduino IDE and navigate to 'Files', then click on 'Preferences'. 2. In the Preferences window, find the 'Additional Board Manager URLs' field and add the following link: "arduino.esp8266.com/stable/package_esp8266com_index.json". Then click 'OK'. 3. Next, go to 'Tools' > 'Board' > 'Board Manager' in the Arduino IDE. 4. In the Board Manager, type "ESP8266" into the search box and install the ESP8266 software for the Arduino IDE. 5. Once the installation is complete, you should be able to select the Generic Esp8266 board when programming. The library is installed automatically when u install the board. Following these steps should resolve the missing library issue. Feel free to reach out if you have any questions. Hope this helps!
@mangalampatikiranmai9185 Жыл бұрын
bro,plz can you us a report on this project
@lukmancahya8405 Жыл бұрын
excuse me, bro, I've tried what you made, but for me, the ultrasonic sensor can't read and can't connect to telegram, only the buzzer and led work, how do you do that, bro, so that the sensor can read and connect to telegram, please help me solve the problem I'm having, bro
@SachinMhetreBtech8 ай бұрын
kindly watch the video again , proper instruction are given there. It worked for me .
@ramankanwar Жыл бұрын
I have one error X509list
@OnkarMendhapurkar Жыл бұрын
Install the following libraries and try again :- ESP8266WiFi.h WiFiClientSecure.h UniversalTelegramBot.h
bro i am doing something similar for my TY project can you please tell me if i can do this with whatsapp is yes how? because call mee bot is not working
@OnkarMendhapurkar9 ай бұрын
You can use CallmeBot for getting message on whatsapp. Refer this tutorial randomnerdtutorials.com/esp8266-nodemcu-send-messages-whatsapp/
@sewaerla10 ай бұрын
how can i reduce the duration of the buzzer sound
@OnkarMendhapurkar7 ай бұрын
Hi there! Thank you for reaching out. The duration of the buzzer sound depends on the time it takes for the `bot.sendMessage` function to execute, which can be influenced by your network speed. To address this issue, you can modify the code to make the buzzer ring for a fixed duration and then execute the `bot.sendMessage` function separately. This way, the buzzer will sound for a consistent period regardless of network speed. Here's how you can implement it: Replace the `if` condition on line - 62 with following: if (distance = 0) { digitalWrite(buzzPin, HIGH); digitalWrite(LED1, HIGH); delay(5000); // Adjust this value to change the duration of the buzzer (e.g., 5000 milliseconds = 5 seconds) digitalWrite(buzzPin, LOW); digitalWrite(LED1, LOW); // Execute bot.sendMessage function after the buzzer stops bot.sendMessage(CHAT_ID, "ALERT! MOTION DETECTED!!", ""); } but this hack will lead to increased delay in sending message on your telegram.
@Dvsuper2310 ай бұрын
hey can you tell me the code beacuse the link doesnt work for the code. Pls this is urgent
@OnkarMendhapurkar9 ай бұрын
github.com/onkar69483/Home-Security-System/blob/main/homesecuritybot.ino Find the Code Above
@thebestfriend Жыл бұрын
My sensor can't stop sending me message and always beeping
@OnkarMendhapurkar9 ай бұрын
It mostly happens because the ultrasonic sensor is not connected properly or isn't working and keeps on sending 0 distance, Hence it will keep on sending messages continuously. Kindly check ur ultrasonic sensor connections
@Asyraaff-fx8oy Жыл бұрын
CAN I USE VEMOS ESP8266
@OnkarMendhapurkar Жыл бұрын
Yes
@Sultan-et1op Жыл бұрын
My project is not working. Please help me
@OnkarMendhapurkar Жыл бұрын
What problem are you facing?
@krishnabhand7 ай бұрын
@@OnkarMendhapurkarbuzzer continues buzzing after connection without any motion detect.....plz help
@OnkarMendhapurkar7 ай бұрын
@@krishnabhand This issue might happen due to improper Ultrasonic Sensor Connections, due to which the sensor sends distance as 0cm. Kindly check if the sensor is connected properly 👇 github.com/onkar69483/Home-Security-System/blob/main/homesecurity%20system_breadboard_circuit%20diagram.jpg If this might not work then there might be some issue with the ultrasonic sensor. If u still face any issue after this kindly ask again.
@krishnabhand7 ай бұрын
@@OnkarMendhapurkar bro same problem ...I tried more than 50 times...and also bought new ultrasonic sensor. Bt I didn't know what's the problem. Buzzer continuously buzzing....and telegram gives motion detection alert till the power supply on Same problem repeating again and again.
@swaroopgowda9220 Жыл бұрын
It is continuously detecting motion but there is no motion at all
@OnkarMendhapurkar Жыл бұрын
This generally happens when there is some error in ultrasonic sensor connections, Try reconnecting the ultrasonic sensor with proper connection in the circuit diagram provided in the description. If the problem still persists feel free to ask again 😊.
@elrey8947 Жыл бұрын
@@OnkarMendhapurkar It is happening to me too
@selvamathan4692 Жыл бұрын
Bro i have used ur code but it is not working can u pls check and reupload
@OnkarMendhapurkar9 ай бұрын
Yes I have reuploaded the code Kindly check here github.com/onkar69483/Home-Security-System
@aspirin470910 ай бұрын
Bro how to make the response faster?
@OnkarMendhapurkar9 ай бұрын
The response time depends on Network speed, If network speed is faster then response will be faster.
@saikumarmadel31952 жыл бұрын
💗⭐
@itsnadchaos7 ай бұрын
Nothing is working for me
@OnkarMendhapurkar7 ай бұрын
I'm sorry to hear that you're having trouble. Let's try a few troubleshooting steps: 1. Double-check that you followed each step correctly, especially adding the ESP8266 board package URL in the Arduino IDE preferences and installing the board package via the Board Manager. 2. Ensure that your internet connection is stable during the installation process to download the necessary files. 3. If you've already installed the ESP8266 board package, try restarting the Arduino IDE to see if that resolves the issue. 4. *If you're still facing problems, it might be helpful to provide more details about the specific error messages or issues you're encountering. That way, we can offer more targeted assistance.* Don't hesitate to ask for further help. We're here to troubleshoot and get things working for you!
@TummeAdost Жыл бұрын
How to increase buzzer time
@OnkarMendhapurkar Жыл бұрын
Just increase the delay in the code to 5000 or 10000 according to you to increase buzzer time. Make sure you put the delay after digitalWrite(buzzerPin,High).
@clayywlter5543 Жыл бұрын
hi bro. i follow your step as shown on the video but the motion sensor didnt show any value on the serial monitor, buzzer didnt produce any sound, led didnt turn on while i put a object infornt the motion sensor. i used esp-12f. please help me
@OnkarMendhapurkar Жыл бұрын
Hi!, You can recheck the connections that you have made, This generally happens when there is some error in ultrasonic sensor connections, Try reconnecting the ultrasonic sensor with proper connection in the circuit diagram provided in the description. If the problem still persists feel free to ask again! Also check the ESP8266WiFi.h file, you could try with wifi.h it might work, as wifi libraries are vary according to the esp models.
@Pradeepkumar19602 жыл бұрын
Where is ckt
@OnkarMendhapurkar2 жыл бұрын
drive.google.com/file/d/17nT_vm1HH94R3eXk_W_b2x1xKF6BNF2-/view?usp=sharing The image got deleted, I have reuploaded it. You can find circuit diagram from the above link 😊. pls comment if you face any problem further. 😊
@IlkerSefa-pj5nz Жыл бұрын
can u help me ?
@OnkarMendhapurkar Жыл бұрын
Yes, How can I help you?
@IlkerSefa-pj5nz Жыл бұрын
@@OnkarMendhapurkar Buzzer keeps making sounds
@adilabusafa2 жыл бұрын
أهلاً وسهلاً ومرحباً بك-يتعذر التعليق-لا أعلم .
@princekumarbhargav8612 Жыл бұрын
Hi bro can you help coding for home automation with a motion sensor..
@OnkarMendhapurkar Жыл бұрын
Yes, if you want to use motion sensor instead of ultrasonic sensor, Follow the steps: - 1. Delete the ultrasonic sensor code part i.e. - This one - int const trigPin = 4; int const echoPin = 5; int const buzzPin = 12; This part from void setup() :- pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); -And this part from the loop - int duration, distance; digitalWrite(trigPin, HIGH); delay(1); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance = (duration/2) / 29.1; 2. Initializing for the Motion sensor:- int irsensor = 5; int irvalue = LOW ; In void setup() add this :- pinMode(irsensor, INPUT); 3. In void loop() first we'll read motion sensor value by :- irvalue = digitalRead(irsensor); you'll find this condition -> *if (distance = 0)* replace this condition by if(irvalue == HIGH) That's it! Upload the code and test if it works. Hope it helps!
@bugra4860 Жыл бұрын
Do you help me?
@OnkarMendhapurkar Жыл бұрын
Yes, How can I help you?
@selvamathan4692 Жыл бұрын
Bro i have used ur code but it is not working can u pls check and reupload
@OnkarMendhapurkar9 ай бұрын
Yes I have reuploaded kindly check here github.com/onkar69483/Home-Security-System/blob/main/homesecuritybot.ino