Difference between revisions of "Raspberry Pi Camera Board - Night Vision & Adjustable-Focus Lens (5MP)"

From Wiki
Jump to: navigation, search
 
Line 89: Line 89:
 
'''Note: The password characters are hidden when you are entering.'''
 
'''Note: The password characters are hidden when you are entering.'''
 
<br>[[File:Cam008 6.png]]<br>
 
<br>[[File:Cam008 6.png]]<br>
 +
 +
'''Step 3: Configure the camera'''<br>
 +
    <li>Type in the command "sudo raspi-config" on putty, and the following page will appear. What you need to do is to select Interfacing Options, press Enter --> click Camera, press Enter --> select "YES", and press Enter  -->select "OK" and then press Enter.</li>
 +
[[File:Cam008 7.png]]<br><br>[[File:Cam008 8.png]]<br><br>[[File:Cam008 9.png]]<br><br>[[File:Cam008 10.png]]<br><br>
 +
    <li>On putty, type "raspistill -v -o test.jpg " in the command line, and the information runs successfully.</li>
 +
[[File:Cam008 11.png]]<br>
 +
</ul>
 +
 +
The shot picture can be checked in the pi files directory. If you have no display, you can transfer the pictures to your window computer via sftp.
 +
<ul>
 +
    <li>ftp link: https://filezilla-project.org/</li>
 +
    <li>Back to the main page after finishing your installation. Fill the relevant box and finally click quickconnect to connect to RPi.</li>
 +
[[File:Cam008 12.png]]<br><br>
 +
[[File:Cam008 13.png]]<br><br>
 +
</ul>

Latest revision as of 10:05, 9 April 2020

Introduction


Cam002-1.png
What does the fox say? You'll probably never know, but at least we can see what that pesky fox is up to with this Raspberry Pi Night Vision Camera!

Our Raspberry Pi Night Vision Camera uses the same OV5647 as the standard Raspberry Pi camera, and is therefore able to deliver a crystal clear 5MP resolution image, or 1080p HD video recording at 30fps! It features two high intensity Infrared LED spotlights for night time recording! The IR LEDs are powered directly from the CSI port, and are capable of lighting an area at a distance of 1m to 2m. The camera also features an adjustable 3.6mm focal length lens and a 60 degree viewing angle.

Features

  • Compatible with all revisions of the Raspberry Pi
  • 5 Megapixel OV5647 Camera
  • 2 x 3W high-power 850 infrared LEDs:
    • Onboard photoresistor to detect ambient light
    • Onboard adjustable resistor, for controlling the ambient light threshold of toggling the infrared LED
  • Camera specifications
    • Sensors: 0v5647
    • Static Image: 5 megapixels
    • Aperture (F): 1.8
    • Focal Length: 3.6MM (adjustable)
    • Diagonal: 60 degree
    • Sensor Resolution: 1080p
  • Dimension: 25mm x 24mm
  • 4 screw holes
    • Used for both attachment and 3.3V power supply
    • Supports up to 2 infrared LEDs

Preparation

Product List

  • 1 x Raspberry Pi Camera Board
  • 2 x Infrared LED Board
  • 1 x 50cm FFC Cable for Raspberry Pi 4B/3/2/1B+
  • 1 x Small Screwdriver
  • Mounting screws

Required Preparation

  • Raspberry Pi 2B/3A+/3B/3B+/4B/zero/zero w
  • Raspberry Pi power adaptor
  • Network Cable (it's for RPi system installation and you can ignore it if you have finished.)
  • Card Reader: (it's for RPi system installation and you can ignore it if you have finished.)
  • SD card (a recommended 8g and higher one) (it's for RPi system installation and you can ignore it if you have finished.)


Hardware Operation

  • Insert 4 screws into the 4 holes of camera, place the module as shown and assign the holes of the 2 night visual lights with the 4 screws to stack those parts on the camera plate.
  • Cam002-2.png

  • Put 4 nuts in the correct position and screw them up.
  • Cam002-3.png

  • Get the other side of the pin header connected with ports of RPi camera. To do this, you need first to pull up the black switch near the slot, and then to insert the FFC in the slot with the blue side facing the RPi USB port.
  • Cam002-4.png

  • Insert FFC firmly until it hits the deepest part of the FFC entry and push down the black switch.
  • Cam002-5.png


Software Operation

Step1: Download RPi system
1. Click in to access the Raspberry Pi official website https://www.raspberrypi.org/downloads/,and then select to download the image you need according to your compute types (windows/MAC/Ubuntu).
2. After downloading, click to start the installation of imager.exe. The RPi Imager page appears when the installation is done. You need to click CHOOSE OS then on the new page,select the first one.
SC001-4.png

3. Insert the SD card in the card reader then plug the card reader into the computer. You should click CHOOSE SD CARD to let the following SD Card page appear. Now, select the SD card information bar. Back to the RPi page and click WRITE to download and flash the RPi system.

SC001-5.png

SC001-6.png

Step 2: Connect the RPi to the screen, configure RPi wifi & password, choose country & language, and click the icon to check the RPi ip.

Cam002-6.png

Cam002-7.png

Cam002-8.png

Cam002-9.png

    Got the ip, you can use putty tool to control RPi remotely via ssh remote connection.
  • putty download link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
  • Download finished, putty page is as shown. You need to input RPi ip, and type in 22 in the port box. Check ssh and click open to connect with RPi.
  • Cam008 5.png

  • The terminal page appears once you click open. By default, the ID is "pi" and the password is "raspberry". Note the alphabetic case.
  • Note: The password characters are hidden when you are entering.
    Cam008 6.png

    Step 3: Configure the camera

  • Type in the command "sudo raspi-config" on putty, and the following page will appear. What you need to do is to select Interfacing Options, press Enter --> click Camera, press Enter --> select "YES", and press Enter -->select "OK" and then press Enter.
  • Cam008 7.png

    Cam008 8.png

    Cam008 9.png

    Cam008 10.png

  • On putty, type "raspistill -v -o test.jpg " in the command line, and the information runs successfully.
  • Cam008 11.png

The shot picture can be checked in the pi files directory. If you have no display, you can transfer the pictures to your window computer via sftp.

  • ftp link: https://filezilla-project.org/
  • Back to the main page after finishing your installation. Fill the relevant box and finally click quickconnect to connect to RPi.
  • Cam008 12.png

    Cam008 13.png