Close

We Need Brains

A project log for The Phone Friend

Bring any old phone to life, no disassembly required!

stephSteph 04/11/2023 at 00:500 Comments

Controlling the SLIC

A powered up AG1171 SLIC can energize a phone, but without some additional components, it can't do much else. The rest of the functions happen by interacting with pins 3, 4, 5, 9, 10 and 14:

A Microcontroller Match

The Raspberry Pi Pico W is a powerful microconroller with more than enough pins to operate all the features of the AG1171. Even while running less-optimized code such as Circuitpython, the Pico's RP2040 processor is fast enough to do mp3 and wav audio playback, as well as audio capture for monitoring DTMF tones. The "W" version with wifi retails for $6, while the non-wifi version sells for $5. 

Why Pi

Almost any microcontroller would work to control the basic functions of the AG1171. Heck, even a 555 timer and a few switches can do it. Here's why I chose the Pico line for this project:

  1. Local availability. The Pico was already on my desk.
  2. Supply. The Pico is widely available. (Here in 2023 there is still an ongoing chip shortage, making other systems like the Raspberry Pi 4 expensive or impossible to find)
  3. Affordability. The Pico eliminates the need for all of the following standalone modules:
    1. Power supply ($1-5): pico provides a well-regulated 3.3v 
    2. DTMF decoder ($5-10): CPU can handle this instead
    3. Audio player ($2-20): audio output is available via PWM
  4. Programmability. The Pico's 2040 processor is popular and widely supported in CircuitPython and other environments, making it easy to code for.

Discussions