Skip to content

raben2/optionphone

Repository files navigation

Optionphone

Build a IoT Telephone using a classical W49 Rotary dialphone. The Phone is a gymic for the final exhibition of my wife's communications design study.

Hardware

  1. Raspi Zero W I fried one model because of a cheap soldering iron, for second try i used the model with pre soldered headers.

  2. The W49 W49

  3. For ringing the bell i used two Keystudio 5V electric magnets

  4. A proper soldering iron, i choose the Weller after my 30y old iron fried the first raspi.

  5. a third hand is mandatory, you should have one with a good stand.

The Circut

freetz

After assembling build in phone The magnets are fixated using fimo due to the lack of a proper 3d printer.

Find details about the parts in the circut in the freetz sketch

Setup

To prepare the Raspi we need to activate GPIO Audio out. This guide has the details.

To ensure the GPIO alt function i simply added a crontab entry @reboot /usr/local/bin/gpio_alt -p 18 -f 5

Wifi

you should setup a proper wpa_supplicant.conf to activate the webinterface.

load the systemd service files into /usr/lib/systemd/system and activate them.

systemctl enable option-player web

Soundboard

put your files into the soundsdir and edit the telephonebook.txt file A nice source for soundfiles is the asterisk collection.

Features

  • Ring the phone via web interface and play a default soundfile
  • Play a sound via the 4 digit code from telephonebook when dialing it.
  • Text to Speech via AWS Polly (Not released yet)

Known issues

The free line tone will play everytime the handset gets picked up. Even if the phone rings. To disable that just comment out Lines 29 and 30 in player.py

About

Event rotary telephone with Webinterface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published