Raspberry Pi

From VDR Wiki
Revision as of 19:28, 28 December 2022 by Dr-m (talk | contribs) (Initial description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

  • Input_devices: Pi TV HAT (Sony CXD2880 for free-to-air DVB-T and DVB-T2), or a USB based tuner
  • LIRC receiver: TSOP38238 connected to the GPIO header
  • Storage: USB-powered SSD, or a NAS via Ethernet
  • Case: for example, the TV HAT case, with the IR receiver sticking out of a vent hole

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