Raspberry Pi
From Robert-Depot
Setup
Install OS on SD card
- Purchase a verified SDHC cards - http://elinux.org/RPi_SD_cards
- Follow EASY setup - http://elinux.org/RPi_Easy_SD_Card_Setup
- resizing main partition from booted raspberry pi - http://elinux.org/RPi_Resize_Flash_Partitions
configuration
apt-get not connecting
- add DNS server. see here:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=17016
vim instead of vi
vim instead of vi so arrow keys work:
- sudo apt-get update
- sudo apt-get -y install vim
bash configuration
- edit .bashrc:
- uncomment
ll
andla
- uncomment
add a user account
while logged in as PI user:
sudo adduser MyUser
sudo adduser MyUser sudo
add audio for non-default user
getting audio to work for a non-default user:
sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,netdev,input rtwomey
- logout, then login
SSH Login
ssh login:
- should work by default. you just need to know the IP address.
- Connecting to local mac it through netgear box, it's probably 192.168.2.3, or 192.168.2.2.
Store your public key on the remote system, so you aren't prompted for password: http://www.linuxproblem.org/art_9.html
vnc remote
- http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/installing-vnc
- http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=34094
overclocking
- using command line http://www.jeremymorgan.com/tutorials/raspberry-pi/how-to-overclock-raspberry-pi/
- using raspi-config http://elinux.org/RPi_raspi-config
scp
- to copy photos to my current computer, over ethernet cable:
- scp rtwomey@192.168.2.3:~/images/*.jpg ~/Pictures/
- if you've stored your ssh public key, you won't be prompted for password!
Software
FM Transmitter
- FM transmitter with python code - http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter
- this works!!
gphoto2
- control and capture of DSLR http://skowron.biz/artikel/gphoto-raspberry/
- take a photo:
gphoto2 --capture-image-and-download
- list cameras:
gphoto2 --list-ports
festival
- festival on raspberry pi - http://elinux.org/RPi_Text_to_Speech_(Speech_Synthesis)
- see http://wiki.roberttwomey.com/Setting_Up_Festival_TTS#Using_Voice_on_Raspberry_Pi
pocketsphinx
- http://wiki.roberttwomey.com/Setting_Up_Festival_TTS#Using_Voice_on_Raspberry_Pi
- sphinx on raspberry pi - https://sites.google.com/site/observing/Home/speech-recognition-with-the-raspberry-pi
megahal
- try it -
supercollider
- installing on rpi: http://sam.aaron.name/2012/11/02/supercollider-on-pi.html
- example install directory:
/usr/share/doc/supercollider/examples/
- http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SC-on-Beagle-Board-Raspberry-Pi-td7581949.html
- satellite CCRMA - https://ccrma.stanford.edu/wiki/Satellite_CCRMA_First_Steps
nltk
OpenCV
hd video playback
- omxplayer http://elinux.org/Omxplayer
- play a file:
omxplayer -o hdmi ~/Movies/robot_playing_catch.mp4
- play a file:
- http://subupi.blogspot.com/
Hardware Peripherals
Verified Peripherals - http://elinux.org/RPi_VerifiedPeripherals
Pi Foundation Camera Module
C-Media USB sound device
- setup C-media usb sound device - http://www.cpmspectre.pwp.blueyonder.co.uk/raspberry_pi/MoinMoinExport/DaffodilUSBSoundAdapter.html
C920
- USB packet loss (90% of frames)
microline 320 printer
- parallel:/dev/usblp0
- http://ubuntuforums.org/showthread.php?t=1436079&page=2
untested
- Processing - http://forum.processing.org/topic/processing-on-raspberry-pi
- webcam streaming - http://sirlagz.net/2012/08/04/how-to-stream-a-webcam-from-the-raspberry-pi/
- opencv - http://mitchtech.net/raspberry-pi-opencv/
- julius - http://www.aonsquared.co.uk/raspi_voice_control
Problems
- raspberry pi resets audio device after recording begins. similar to this complaint - http://www.raspberrypi.org/phpBB3/viewtopic.php?t=12086&p=135385