Difference between revisions of "Raspberry Pi - Week 4"
From Robert-Depot
(→Video Playback) |
|||
Line 7: | Line 7: | ||
*Another python tutorial: [http://learnpythonthehardway.org/book/ Learn Python the Hard Way] | *Another python tutorial: [http://learnpythonthehardway.org/book/ Learn Python the Hard Way] | ||
== Video Playback == | == Video Playback == | ||
+ | *[https://github.com/huceke/omxplayer Omxplayer] is a video player specifically made for the Raspberry PI's GPU made by Edgar (gimli) Hucek from the XBMC project. | ||
+ | *The commands. omxplayer hotkey reference: | ||
+ | **http://elinux.org/Omxplayer#Hotkeys | ||
+ | *We will send those via STDIN in python: | ||
+ | **http://stackoverflow.com/questions/12755968/sending-arrow-keys-to-popen | ||
+ | |||
== Scripting Video Playback == | == Scripting Video Playback == | ||
== GPIO == | == GPIO == |
Revision as of 07:58, 26 April 2013
Contents
Review
- Installed software with apt-get. (including festival).
- Installed and ran VNC to get a remote desktop on the machine.
- Ran a simple python script to synthesize speech ( example)
- Another python tutorial: Learn Python the Hard Way
Video Playback
- Omxplayer is a video player specifically made for the Raspberry PI's GPU made by Edgar (gimli) Hucek from the XBMC project.
- The commands. omxplayer hotkey reference:
- We will send those via STDIN in python:
Scripting Video Playback
GPIO
- pin over-voltage protection circuits - http://elinux.org/RPi_Tutorial_EGHS:GPIO_Protection_Circuits
- light example - https://projects.drogon.net/raspberry-pi/gpio-examples/tux-crossing/gpio-examples-1-a-single-led/
- uses wiringPI, command line tool, for ex:
gpio
- installed using git - https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/
- uses wiringPI, command line tool, for ex:
through python
- follow adafruit - http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/overview
- Rpi.GPIO -
- requires python-dev
- python-rpi.gpio
- https://code.google.com/p/raspberry-gpio-python/
Logic Level Conversion
- RPi is 3.3V.