RPi/light entertainment

From Bjoern Hassler's website
< RPi
Jump to: navigation, search

1 Project 3: And now for some light entertainment: Audio and video[edit]

1.1 omxplayer[edit]

For playing video on your Raspberry Pi, use omxplayer.

1.2 Pi-DAC+[edit]

There's various higher quality audio boards, including the Pi-DAC+. Instructions are here: http://www.iqaudio.com/downloads/IQaudIO.pdf

# http://www.iqaudio.com/downloads/IQaudIO.pdf
dtoverlay=iqaudio-dacplus

# Raspbian with kernel 4.4.14+  (later versions of Jessie), use
# dtoverlay=iqaudio-dacplus,auto_mute_amp

With Raspbian Jessie, I had no problems. However, I had an old card, that was initially on an older version of Raspbian (on a Raspberry Pi B, early 2013), which didn't have i2c enabled by default. Hence

sudo nano /etc/modprobe.d/raspi-blacklist.conf

and remove i2c-bcm2708 so it's not longer blacklisted.

If you have soldered on the angled header to get access to GPIOs (underneath the board): The 40 pins are just shifted to the side (looking at the board from the top), as you would expect. The first 10 (soldered ontop, to provide power to the amp) are just the usual 10 pins. The remaining 30 are the usual when seen from the top. However, because of the angled connector soldered in underneath, the two long rows swap sides (mirror image, because it's soldered from underneath, rather than ontop, if you see what I mean).