User Tools

Site Tools


rpi_kiosk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rpi_kiosk [2015/03/25 18:04]
wbeckett
rpi_kiosk [2021/06/04 02:16] (current)
Line 1: Line 1:
 ====== RPI Kiosk ====== ====== RPI Kiosk ======
 +
 +
 +<​code>​
 +
 +Upgrade:
 +sudo apt-get update
 +
 +sudo apt-get dist-upgrade
 +
 +
 +apt-get install build-essential
 +
 +</​code>​
 +
  
 [[http://​michaelteeuw.nl/​tagged/​magicmirror | Magic Mirror]] [[http://​michaelteeuw.nl/​tagged/​magicmirror | Magic Mirror]]
Line 42: Line 56:
  
 [[http://​stackoverflow.com/​questions/​14087135/​how-would-i-use-rtmpdump-to-download-this-stream | Downloading the stream]] [[http://​stackoverflow.com/​questions/​14087135/​how-would-i-use-rtmpdump-to-download-this-stream | Downloading the stream]]
 +
 +[[http://​www.raspberrypi-spy.co.uk/​2013/​05/​capturing-hd-video-with-the-pi-camera-module/​ | RPI Camera]]
 +
 +[[http://​wiki.elphel.com/​index.php?​title=Using_FFmpeg_with_Video_API | ffmpeg ​ usage]]
  
 <​code>​ <​code>​
Line 51: Line 69:
  
 sudo apt-get update && apt-get upgrade -y sudo apt-get update && apt-get upgrade -y
 +
 +
 +
 +    sudo apt-get update
 +
 +    sudo apt-get upgrade -y
 +
 +    sudo apt-get dist-upgrade -y
 +
 +    sudo rpi-update
 +
 +
 No it’s time to actually install apache: No it’s time to actually install apache:
  
Line 213: Line 243:
 </​code>​ </​code>​
  
 +<​code>​
 +http://​www.thisismyrobot.com/​2012/​08/​getting-logitech-c270-webcam-working-on.html
 +
 +1. Add UVC support to the image
 +Download and run rpi-update as described here. This will update your image to include the initially-missing UVC support. Reboot as suggested.
 +
 +2. Update your packages
 +sudo apt-get update
 +sudo apt-get upgrade ​
 +
 +3. Install the guvcview webcam viewer
 +sudo apt-get install guvcview
 +
 +4. Set up your permissions and enable the driver
 +sudo usermod -a -G video pi
 +sudo modprobe uvcvideo
 +
 +Reboot the Pi.
 +
 +5. Open up the cam (these are the settings that worked for me)
 +guvcview --size=544x288 --format=yuyv
 +</​code>​
 +
 +<​code>​
 +# apt-get install php5-curl
 +
 +</​code>​
 +
 +<​code>​
 +compile sqlite3 ​
 +sqlite3-build $ ./sqlite3 -version
 +3.8.10.1 2015-05-09 12:14:55 05b4b1f2a937c06c90db70c09890038f6c98ec40
 +
 +sqlite-autoconf-3081001.tar ​
 +
 +apt-get remove sqlite3
 +</​code>​
 +{{::​sqlite-autoconf-3081001.tar.gz|}}
 +
 +[[https://​console.aws.amazon.com/​ec2/​v2/​home?​region=us-east-1#​Instances:​sort=instanceId | EC2 east]]
 +
 +<​code>​
 +apt-get install ntp
 +
 +insserv ntp
 +
 +/​etc/​timezone
 +
 +/​usr/​bin/​tzselect
 +
 +</​code>​
 +
 +<​code>​
 +/​etc/​apache2/​envvars
 +
 +change RUN_USER/​RUN_GROUP
 +
 +</​code>​
rpi_kiosk.1427306679.txt.gz · Last modified: 2021/06/04 02:16 (external edit)