Raspberry Pi Camera - Updated Video

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so today in this video we are going to see how to connect camera module to your Raspberry Pi all right so I have been talking about it for some time now today I have received my camera and this is a how the camera Loop module look like so as you can see in my hand this is this lens size and then you have a ribbon which we are going to connect to our Raspberry Pi and you can connect it to for the pi key or Pi 4 doesn't matter so you can see one side of the strip is this blue uh blue line which is facing of the module and the other side is it's a little bit bright I'm trying to show you all right you can see that they are the chip chip sides right so this is where the electronics circuitry will will be done so this will be essentially we will be connecting to the camera module all right so depends on what kind of camera you ordered you may see the circuitry facing the lens or maybe other side of that lens all right so this is my Raspberry Pi I have kept it in uh in a sealed case right uh just to protect it from dust and other things right and I can place it in in my closet as well but why do you want to connect to the camera it's a good idea to First unplug the case take it out from the case because that will give you the flexibility because camera module is sitting uh it's a very thin module right and if you open it then you will have more space to work on but right now what I'm showing you on my screen is the camera module you can lift please lift the pin gently from both sides and as you can see it started wiggling that mean it's it's now available to get large and don't pull it hard otherwise you will break it just pull it up gently all right so now you have seen the camera module this is the camera module and on the right side as you can see I have my HDMI port facing here it's facing HDMI port and that's the side you you need to make the connection okay if you try to look closely you will definitely understand that this is the side you have to make that connection on screen that's the chip and it is facing HDMI board okay don't worry about the lens at this point of time just try to make sure that you the connected right okay and just press that latch gently and you will feel a tip that means it has latched properly now I have put my pipe back in the case and connected it with the power source as I connected with power source you can see the raspberry raspberry pi camera module has a small LED and that got lit up and that's what I'm trying to show you by covering it up so that you can see that life is glowing that means camera module is getting power from my Raspberry Pi all right so we are good uh with respect to the physical connection now let's go to our PI and try to enable the camera from OS and make sure that our camera is detected and we are able to capture images or capture videos from PI command line right so that's what we are going to do as a second part of that so Hardware piece we completed now we are going to uh work on hello and welcome to sdn Tech Forum so today we are going to update our Raspberry Pi camera video as you can see now the camera has a nice holder that means you can position your camera and it's not flipping right because uh if camera is not stable how you can use it so I have ordered a case and camera is sitting inside the case it is connected to Raspberry Pi using ribbon cable all right now I am SSH into my Raspberry Pi and we will see how to enable camera and how to verify if the camera is detected from there we are going to start using it so I'm using the command VC gen command get underscore camera you can see supported is one and detected is one in your case you may not see detected camera so if that is the case what you have to do you have to go to rush by config and enable the camera interface for that you do sudo raspy config and then from there you're going to say enable camera and it will tell you that under interface option you will enable camera and then uh you go back and do the same command VC gen command git camera and you will see that detected equal to 1. that means my camera is connected and it is detected by Raspberry Pi now to start using the raspberry pi um with camera you want to capture still images or video what you can use you can use raspy still that is for still images hyphen f that is for preview and then Dash t or hyphen T and then you are specifying a number that is millisecond so what I'm saying here is rust by f hyphen T 20 000 millisecond so that the camera preview will be open for this much amount of time and if you have a screen connected to your Raspberry Pi you can see camera preview and set it according to your requirement so it is still not taking any picture hyphen f is only for preview and let's look um as you can see this is my preview and I'm coming in the frame this behind me you can see my wall of fame uh three CCIS of hard work so the preview will remain open for that much amount of time and it will close let's look at rasp I still help and see what are the flags or options available for us to use with this command and you can cancel the preview by clicking Ctrl C anytime you want suppose you have given a large amount of preview time and you want to get rid of that simply use Ctrl C or a break sequence so now we are going to say raspy still dash dash help and it will list all the flags what are the flags available right you can see runs camera for a specific time and take jpg capture at the end of the request so that's what we have used that flag Dash d e you can see Dash o that is for output you are specifying what kind of output you want and you will see uh in next command we will use that option F is for preview so there are tons of flags available please read read through it and see which uh suits your need you can actually go ahead and uh change the composition of your camera effect and Etc so this is very versatile now we will capture a single uh image using raspi still T hyphen o and then the file name and pardon me if this prompt is not visible here once we hit enter it will be shown foreign as you can see raspa is still Dash 1000 that is thousand millisecond and dash o for output file name and extension so it will open the camera remain there for 1000 millisecond and then click a picture and once you click a picture it is going to save that in the default directory which is in the home directory and you can see Wall of Fame jpg item is created in the in that respective folder we can double click and open it as you can see the camera was positioned to face the wall and your image was captured so this is how you can capture still images now let's move on to uh capturing videos and for video you're going to use raspberry vid for still images it's very intuitive for digital images you are doing raspy still for video you are doing raspy vid and then amount of time t equal to 2000 that means this is the amount of time it's going to open the preview and keep on recording right you can keep recording forever but you can also specify that I want to record say uh two second 20 second 50 second a minute or so or you can start recording without T and then close the recording using break sequence so it depends what what you're recording all right and now as you can see once the recording is completed the the item is created and you can open that and this is like one two two seconds of recording all right so this is all I wanted to show you how to connect Raspberry Pi uh camera and how to start using that obviously uh raspberry if you want to see the preview all the time you need to connect a display to your Raspberry Pi because headless will not show you any preview so you are assuming that your camera is working fine just by looking at the items it start creating otherwise I recommend you to create a mini display and start using your Raspberry Pi to full extent thank you
Info
Channel: SDN TechForum
Views: 1,302
Rating: undefined out of 5
Keywords: Raspberry Pi camera setup, Raspberry Pi camera tutorial, Raspberry Pi camera connection, Raspberry Pi camera projects, Raspberry Pi camera module, Raspberry Pi camera installation, Raspberry Pi camera recording, Raspberry Pi camera photography, Raspberry Pi camera tutorial for beginners, Raspberry Pi camera video capture, Raspberry Pi camera programming, Raspberry Pi camera GPIO, Raspberry Pi camera streaming, Raspberry Pi camera features
Id: LUHJaFnNevU
Channel Id: undefined
Length: 11min 16sec (676 seconds)
Published: Tue Jun 20 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.