Skip to content

avocado-bytes/radio_pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radio Pi

Repository Contents

This repository contains Node script to download current weather information, persist it using SQLite3 and speak it out loud using the audio output of a plain AM/FM radio.

Introduction

Radio Pi is a project that aims to add ability to speak text and generally add arbitrary audio output to regular AM/FM radio.

For this purpose I bought a very basic radio - Orava RR-29A. The reason behind the choice of this machine is very simple - its design is meant to be "retro" and therefore the body is quite spacious and made of plywood. Wooden material simplifies mounting hardware on the inside of the radio.
As power source for the Rpi I am using the mains, converted to 5 VDC by means of Hi-Link HLK-2M05 AC-DC converter.

Execution

  • The Rpi audio output (using regular GPIO PWM pins - GUIDE HERE) is soldered directly to the control board of the radio where the 3.5 mm audio jack input module is mounted to not to obstruct the audio input if needed.
  • Speech synthesis is achieved using the "festival" program. (FESTIVAL INSTALLATION)
  • Weather information is obtained using OpenWeatherMap's web API.
  • Script execution is scheduled using Cron job.
    ($ crontab -e)

UML diagram of the script

![Screenshot](images/uml.png)

Installation Snapshot

![Screenshot](images/canvas.png)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages