Raspberry Pi: Difference between revisions
(Initial description) |
(Listed more options, and added pictures) |
||
Line 2: | Line 2: | ||
The Raspberry Pi is based on a VideoCore GPU that was more or less created for VDR. It supports hardware accelerated decoding of MPEG-2 and H.264 streams. The power consumption of the system is rather low, and passive cooling may be sufficient. |
The Raspberry Pi is based on a VideoCore GPU that was more or less created for VDR. It supports hardware accelerated decoding of MPEG-2 and H.264 streams. The power consumption of the system is rather low, and passive cooling may be sufficient. |
||
You may use the Rasbperry Pi as a front-end, streaming video from a separate server on your local area network, or you could create a minimal stand-alone system: |
You may use the Rasbperry Pi as a front-end, streaming video from a separate server on your local area network, or you could create a minimal stand-alone system. Here are a few options: |
||
*[[Input_devices]]: |
|||
* |
** Pi TV HAT (Sony CXD2880 for free-to-air DVB-T and DVB-T2) |
||
⚫ | |||
** USB based tuner |
|||
*Storage: USB-powered SSD, or a NAS via Ethernet |
|||
** IPTV streaming over Ethernet |
|||
⚫ | |||
*[[LIRC]] receiver: |
|||
⚫ | |||
** Something via a USB based tuner |
|||
** Something behind a separate microcontroller that could also feature power-on by timer or infrared remote control. |
|||
*Storage: |
|||
** USB-powered SSD; see [[Systemd]] how to make VDR auto-start when storage is plugged in |
|||
** NAS via Ethernet |
|||
*[[Case]]: |
|||
** Minimal: Any Pi case, with discrete components attached via cables |
|||
⚫ | |||
** Maximal: Everything built in, including storage and a mains power supply |
|||
==gpio-ir driver== |
==gpio-ir driver== |
||
Line 16: | Line 27: | ||
If you are using the Pi TV HAT, the infrared receiver can be connected via loose wires to solder pads next to the GPIO header. Be careful when soldering. |
If you are using the Pi TV HAT, the infrared receiver can be connected via loose wires to solder pads next to the GPIO header. Be careful when soldering. |
||
{| border=0 cellpadding=2 cellspacing=0 |
|||
|[[Image:Pi TV HAT IR.jpg|thumb|none|TSPO38238 attached by loose wires to Pi TV HAT]] |
|||
|[[Image:Pi TV HAT.jpg|thumb|none|side view, IR receiver sticking out of a vent hole]] |
|||
|[[Image:Pi VDR.jpg|thumb|none|entire setup (except USB drive)]] |
|||
|} |
|||
[[Category:Hardware]] |
[[Category:Hardware]] |
||
Line 32: | Line 48: | ||
| https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center |
| https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center |
||
| How to connect a TSOP38238 receiver to a Raspberry Pi |
| How to connect a TSOP38238 receiver to a Raspberry Pi |
||
|- |
|||
| [4] |
|||
| https://www.vdr-portal.de/forum/index.php?thread/133346-m3d1-pi/ |
|||
| M3d1@Pi case |
|||
|} |
|} |
Revision as of 15:55, 15 April 2023
Introduction
The Raspberry Pi is based on a VideoCore GPU that was more or less created for VDR. It supports hardware accelerated decoding of MPEG-2 and H.264 streams. The power consumption of the system is rather low, and passive cooling may be sufficient.
You may use the Rasbperry Pi as a front-end, streaming video from a separate server on your local area network, or you could create a minimal stand-alone system. Here are a few options:
- Input_devices:
- Pi TV HAT (Sony CXD2880 for free-to-air DVB-T and DVB-T2)
- USB based tuner
- IPTV streaming over Ethernet
- LIRC receiver:
- TSOP38238 connected to the GPIO header
- Something via a USB based tuner
- Something behind a separate microcontroller that could also feature power-on by timer or infrared remote control.
- Storage:
- USB-powered SSD; see Systemd how to make VDR auto-start when storage is plugged in
- NAS via Ethernet
- Case:
- Minimal: Any Pi case, with discrete components attached via cables
- Intermediate: The TV HAT case, with the IR receiver sticking out of a vent hole, external USB-powered SSD
- Maximal: Everything built in, including storage and a mains power supply
gpio-ir driver
You can connect a TSOP38238 infrared remote control receiver to the GPIO header: 3.3V, ground, and GPIO 18 (or 17). You can enable the hardware by adding the following line to /boot/config.txt
:
dtoverlay=gpio-ir,gpio_pin=18
After rebooting, the hardware should be available in /dev/lirc0
. Install the package ir-keytable
and configure /etc/rc_maps.cfg
, as noted in LIRC.
If you are using the Pi TV HAT, the infrared receiver can be connected via loose wires to solder pads next to the GPIO header. Be careful when soldering.
Links
[1] | https://www.raspberrypi.com/products/raspberry-pi-tv-hat/ | Raspberry Pi TV HAT |
[2] | https://thepihut.com/blogs/raspberry-pi-tutorials/tv-hat-case-for-raspberry-pi-assembly-guide | TV HAT case |
[3] | https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center | How to connect a TSOP38238 receiver to a Raspberry Pi |
[4] | https://www.vdr-portal.de/forum/index.php?thread/133346-m3d1-pi/ | M3d1@Pi case |