Trigger DC Motor with PIR Sensor & Arduino - Complete Guide
Rachel De Barros Rachel De Barros
66.4K subscribers
19,423 views
756

 Published On Mar 22, 2024

Welcome to my comprehensive Arduino tutorial where I'll show you step by step, how to use a PIR sensor to turn on a DC motor using an Arduino Uno. From wiring each component to an Arduino Uno, to writing a variety of Arduino code examples from scratch, you'll be able to build your own motion-activated DC motor project and control it with Arduino and a PIR sensor.

Whether you're building an automated gadget, an interactive art installation, or a Halloween motorized prop that comes alive when someone walks by, turning on a DC motor with a PIR motion sensor is a useful Arduino project for a lot of applications.

🔗 Full Tutorial: https://racheldebarros.com/turn-on-dc...

🛠🎨 Join my Engineering Artists Discord Community for LIVE WORKSHOPS & COMMUNITY BUILDS (Zoom) ▶︎ https://racheldebarros.com/members


BUILD YOUR OWN Motion-activated DC Motor with PIR Sensor and Arduino:
🛒 PIR Sensor: https://amzn.to/49CagWn
🛒 Arduino Uno: https://amzn.to/48jRlyr
🛒 12V DC Motor: https://amzn.to/43kjiWj
🛒 XY-160D Motor Driver Module: https://amzn.to/3vbrPOr
🛒 12V 5A Power Supply: https://amzn.to/48UfMD5
🛒 Female DC Jack Adapter: https://amzn.to/4aa8pZd
🛒 Breadboard: https://amzn.to/42FZZGk
🛒 Jumper Wires: https://amzn.to/42K4kbv


🎬 VIDEO CHAPTERS: Motion-activated DC Motor with Arduino Wiring & Code
0:00 Welcome
0:40 PIR Sensor Time Delay, Sensitivity & Trigger Mode
1:51 PIR Sensor Pinout
2:22 Wire a PIR Sensor to Arduino Uno
3:10 Wire a DC Motor to Arduino Uno
7:43 Arduino Code: Test PIR Sensor
14:01 Arduino Code: Spin Motor with PIR Sensor
19:17: Arduino Code: Spin Motor in Opposite Direction
19:46 Arduino Code: DC Motor Minimum PWM value
21:29 Arduino Code: PIR Current State vs. State Change
24:44 Arduino Code: Turn Motor in Both Direction with PIR Sensor
26:59 Arduino Code: Accelerate & Decelerate Motor with PIR Sensor
33:55 Wrap Up
34:06 Get Full Tutorial with Code
35:04 Join the Community

💬 Have any questions or want to share your own experiences, tips and advice about using a PIR sensor to turn on a DC motor with Arduino? Drop a comment below – I love hearing from you!

🔔 If you find this video helpful, please hit that like button 👍 and consider subscribing to my channel for more props/animatronics/robot tutorials, tips, and tricks. Your support helps me create more content like this!

Some links included here are to affiliate sites. If you purchase something through them, I may earn a small commission — which costs you nothing! I am very grateful for your support when you use my links to make a purchase.

#arduino #pirsensor #dcmotor #motors #arduinotutorial #arduinocode #arduinoproject #props #animatronics

show more

Share/Embed