Raspberry Pi LESSON 36: Motion Detection Alarm System With LCD and Keypad

preview_player
Показать описание
Announcing the Most Awesome Raspberry Pi Lessons of All Times! This time we RUMBLE!

In this class series, we will be using the most excellent Sunfounder Ultimate Raspberry Pi kit, available here: (Affiliate Link)

In this video lesson I will show you how to build a portable Raspberry Pi Alarm System. We incorporate a PIR motion sensor to detect intruders. User input is via a 16 button keypad, and the system has a LCD screen. In this initial version we do not include an audible alarm but that will be added in the next lesson.

If you want to grab those cool little straight jumper wires I am using to keep my breadboard builds neat and clean you can snag a box of them here:

If you guys are interested in the oscilloscope I am using, you can pick one up here (affiliate link):

You guys get your hardware ordered so you can follow along at home!

You will also need a Raspberry Pi. I suggest the Raspberry Pi 4. If you do not already have one, this is the most suitable gear I could find:

The Raspberry Pi's are sort of pricy right now, so you can look on ebay or elsewhere to see if there are any deals. You will need a SD card. If you do not already have one, this is a good one:

I like using a wireless keyboard and mouse to have fewer wires. You can certainly use your USB keyboard and mouse, but if you want a nice wireless one, this one works on the pi. We demonstrate this by using a button switch to control a LED.

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

#PIR
#ALARM
#RASPBERRYPI
Рекомендации по теме
Комментарии
Автор

Finally became legend after discovering I had a faulty PIR sensor, purchased a new one, now back on track👍👍👍👍

mh
Автор

Thank you for another great lesson, Sir! Thank you, your lessons are not wasted time for me and that is exactly what I need and want! 👍

dzeykop
Автор

Thanks Paul. I lost some points for the build wire fill out and lots of points for code. I love this stuff I know I am learning because of far I can go with code.

stephenlightkep
Автор

Great lesson! Looking forward to going back and going through your others. Thank you.

LorenBurdette
Автор

Thanks, Paul.. another GREAT lesson .... my keypad, col 3 works sporadically - IF I bend the ribbon cable 'just right' it reads.. . frustrating.. but never fear... pressing on with the lessons.... returning after a few months hiatus ...

davidschnider
Автор

I have been watching your videos for years and learned the Arduino Uno, now learning the Raspberry Pi. Have you considered a course on home automation or perhaps water sprinkler control. I am so tired of the big box store sprinkler controls that don't last more than a few years, don't have enough station's, usually 6 when you need 7-8, and won't control a water fountain. Maybe a multi purpose timer app with means to control 12 volt or 110 volts circuits for water sprinklers, fountains, outside yard accent lighting, etc. I think that would be really useful for many applications. I've learned a lot here, thanks.

woodturner
Автор

You don't need to print spaces on line 35 to cover password, as you calling clear on line 36 - that's redundant and it slows down the app by 80 ms (one letter takes 5 ms to print)

MikhailEschatologist
Автор

I'm sure you caught this at some point. There's one critical problem with the code in this lesson. GPIO.cleanup() must come after clearing the LCD or your pins will no longer be assigned to carry out the clear command.

blansettj
Автор

Good day sir. I just want to ask if it's possible to control DC motors with raspberry pi. Through our Deep Convo NN model output prediction. "Control DC motor through/with or based on the prediction of NN model". I want to learn sir for school purpose only. I'm doing thesis project. Thank you sir.

josephcarane
Автор

AS usual this is a GREAT LESSON! How do I find shop talk live today?

larryplatzek
Автор

Hi how are u i have a question to ask i have an arduino and have a LCD keypad shield i want to connect a buzzer and pir Motion sensor how do i do that please and how do i do the code to it to please??

lukerassack
Автор

@Paul Love what you do! But not my cup of tea right now😉 Press On! Philippians 3:14

tkklein
Автор

I even got bluetooth working with some recorded "text to speech" audio files.
Thanks Paul for all you do.

keithlohmeyer