+
Skip to content

jomadu/kid-radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kid Radio

I'm making a radio for my kid for her first christmas.

Taking an old radio, connecting the tuner to a raspberry pi zero 2 w, and using it to switch between different spotify playlists that I manage with a specific naming convention.

Hardware

  • Raspberry Pi Zero 2 W
  • IQaudIO Codec Zero
  • HiLetgo ADS1115 16 Bit 16 Byte 4 Channel ADC

Setup for IQaudIO-Codec-Zero

/boot/firmware/config.txt

#dtparam=audio=on

dtoverlay=
dtoverlay=iqaudio-codec
sudo apt install git
git clone https://github.com/raspberrypi/Pi-Codec.git
sudo alsactl restore -f /home/<username>/Pi-Codec/Codec_Zero_OnboardMIC_record_and_SPK_playback.state

/etc/rc.local

#!/bin/sh
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

sudo alsactl restore -f /home/<username>/Pi-Codec/Codec_Zero_OnboardMIC_record_and_SPK_playback.state

exit 0

.asoundrc

pcm.!default {
  type hw
  card IQaudIOCODEC
}
ctl.!default {
  type hw
  card IQaudIOCODEC
}
sudo reboot
speaker-test -c2

Raspotify Setup

/etc/raspotify/conf

LIBRESPOT_NAME="Kid Radio"

Spotify Creds

https://developer.spotify.com/dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载