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.
- Ensure your Raspberry Pi is turned off.
- Locate the Camera Module port.
- Gently pull up on the edges of the port’s plastic clip.
- Insert the Camera Module ribbon cable; make sure the cable is the right way round.
- Push the plastic clip back into place.
- Startup your Raspberry Pi. Go to the main menu and open the Raspberry Pi Configuration tool.
- Select the Interfaces tab and ensure that the camera is enabled.
- 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: /home/Camera_Data/MetTrailer_CAM/PiCamera/codes-PiCam/ and have been added to ${ADPAA_DIR}/src/acquire_PiCam.
Saved images from the Raspberry pi camera are in: /home/Camera_Data/MetTrailer_CAM/PiCamera/raw/
- 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:
*/5 * * * * cd /home/pi/Desktop/ && ./save-img.sh
*/7 * * * * cd /home/pi/Desktop/pi-camera-latest/ && ./transfer+remove
atmos/citation/instruments/raspberrypi_camera/home.1702913926.txt.gz · Last modified: 2023/12/18 15:38 by delene