 Tom here from Lawrence Systems, and we're playing with Raspberry Pi cameras today, and it's a fun project So if you want to learn more about me my company head over to Lawrence systems comm if you would like to hire a short project There's a hires button up at the top if you want to support this channel another way There's some affiliate links down below Get you deals and discounts on products and services we talk about this on this channel And this is kind of a fun one and now that cameras just dangling upside down like this this is the raspberry pi mi project and It's really slick. So installation is no-brainer. It's over on github It's the motion iOS and it's made for single-board computers. I'm using Raspberry Pi access. I'm familiar with that's what I'm used to They work rather well, and I have some other projects and well I had some of these laying around but let's talk about the hardware that's on here first So we'll jump over all the way to the hardware here standard Raspberry Pi 4 kit now I grabbed the 4 gig kit because the 4 gig kit is a Handy for lots of other projects, but it is not necessary As a matter of fact my sump pump camera that I've been running for a while runs on a Raspberry Pi 3 and works quite well this is the camera that is attached to the Raspberry Pi 4 right now and Pretty simple leave a link to this one. It's got the focus wide angle fisheye lens That's why it kind of has a little bit of distortion when you're looking at it Then I have this camera attached to a Raspberry Pi 0 and it's got a couple different cables that came with it as well Some longer some shorter. It's a cute little camera does the trick got pretty reasonable Resolution here the downside is it's attached to Raspberry Pi 0 and while this project does support the Pi 0 It does not work very well So let's go ahead and jump all the way over back to the MI and talk about what you got to do to get this and Get it set up so they have a wiki and an installation instructions in here. I'll leave a link to all this It's all on github and pretty straightforward. They got Windows instructions They have OS X Linux instructions and I really like this right image tool that they have and this is what I used actually We went and grabbed a release that matched. So they have all the releases. I'll leave a link to these They have banana pie nanopie odroid orange pie pine 64 Raspberry Pi 1 2 3 and 4 on here The Pi 0 also shares the same Processor so the Raspberry Pi and the Pi 0 we have we're using that image on there The advantage they have of this little right image tool is you just put dash n for networking and your net to your ssid colon the password to your ssid so your Wi-Fi Credentials this is really nice because when you're building the micro sd cards that go in there You just write this and it pushes the settings right there it boots up and that's it They'll get an IP address they boot relatively quick the first boot on the Raspberry Pi 4 Maybe takes 30 seconds and probably about 15 to 20 seconds every boot there after once it's configured now as far as Once they're booted up what do you have to do next? Nothing really other than start logging in and configuring what there's very little to do it auto detects the camera auto detects everything Now if you want to look in your DHCP server You can find them find the IP address if you plug in a HDMI cable to see what comes out of them Yes, you can watch it display the IP address on the screen or go back over here to the Installation if you want to statically assign each one an IP address you can actually set static and push Exact IP address you want on here out of the box It's going to set it and like the Raspberry Pi 4 for example order 3 any of the ones that have a network adapter on them It will just have that at DHCP so it'll grab whatever available address is handed out from your network Back over to configuration here. So when you want to configure them, we'll go ahead and refresh the page The default password is just admin no password So there's not even a pass not admin admin. It's just admin. Now you let you set a password You can definitely make changes to it and everything else But the default is just admin and it works. There's not much to it Then we go over here to settings and it's called camera one. We'll show you show you why in just a second So camera one admin user here's we can set a password. It can check to do OS version updates I had mine out from under my house when I did mine because it decided I was running an old version the update failed But it seemed to work on these newer ones. So they've seemed to have fixed that problem on there. There's your network settings I've got it connected wirelessly. So I just push the settings in there and IP configuration Automatic once again once you've got it set up and running you can change these settings if you need to services FTP server require FTP authentication FTP right support Samba server require Samba authentication and able song write support and SSH server What this allows you to do is you can actually have it store all the videos on here And then you can just use a Samba share FTP or SSH to get the information out now They have expert settings for network link watch network timeout and even SNNTP for the date method NTP server HETV port what the motion binary is a motion keep alive debugging So they got a couple other neat features inside of here fast camera support. I didn't find that very helpful It's supposed to and you get a little mouse over for any one of these enabling this option will res reply into a simple fast MPEG network camera Disabling motion detection media files and all other advanced features with this camera It's supposed to make it a little bit faster if you want to use this as a media camera I may do that a separate video for the purposes of this We're going to keep it focused on this and recall this one instead of camera Ron Raz Cam for just make it simple And anytime it detects a change you just hit apply and it'll rename the camera doesn't restart it It just restarts the services running so it doesn't even go through a full reboot And there we go now we've renamed the camera and let's crank up the resolution on that So let's go ahead and move the resolution all the way up to here And let's crank the frame rate here now This is one advantage the Raspberry Pi 4 has the frame rate is not wonderful on my Raspberry Pi 3. It's good The frame rate is absolutely terrible on the Raspberry Pi 0 it just doesn't do a great job at all. We'll get to that one in a second Now here's all the file storage options on here custom path where it's going to take all the files We've got a 32 gig card in here. It's got 28.2 gigs free Upload media files if you want to have your server to upload them to Google Drive SFTP server you can actually have it automatically copy the data to somewhere else even a drop box integration on here So they thought of a lot of different services to get that get the data back out Include sub folders and upload pictures upload media files. We're gonna turn it back off right now call a web hook This is really cool too because you can actually say hey when there's something to do call a web hook and push this information there So that's an option Text overlay what do you want to say the camera name and a time stamp not too many options there But you can do some custom text or disable it and it's got some text scaling So you can make it whatever size you want and it apply and a service restarts and ups the scale of the text So we can have larger text on there video streaming so You can do this and copy and we'll go ahead over here and Now it's streaming right to this particular Just like that port 8081 this allows you if you wanted to pull use this as a camera and pull it into something else It can pull a stream. That is absolutely possible with that now. They also have Embed whoop not that one there embed there we go and This just makes it look a little bit nicer and it has frame embedding here So it makes it look a little bit slicker because it's just wrapping it around there And like I said more customization you could do an embed this in something if you wanted to make it as a monitor So go down here Still image support to grab still images out of here and you can make the capture mode forever trigger And if you notice when we're on the camera, there's options to do the mouse over There we go Open movies and browser Open pictures and browser Configure this camera. There's some options to make it grab the camera and pull those settings on there for that So if you want to capture stills out of it, it does have that ability. Let's go back down here Let's look at the movies. Now. This is where it's kind of cool motion triggered movies Continuous recording and let's say we want to keep something for one week It lets you know it'll recursively purge everything out but this can be used as a Motion triggered camera and it'll save all the information that you need for the motion detection and of course if motion detection Happened what good is that if it doesn't send you an email call the webhook run a command? So this having a you know Linux in the back end You could write your own custom commands of what you want this to do if one of these events occur Calling a webhook so reach out to this particular website with a git post post form post via json You can have a couple different options on here and send that notifications somewhere Or of course, this is the real simple one here send an email S&T server report password user address use TLS and it can send you a Notice with the information in there and auto attach pictures So maybe that's of course a real important You don't just want to notice you also would like a picture sent of what's happening and they have run an end command So after it does this and do another command after that So a lot of options they built into this and you can just turn them on and off kind of as needed Just like that now one of the other things we go back over here like motion detection We have a working schedule and that's a nice important feature So you can build working hours in here for your motion detection and say this is when I want it This is when I don't want the motion detection to work. The final thing I'll mention here is that we do have not just a mask We have an editable mask For doing this they've even built that in here I mean so we can build a mask of where we want it to detect motion So if we use this as a motion camera and you have something that would trigger it because maybe that's catching the side of a Row going out there It does have an editable mask option in here for the motion detection to make it that much more detailed It's a pretty impressive camera set up here and the resolution like I said is very reasonable So these are all the features on here, but then there's one more. Let's look at the other camera So that's actually running over here. This is the Pi zero cam now I said that it's kind of slow. So I crank the resolution all the way up to 19 2010 80. Yes, that is at that motion, but we're gonna do this and I don't know how many seconds go it went just by but it'll eventually Take another picture and move. Oh, there we go So there's quite the delay when the Pi zero is at that It just doesn't have the horsepower to do it. So we bump it down to 640 by 480 Wow, some old-school low res and you can see how much longer it takes to apply even a setting on here Still not quite real-time But functional and this other camera by comparison if you were looking for two different cameras This camera works pretty well But this one does not have the fish eye the one thing I did notice about this camera And it's not just because it's at the 640 when you compare it to the other camera the colors are more muted There seem to be a little bit brighter more brilliant on the other camera this one here Even when I had this camera I have swapped both of them back and forth onto the Raspberry Pi 4 and This camera is that's a little bit more expensive that other one I show with the fish eye on it definitely has like a sharper better colors to it for what it's worth now Because this is at one nine one seven two one sixteen sixty nine one one three What can we do with this add camera option? Well, this is where it gets kind of slick we go over here And we're going to do the Raspberry Pi 4 because it's faster You can build these together and tie together multiple of these and we'll go here We're gonna add a camera and It does have a couple other options here I don't have a USB camera webcams are really short supply in here in April of 2020 I just don't have an extra one laying around, but it actually has some options to Find local cameras plugged into USB. I may do a follow-up video if I find some USB cameras that work well with this It has a network camera option a remote motion eye camera option Which means another one of them and we put the username password in we haven't set a password on so it's just admin So we're just gonna leave it like this hit ok it finds the camera that's attached at or cameras attached to that server and we hit ok and We've tied two cameras together and started to build our dashboard with this Pretty simple to do takes very little to get this going now granted these are all simply writing to the Pi itself So there's not much redundancy and all that if you wanted to build this out kind of as your camera system But with the ability for this to FTP and send the data to some other storage repository on your network You can easily build some type of NAS server and have all the motion events sent to there and cataloged and logged And it's kind of a nice homebrew system That works really well now the last thing I'll talk about is the system that I have at home So I'll close these and what does my sump pump camera? You know in why I kind of do this project and how does it work? So let's go over in a VPN back to my house And this is the one running on my raspberry Pi 3 It does have a password on there. I did go through and set it up It's got the same options here and we'll go ahead and log into it real quick And on a raspberry Pi 3 actually it seems to work quite well now the difference is and the one I have at home And this is an interesting thing because of the way my sump pump is set up at home This is in the dark. There's no lights down there. So this is down under my house This is how it's mounted and I have this long cable here. This is what the little bracket looks like that just watches the pump Yes, I have a water alarm on there for those you wondering why I obsessed with this I've had the water alarm fail once so I just checked the camera once while I can see exactly what the pump's doing And if there's a serious amount of flow in there or something's going wrong And this is how it looks like when it's set up on there now You can order these with an extra long cable like this if you have some unique use case like you know Watching a sump up under your house and I just mounted it on a little bracket Yes, there's some zip ties on there because we tried 3d printing something. It didn't work and what the lights are on the side Let me show you what those are. This is what you actually are looking at This is a night vision camera and this is a neat feature. I bought this. Okay Now I know exactly how long it's been one year ago that I've had this because I bought this sump pump camera in April 2nd of 2019 and we built this and With the camera right here in the night vision attached to it It works really well. It sees completely in the dark. Let's go back over to what it looks like here Oh, it looks the camera the sump pump Just ran so you can kind of see it now. You don't get the best frame rate out of the raspberry pi 3 It's definitely an improvement when you go to the raspberry pi 4, but this isn't 100% darkness This is what those IR filters look like so I can look it's looking down on the sump pump And I like I said I can see in there and it works wonderful for seeing in the dark These are pretty slick cameras, and it's all of $21 and raspberry pi 3 I had one laying around and but they're obviously not real expensive So it's pretty neat project and it's been a lot of fun to play with there's all kinds of ideas You know if you have different things you want to watch around the house or set up motion cameras And you could theoretically put these in probably some type of waterproof You know outdoor type of structure and then run just one single network card or one network cable over there and use one of these You know like a pie hat or even the little adapter that I have and I'll leave a link to this in the description below Where you can get all these parts, but it makes for a pretty fun little project with these raspberry pies It's definitely cool I'm gonna play with see with other things I can find on these if I do find some cameras because the raspberry Pi 4 having a few different USB ports means I can probably find a couple other cameras and see how How well it handles it for surveillance, but either way I leave links all this. It's all open source It's all free and the raspberry pies are just fun little kits to play with I always like I always get excited about some of these projects I'll admit this particular one with the this camera the way that the little transparent thing that this came with is Pretty neat, but I will admit these are tedious if you see how small this is I mean it makes a nice little camera sitting there like that But boy these are not easy to work with putting this together All right, thanks And thank you for making it to the end of the video if you liked this video Please give it a thumbs up if you'd like to see more content from the channel hit the subscribe button and hit the bell icon If you like YouTube to notify you when new videos come out If you'd like to hire us head over to Lawrence systems calm fill out our contact page And let us know what we can help you with and what projects you'd like us to work together on If you want to carry on the discussion head over to forums dot Lawrence systems calm Or we can carry on the discussion about this video other videos or other tech topics in general even suggestions for new videos They're accepted right there on our forums, which are free Also, if you like to help the channel in other ways head over to our affiliate page We have a lot of great tech offers for you. And once again, thanks for watching and see you next time