Skip to content

Commit 403a873

Browse files
authored
James h65 patch tv hat (raspberrypi#1066)
* Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * copy edits * copy edits * copy edits
1 parent 6197ba4 commit 403a873

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

hardware/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ Technical information about Raspberry Pi hardware, including official add-ons an
99
- [Compute Module](computemodule/README.md)
1010
- [General HAT information](https://github.com/raspberrypi/hats/blob/master/README.md) (Links to our HAT github repository)
1111
- [Sense HAT](sense-hat/README.md)
12+
- [TV HAT](tv-hat/README.md)
1213
- [Display](display/README.md)
1314
- [Industrial use](industrial/README.md)

hardware/tv-hat/README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
## Getting started with the Raspberry Pi TV HAT
2+
3+
The TV HAT has an on-board DVB-T2 tuner that allows you to receive and decode digital television streams on your Raspberry Pi. Then you can watch these streams on the Pi or on any computer connected to the same network as the Pi.
4+
5+
The software we recommend to decode the streams (known as multiplexes, or muxes for short) and view content is called TVHeadend, and instructions for setting it up are below. The TV HAT can decode one mux at a time, and each mux can contain several channels to choose from. Content can either be viewed on the Raspberry Pi to which the TV-HAT is connected, or sent to another device on the same network.
6+
7+
**You will need:**
8+
* A TV aerial
9+
* A Raspberry Pi TV HAT with its stand-offs, screws, and aerial adaptor
10+
* A Raspberry Pi that is connected to the internet (plus a mouse, keyboard, and display, if
11+
you are not accessing the Pi remotely)
12+
* Optional: another computer connected to the same network
13+
14+
### Setup instructions
15+
16+
**On your Raspberry Pi:**
17+
18+
* Connect the aerial adaptor to the TV HAT:
19+
* With the adaptor pointing away from the USB ports, press the HAT gently down over the Raspberry Pi’s GPIO pins
20+
* Place the spacers at two or three of the corners of the HAT, and tighten the screws through the mounting
21+
holes to hold them in place.
22+
* Connect the TV HAT’s aerial adaptor to the cable from your TV aerial.
23+
* Set up the Raspberry Pi with the newest version of the Raspbian operating system, which you can download from [rpf.io/raspbian](rpf.io/raspbian).
24+
* If you don’t know how to do this, follow our guide at [rpf.io/startwithpi](rpf.io/startwithpi)
25+
* Start up your Pi, open a terminal window, and run the following two commands to install the `tvheadend` software:
26+
```
27+
sudo apt-get update
28+
sudo apt-get install tvheadend
29+
```
30+
* If you don’t know how to do this, follow our guide at [rpf.io/usingterminal](rpf.io/usingterminal)
31+
* During the `tvheadend` installation, you will be asked to choose an administrator account name and password. You’ll need these later, so make sure to pick something you can remember.
32+
33+
**In a web browser on a different computer:**
34+
35+
* Type the following into the address bar: `http://raspberrypi.local:9981/extjs.html`
36+
* This should connect to `tvheadend` running on the Raspberry Pi.
37+
* If the address above doesn't work, you’ll need to find out the IP address of the Pi. Open a terminal window on your Pi, and run the command `hostname -I`
38+
* You’ll see the IP address in one or two formats: a string of four numbers separated by dots, then, if you are on a IPv6 network, a space, then a long string of numbers and letters separated by colons.
39+
* Note down everything before the space (the four numbers and dots), and type this into the address bar instead of the raspberrypi.local part of the address.
40+
* Once you have connected to `tvheadend` via the browser, you will be prompted to sign in. Use the account name and password you chose when you installed `tvheadend` on the Pi. A setup wizard should appear.
41+
* First, set the language you want `tvheadend` to use (**English (GB)** worked for us; we have not yet tested other languages).
42+
* Next, set up network, user, and administrator access. If you don’t have specific preferences, leave **Allowed network** blank, and enter an asterisk (*) in the **username** and **password** fields. This will let anyone connected to your local network access `tvheadend`.
43+
* You should see a window titled **Network settings**. Under **Network 2**, you should see `Tuner: Sony CDX2880 #0 : DVB-T #0`. For **Network type**, choose `DVB-T Network`.
44+
* The next window is **Assign predefined muxes to networks**; here, you select the TV stream to receive and decode. Under Network 1, for predefined muxes, select your local TV transmitter.
45+
* A list of UK transmitters can be found at [www.digitaluk.co.uk/coveragechecker](www.digitaluk.co.uk/coveragechecker). Enter your postcode to see which transmitter should give you a good signal.
46+
* When you click **Save & Next**, the software will start scanning for the selected mux, and will show a progress bar. After about two minutes, you should see something like:
47+
```
48+
Found muxes: 8
49+
Found services: 172
50+
```
51+
* In the next window, titled **Service mapping**, tick all three boxes: **Map all services**, **Create provider tags**, and **Create network tags**.
52+
* Next you should see a list of TV channels you can watch, along with the programmes they’re currently showing.
53+
* To watch a TV channel in the browser, click the little TV icon to the left of the channel
54+
listing, just to the right of the **i** icon. This brings up an in-browser media player. Depending on the decoding facilities built into your browser and the type of stream being played, you may find that playback can be jerky. In these cases, we recommend using a local media player as the playback application.
55+
* To watch a TV channel in a local media player, e.g. VLC [www.videolan.org/vlc](www.videolan.org/vlc), you’ll need to download it as a stream. Click the `i` icon to the left of a channel listing to bring up the information panel for that channel. Here you can see a stream file that you can download.
56+
57+
`tvheadend` is supported by numerous apps, such as TvhClient for iOS, which will play TV from the Pi. OMXPlayer, supplied with Raspbian, also supports viewing TV streams from `tvheadend`. Kodi, available in the Raspbian repos, provides excellent facilities for playing live TV, along with previously recorded channels and timed series recording.
58+
59+
To discuss other features or uses of the TV HAT, please visit [rpf.io/forums](rpf.io/forums).

0 commit comments

Comments
 (0)