
V4.0
Element14 | element14.com/PiDesktop
14
$ sudo apt-get update
$ sudo apt-get upgrade
Now you need to enable camera support using the raspiconfig program used
when you first set up your Raspberry Pi.
$ sudo raspi-config
Use the cursor keys to move to the camera option and select
enable
. On exiting
raspi-config it will ask to reboot. The
enable
option will ensure that on reboot the
correct GPU firmware will be running (with the camera driver and tuning), and the
GPU memory split is sufficient to allow the camera to acquire enough memory to
run correctly. To test that the system is installed and working, try the following
command:
raspistill -v -o test.jpg
The display should show a 5-second preview from the camera and then take a
picture, saved to the file test.jpg, while displaying various informational messages.
Note:
When installing a Raspberry Pi 3 Camera the image orientation within the
software will need to be rotated 180 degrees.
To do so, use the command
--rotation, -rot
This sets the rotation of the image (0-359) in viewfinder and resulting image. This
can take any value from 0 upwards, but due to hardware constraints only 0, 90,
180 and 270-degree rotations are supported.
For troubleshooting and more info on the Raspberry Pi Camera Module visit:
https://www.element14.com/community/docs/DOC-78598/l/raspberry-pi-
camera-module
3.
Usage
3.1
Raspberry Pi Pins Used
The PiDesktop utilizes the following pins on the Raspberry Pi board in order to achieve
reliable power control and RTC function.
Using listed pins listed below (with exception of the two I2C pins) may cause issues. The
two I2C pins may be used for I2C communication, but should not be used as General IO
pins as this can also cause errors to occur.
GPIO
Function on Pi-desktop
Details
GPIO6
Pin2
The state of the RPi as read by the MCU
GPIO13
Pin1
The pulse signal from the MCU to the RPi
GPIO17
RTC_INTn
Interrupt signal of the RTC