like normal I am using Rasbian (see set up Rasbian) with SSH access, I did not install VNC, as I will not be using the GUI.
After I have logged in for the first time I have carried out the following:
- using Rasp-Config (
sudo raspi-config
) I have:- Enabled the camera (option 5)
- Changed the hostname (option 8 > A2) (Mine is now called rpicam)
- Change the user password (option 2 (mine is now camera)).
- Exit Rasp-Config and restart
- I have installed Netatalk, netatalk is a way of making your Pi easy to find on a mac network, and exposes the home directory of the user Pi over AFP 1
sudo
apt-get
install
netatalk
- I wanted to take a picture to see what it would look like before I did anything else, so using1
raspistill -o myimage.jpg
(there is a 5 second delay) I got the image on the right (resized in post-production): - Install a FTP client, and image magick 12
sudo
apt-get
install
ftp
sudo
apt-get
install
imagemagick
- make an FTP account on a remote server.
The Code
- make a folder called camera in the ~/ folder 1
mkdir
camera
- save the following to camera.sh in the folder camera:1
code
for
the camera
- To make the camera.sh file exicutable you will need to ass the X flag:1
chmod
+x camera.sh
then run camera.sh by typing1.
/camera
.sh
- I wanted to take a picture to see what it would look like before I did anything else, so using
No comments:
Post a Comment