User Tools

Site Tools


atmos:citation:instruments:raspberrypi_camera:home

This is an old revision of the document!


Raspberry Pi 4 Camera with Module Automatic IR-Cut

Specifications:

  • CCD size: 1/4 inch
  • Aperture(F): 1.8
  • Focal Length: 3.6 mm (adjustable)
  • Field of View: 72 degrees
  • Preferred Sensor Resolution: 1080p
  • Support 3.3V power output
  • Supports connecting infrared LED or flash LED
  • 4 screw holes which are used for a fixed position
  • Dimension: 1.42inch x1.04inch x0.94inch

Camera Setup:

Raspberry Pi computer with a Camera Module port: All current models of Raspberry Pi have a port for connecting the Camera Module.

  1. Ensure your Raspberry Pi is turned off.
  2. Locate the Camera Module port.
  3. Gently pull up on the edges of the port’s plastic clip.
  4. Insert the Camera Module ribbon cable; make sure the cable is the right way round.
  5. Push the plastic clip back into place.
  6. Startup your Raspberry Pi. Go to the main menu and open the Raspberry Pi Configuration tool.
  7. Select the Interfaces tab and ensure that the camera is enabled.
  8. Reboot your Raspberry Pi.

Saving and transferring images to Calgary: Scripts for saving and transferring the saved images from the Raspberry pi camera are in: Saved images from the Raspberry pi camera are in:

  • save-img.sh saves images from the Raspberry pi camera using the python code save-image.py
  • transfer+remove.sh transfer the saved images to the MetTrailer AWS instance to then transfer them to Calgary and remove them from the Raspberry pi.
  • MetTrailer.pem is the key needed to transfer the saved Raspberry pi camera images to AWS instance.

Example of crontab to save and transfer images to Calgary:

m h dom mon dow command

*/5 * * * * cd /home/pi/Desktop/ && ./save-img.sh

*/7 * * * * cd /home/pi/Desktop/pi-camera-latest/ && ./transfer+remove

atmos/citation/instruments/raspberrypi_camera/home.1643908465.txt.gz · Last modified: 2022/02/03 17:14 by marwa.majdi