Arduino tutorial - PIR Motion Sensor interfacing with Arduino for Absolute Beginners

Опубликовано: 26 Февраль 2025
на канале: Electronics Developer
242
like

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬▬▬▬▬

0:00 - Introduction
0:15 - Write a code to interface PIR Motion Sensor
5:02 - Compile code & generate.Hex File
5:35 - Create a proteus schematic
8:12 - Run & test Simulation

▬ Introduction ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Welcome to our YouTube channel! In this educational video, we will guide absolute beginners on how to interface a PIR motion sensor with Arduino. If you're interested in Arduino tutorials and home automation, this video is perfect for you!

Learn how to use an IR sensor with Arduino to detect motion and create automatic light systems. We will cover the basics of PIR motion sensors and explain how they can detect infrared heat radiations emitted by living objects. With step-by-step instructions and clear explanations, this tutorial is beginner-friendly.

By the end of this video, you will have a solid understanding of PIR motion sensors and their applications in home automation. Don't forget to subscribe to our channel for more educational content like this.

Join our community of Arduino enthusiasts today! Get ready to dive into the exciting world of Arduino programming.
Let's get started!

▬ Code to Note ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
❶ pinMode():
Configures the specified pin to behave either as an input or an output. See the Digital Pins page for details on the functionality of the pins. As of Arduino 1.0.1, enabling the internal pullup resistors with the mode INPUT_PULLUP is possible. Additionally, the INPUT mode explicitly disables the internal pullups.
❋Syntax:
pinMode(pin, mode)

❷ setup(): The setup() function is called when a sketch starts. Use it to initialize variables, pin modes, start using libraries, etc. The setup() function will only run once, after each powerup or reset of the Arduino board.

❸loop(): After creating a setup() function, which initializes and sets the initial values, the loop() function does precisely what its name suggests, and loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board.

❹digitalRead():Reads the value from a specified digital pin, either HIGH or LOW.
❋Syntax:
digitalRead(pin)

▬ Result ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
When any warm body or human is around, it inspects the heat and detects the movement. This project uses a PIR sensor to sense the motion of a human being and turns ON an LED to indicate the detection of motion. The movement of humans will be detected by the PIR sensor. PIR Sensor provides a triggering pulse to Arduino. Arduino generates output at Pin No. 8 to turn ON the LED.

▬ Interesting Projects ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
❶ PIC MCU Series:    • PIC Microcontroller Series  
❷ 805X series:    • 89c5X Microcontroller Series  
❸ ARM Series:    • ARM Microcontroller Series  
❹ Lilypad Series:    • Lilypad Series  
❺ AVR Series:    • AVR Microcontroller Series  
❻ DIY Series:    • DIY Series  
❼ Arduino Series:   • Arduino Series  
❽ Proteus series:    • Proteus Software Series  

▬ Let’s connect on ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🏷️WhatsApp: https://whatsapp.com/channel/0029VaEw...
🏷️Telegram: https://t.me/electronicsdeveloper
🏷️Facebook:   / electronicsdeveloper  
🏷️Instagram:   / electronics.developer  
🏷️Tweeter:   / electronics_dev  
🏷️LinkedIn:   / electronics-with-shreyash  
🏷️Pinterest:   / electronicsdeveloper1  

▬ Credits ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
1. Arduino Community: http://bit.ly/38J91rx
2. Arduino Libraries: https://www.theengineeringprojects.co...

Thanks for watching!
#electronicsdeveloper

#arduinotutorials #arduino #button #pushbutton