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.
-
Raspi Zero W I fried one model because of a cheap soldering iron, for second try i used the model with pre soldered headers.
-
The W49
-
For ringing the bell i used two Keystudio 5V electric magnets
-
A proper soldering iron, i choose the Weller after my 30y old iron fried the first raspi.
-
a third hand is mandatory, you should have one with a good stand.
After assembling 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
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
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
put your files into the sounds
dir and edit the telephonebook.txt
file
A nice source for soundfiles is the asterisk collection.
- 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)
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