Hackster is hosting Hackster Holidays, Finale: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Tuesday!Stream Hackster Holidays, Finale on Tuesday!
Martin Mander
Published © GPL3+

Rotary Tuning with the Raspberry Pi TV HAT

Bring some analogue control to your digital TV by using a rotary switch to change channels on a Raspberry Pi-powered vintage TV!

IntermediateProtip2 hours2,164
Rotary Tuning with the Raspberry Pi TV HAT

Things used in this project

Hardware components

Hitachi Pi
×1
Raspberry Pi TV HAT
Raspberry Pi TV HAT
×1
Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
×1

Software apps and online services

Raspbian
Raspberry Pi Raspbian
Tvheadend

Hand tools and fabrication machines

Flat blade screwdriver

Story

Read more

Schematics

Rotary Switch connection to the Pi GPIO

Ignore the pushbutton and PIR sensor if you just need channel changing!

Code

Channel Changing Script

Loops between 4 M3U playlist files, switching each time a button connected to GPIO 26 is pressed.

Credits

Martin Mander
28 projects • 57 followers
I love the design and ambition of vintage technology, and the usability and potential of new - my passion is bringing the two together.

Comments