
diy lofi hip hop raspberry pi radio
Created by Jeff Epler
Last updated on 2021-03-24 11:08:47 AM EDT

2
3
3
9
9
9
9
9
9
10
11
11
12
13
14
16
19
Guide Contents
Guide Contents
Overview
Parts
Configure your Raspberry Pi
Plug in the BrainCraft HAT
Install Raspberry Pi OS
Set up networking
Update and upgrade
Install additional software
Configure the BrainCraft HAT, part 1
Install the kiosk-mode script
Configure the BrainCraft HAT, part 2
Optional: Configure Overlay (read only) mode
Controlling the Radio
3D Printed Case
Parts required for the 3D printed case
Choosing your own videos
© Adafruit Industries https://learn.adafruit.com/lofi-hip-hop-raspberry-pi-radio-braincraft Page 2 of 21

Overview
Can't get enough of those sweet lofi hip hop radio beats, but don't want to keep a browser tab open for it?
In this guide, you'll set up a Raspberry Pi 4 in Kiosk mode so that it will automatically play any YouTube
music stream when it starts, using the high quality digital I2S stereo outputs of the BrainCraft HAT, and
showing a suitably low-fi 240x240 version of the video.
We'll use the BrainCraft HAT which has both video display
and
digital stereo speaker + stereo headphone
output for an all-in-one standalone YouTube appliance kit. Plug speakers directly in, or you can use the
line/headphone out to connect to an audio system or headphones
For more information about the BrainCraft HAT, head to its dedicated guide (https://adafru.it/NLE).
However, don't actually do the setup steps until this guide instructs you to do so.
Parts
© Adafruit Industries https://learn.adafruit.com/lofi-hip-hop-raspberry-pi-radio-braincraft Page 3 of 21

Raspberry Pi 4 Model B - 4 GB RAM
The Raspberry Pi 4 Model B is the newest Raspberry Pi computer made, and the Pi Foundation knows you
can always make a good thing better! And what could make the Pi 4 better...
$55.00
In Stock
Your browser does not support the video tag.
Adafruit BrainCraft HAT - Machine Learning for Raspberry Pi 4
The idea behind the BrainCraft HAT is that you’d be able to “craft brains” for Machine Learning on the
EDGE, with Microcontrollers & Microcomputers. On ASK...
Out of Stock
Add to Cart
Out of
Stock
© Adafruit Industries https://learn.adafruit.com/lofi-hip-hop-raspberry-pi-radio-braincraft Page 4 of 21

USB Powered Speakers
Add some extra boom to your audio project with these powered loudspeakers. We sampled half a dozen
different models to find ones with a good frequency response, so you'll get...
$9.95
In Stock
Add to Cart
© Adafruit Industries https://learn.adafruit.com/lofi-hip-hop-raspberry-pi-radio-braincraft Page 5 of 21

Cell-phone TRRS Headset - Earbud Headphones w/ Microphone
These earbud headphones are the perfect accessory for your FONA - they've been tested to work with
our modules - but can be used with any iOS or Android device that uses a TRRS...
$3.95
In Stock
16GB Card with NOOBS 3.1 for Raspberry Pi Computers including 4
NOOBS 3.1 is the fastest way to have a variety of operating systems on your Pi. Available on a 16G card,
you can now boot multiple OS's such as Raspbian, Pidora, RaspBMC,...
$14.95
In Stock
Add to Cart
Add to Cart
© Adafruit Industries https://learn.adafruit.com/lofi-hip-hop-raspberry-pi-radio-braincraft Page 6 of 21

Micro HDMI to HDMI Cable - 2 meter
Connect an HDMI device with a micro HDMI port to one with a regular size HDMI port together with this
basic HDMI cable. It has nice molded grips for easy installation, and is 2 meter...
$8.95
In Stock
Add to Cart
© Adafruit Industries https://learn.adafruit.com/lofi-hip-hop-raspberry-pi-radio-braincraft Page 7 of 21