The Discount Mars Rover Project

STEP 10: VIEW TO THE WORLD - TESTING THE CAMERA

In this step we will do some basic test with the Raspberry PI camera. This is also the first time we need to code some lines in Python. If you are new to Python I's recommend to check out some of the various Python tutorials in advance to continuing with this step.

The Raspberry Pi Camera Board plugs directly into the CSI connector on the Raspberry Pi. It's able to deliver a 5MP resolution image, or 1080p HD video recording at 30fps. There is a newer 8 MP version available, but the 5MP will match our requirements.

Which parts do I need?

1 x 5 MP Raspberry PI camera

Which software do I need?

SOFTWARE FOR STEP 10

What needs to be done?

  1. Locate the Camera Module port
  2. Gently pull up on the edges of the port’s plastic clip
  3. Insert the Camera Module ribbon cable; make sure the cable is the right way round
  4. Push the plastic clip back into place
  5. Start up your Raspberry Pi.
  6. Go to the main menu and open the Raspberry Pi Configuration tool.

  1. Select the Interfaces tab and ensure that the camera is enabled
  2. Reboot the raspberry

Start the Thonny IDE and use code for STEP 10. The programm cameratest.py will take some pictures and store them to dektop of user "pi".

How much do I have to pay?

1 x 5 MP Raspberry PI camera      12,50
=========================================
  Total                           12,50 €