Posts

Showing posts from October, 2017

Connecting & Testing the Motion Sensor

Image
~~~~ ~~~~ Materials: *Your RP (Raspberry Pi) & its charger *A HDMI cable and a monitor, also a non-wireless keyboard and mouse *A PIR Motion Sensor *Three jumper cables (preferably different colors so they are easier to identify, we use red, yellow, and black) Today we’re only going to connect &  test our motion sensor so the camera does not need to be connected Start up your RP and connect the charger, the HDMI, and the mouse and keyboard USBs Now take your motion sensor and look for three small metal spikes coming out of the side without the white half-globe on it Now connect the cables as shown above and make sure to match the colors up correctly with the black on the left, the yellow in the middle and the red on the right Now to connect them to the RP you are going to turn RP so that it is facing you just like in the picture above and count the metal spikes so that the red jumper is on the spike on the corner to the right, the black ...

Taking Pictures and Videos w/ your RaspPi

Image
~~~~ ~~~~ Start up your RP and get the home screen on your monitor * My monitor wouldn’t turn on and it was because the MicroSD card wasn’t in properly make sure to check everything thinking your RP is broken….* Go to the main menu and click on the first option, programming, then go down to the 7th option of Python 3 (IDLE) We are first going to preview the camera to check to see if it works properly before taking a picture Make a new file and name it ‘camera.py’ Put into your new program from picamera import PiCamera from time import sleep camera = PiCamera () camera . start_preview () sleep ( 10 ) camera . stop_preview () Then save your program with either File, Save or pressing ctrl+shift Run your program with F5 or in the menu click Run then the third option of Run Module It doesn’t work immediately so be patient it took mine maybe 5 seconds then it the screen of my monitor showed what my camera was capturing for 10 seconds like we specif...