[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111605":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":12,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},111605,"Analog-Redial","sdylewski\u002FAnalog-Redial","sdylewski","A circuit board for old telephones to come back to life.  Plug one or two phones in, and you can call the other phone, use bluetooth, connect to others via voip, and do a variety of other things with a plain old rotary or touch-tone phone.  There's a nice web interface also!",null,"C",60,3,51,1,0,5,9,47.21,"Other",false,"main",[],"2026-11-23 05:07:01","2026-11-22 11:47:35","**Home** · [1 · Get a board](docs\u002Fboard.md) · [2 · Parts & assembly](docs\u002Fbom.md) · [3 · Flash & test](docs\u002Fflashing.md) · [4 · Set up & use](docs\u002Fsetup.md)\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fassets\u002Flogo.svg\" alt=\"Analog Redial logo\" width=\"160\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Analog Redial\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cb>Bring old telephones back to life.\u003C\u002Fb>\u003Cbr>\n  Plug in one or two analog phones, rotary or touch-tone, and they get real\n  dial tone, ringing, an operator recording and an answering machine: a complete standalone phone system.\u003Cbr>\n  Hackable open source hardware and software with a working web UI for configuration.\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#everything-it-connects-to\">Overview\u003C\u002Fa> ·\n  \u003Ca href=\"#what-can-i-do-with-it\">What it does\u003C\u002Fa> ·\n  \u003Ca href=\"#set-it-up-from-your-browser\">Web interface\u003C\u002Fa> ·\n  \u003Ca href=\"#what-does-one-cost\">Cost\u003C\u002Fa> ·\n  \u003Ca href=\"#build-one\">Build one\u003C\u002Fa> ·\n  \u003Ca href=\"#community\">Community\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fpics\u002FV5_board.jpg\" alt=\"The Analog Redial board\">\u003C\u002Ftd>\n    \u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Fpics\u002Fv4_case.jpg\" alt=\"The board in its 3D-printed case\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd align=\"center\">The board: an ESP32-C6, an audio codec, with dual phone lines and the bluetooth module.\u003C\u002Ftd>\n    \u003Ctd align=\"center\">In its 3D-printed case \u003Cbr>(\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsdylewski\u002FAnalog-Redial\u002Fblob\u002Fmain\u002Fdocs\u002Fcase.md\">case guide and print files\u003C\u002Fa>)\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\n## What can I do with it?\n\n| | What you get | What you need |\n|---|---|---|\n| **Offline Calling** | Two phones, one board. Dial **321** (configurable) and the other phone rings.  No Wi-Fi required. Use in 2 rooms of a house or a fun toy for kids| 2 phones |\n| **A phone that does things** | Dial a code and something happens: play a clip, leave a message, hear a joke. For museum exhibits, art pieces, a wedding guestbook phone. Add your own codes and audio from the browser. | One phone |\n| **Call between boards** | Put a board in each room. Each gets its own 4-digit number the first time it's on your Wi-Fi; dial another board's number and its phone rings. It's VoIP over your home network: no server needed. | Two or more boards \u003Cbr> Wi-Fi |\n| **VoIP server** | Register a line with Asterisk, FreePBX or any SIP server and call anything that server can reach, at home or away. If the server goes down, the boards can still call each other directly. | One phone \u003Cbr> Wi-Fi \u003Cbr> SIP server |\n| **Home Assistant** | Every pickup, hang-up and dial code becomes an event, so a dial code can turn on a light and the phone can ring when your doorbell does. Over MQTT or a plain webhook. *Experimental.* | Wi-Fi and Home Assistant (or any MQTT broker) |\n| **Switch things** | Dial a code and a pin goes high for a few seconds or continuously: a relay, a buzzer, a lamp. | One line \u003Cbr> no microSD \u003Cbr> a relay |\n| **Bluetooth calls** | Pair your mobile and the rotary phone becomes its handset: the bell rings for incoming calls, lift to answer, dial out on the rotary dial. | The BM64 Bluetooth board |\n\n### Why not just buy a VoIP adapter?\n\nYou can do a lot with VoIP adapters and an Asterisk server, but this system can work fully offline if desired while also adding VoIP when needed.  There's also the possibility of uSD card access, bluetooth, or 4 GPIO pins to do even more.\n\n\n## System overview\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fassets\u002Fsetup-overview-top-web.png\" alt=\"Everything the Analog Redial board can connect to: one phone always, then a second phone line or a microSD card or your own gadgets on four spare pins chosen with the J5 jumpers; Wi-Fi to the web interface, other Analog Redial boards, a VoIP server and Home Assistant; and Bluetooth to a cell phone through an extra adapter board\">\n\u003C\u002Fp>\n\nEvery network option runs on the board's own Wi-Fi, with nothing to add.\nBluetooth is the only one that needs an extra board.\n\n### The finer print\n\n- **Dialing.** Rotary pulse and touch-tone, on either line. Dial codes can be\n  up to 10 digits (spaces, dashes and parentheses are ignored). Add your own\n  codes and audio clips from the browser and give any built-in\n  code a different number. \n  \t- Play an audio file after dialing a number: **412** plays dial-up modem sounds\n  \t- Respond to any number: **314** reads pi aloud.\n  \t- A kitchen timer: dial **846**, then the number of minutes, and the phone rings when time is up.\n  \t- An alarm clock: dial **256**, then the time (0730), and the phone rings at that time.\n  \t- A weather line: dial **1212** for the forecast, read out like the old time-and-temperature numbers.\n  \t- Optional digit readback speaks each digit you dial (**822**\n  on, **821** off)\n- **Calls.** Line-to-line calls with ringback and busy tones. \n\t- Optional intercom mode: lift one handset, wait, and the other phone rings with its\n  own double ring. \n  \t- Optional VoIP calls (G.711): directly between Analog Redial boards on the same network, with no server, or through a SIP server such as Asterisk.\n- **Sound.** Dial tone, ringback and busy that match your country (North\n  America, several European countries, Japan, China, or a generic\n  international set). Echo cancellation and earpiece volume per line. An\n  off-hook alert if a handset is left off. Experimental voice effects\n  (Dalek, chipmunk, robot) mid-call.\n- **Messages.** Record a message with **211** and download it from the\n  browser. \n  \t- Optional per-line answering machine, each line with its own greeting,\n  that also answers VoIP or local calls. \n  \t- Storage to internal flash or microSD card for hours of storage\n  (1-line version only). \n- **Payphones.** Dial tone, ringing, dialing and calls work on a payphone like\n  on any phone; the coin mechanism isn't supported yet. See\n  [Payphones](docs\u002Fsetup.md#10-payphones).\n- **Home automation.** Every pickup, hang-up, dial code and incoming ring\n  can go to Home Assistant, or any system that takes a webhook or MQTT. Home\n  Assistant can ring a phone or fire a pin output back. Experimental; see\n  [Home Assistant](docs\u002Fhome-assistant.md).\n- **Things on the pins.** A dial code can switch one of four spare pins\n  (a relay, a buzzer, a lamp) for a set number of seconds, or toggle it.\n- **Day to day.** Quiet hours that silence the bell overnight. Remembers\n  several Wi-Fi networks. An optional web password. Firmware updates from\n  the browser. A one-button rescue mode for when it can't find its network.\n  Board blink codes to indicate activity and errors.\n- **Open.** ESP-IDF C firmware under the MIT license, KiCad hardware files,\n  and a serial console for debugging.\n\nFull feature list and firmware architecture: [Features](docs\u002Ffeatures.md).\n\n---\n\n## Set it up from your browser\n\nThe board serves its own web page at **`http:\u002F\u002Fphone.local`**, reachable\nfrom any phone or laptop on your Wi-Fi. No app, no account, no cloud. On\nfirst boot it makes its own Wi-Fi network with a setup page that gets it\nonto yours. Firmware is updating frequently, so these are just examples.\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\" width=\"33%\">\u003Ca href=\"docs\u002Fpics\u002Fstatus.png\">\u003Cimg src=\"docs\u002Fpics\u002Fthumbs\u002Fstatus.png\" alt=\"Status page\">\u003C\u002Fa>\u003Cbr>\u003Cb>Status\u003C\u002Fb>\u003Cbr>Lines, activity, the dial guide\u003C\u002Ftd>\n    \u003Ctd align=\"center\" width=\"33%\">\u003Ca href=\"docs\u002Fpics\u002Fsettings-phone.png\">\u003Cimg src=\"docs\u002Fpics\u002Fthumbs\u002Fsettings-phone.png\" alt=\"Phone settings\">\u003C\u002Fa>\u003Cbr>\u003Cb>Phone settings\u003C\u002Fb>\u003Cbr>Answering machine, tones, effects\u003C\u002Ftd>\n    \u003Ctd align=\"center\" width=\"33%\">\u003Ca href=\"docs\u002Fpics\u002Fsettings-dialcodes.png\">\u003Cimg src=\"docs\u002Fpics\u002Fthumbs\u002Fsettings-dialcodes.png\" alt=\"Dial codes and prompts\">\u003C\u002Fa>\u003Cbr>\u003Cb>Dial codes\u003C\u002Fb>\u003Cbr>Your own codes and audio\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Ca href=\"docs\u002Fpics\u002Fsettings-voip.png\">\u003Cimg src=\"docs\u002Fpics\u002Fthumbs\u002Fsettings-voip.png\" alt=\"VoIP settings\">\u003C\u002Fa>\u003Cbr>\u003Cb>VoIP\u003C\u002Fb>\u003Cbr>SIP server, generated Asterisk script\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Ca href=\"docs\u002Fpics\u002Frecordings.png\">\u003Cimg src=\"docs\u002Fpics\u002Fthumbs\u002Frecordings.png\" alt=\"Recordings\">\u003C\u002Fa>\u003Cbr>\u003Cb>Recordings\u003C\u002Fb>\u003Cbr>Play or download messages\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Ca href=\"docs\u002Fpics\u002Fsettings-hardware.png\">\u003Cimg src=\"docs\u002Fpics\u002Fthumbs\u002Fsettings-hardware.png\" alt=\"Hardware settings\">\u003C\u002Fa>\u003Cbr>\u003Cb>Hardware\u003C\u002Fb>\u003Cbr>Line count, microSD, firmware update\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\nClick any picture for the full page. A guided tour is in\n[Set up & use](docs\u002Fsetup.md).\n\n---\n\n\n\n## What does one cost?\n\nUS prices from October 2026, including shipping and import tariff:\n\n| | Per board | 5 boards |\n|---|---:|---:|\n| Assembled PCB from JLCPCB, delivered (5-board minimum) | $17.11 | $85.53 |\n| Parts you solder, from DigiKey ([parts list](docs\u002Fbom.md)) | $19 | $95 |\n| DigiKey shipping, about $5 an order | $1 | $5 |\n| **Total, one phone line** | **about $37** | **about $186** |\n| Second phone line (optional) | +$10 | +$50 |\n| Bluetooth board (optional, v5) | +$15 | +$80 |\n\n**Five boards cost about $186 in all, about $37 each.**\nJLCPCB's minimum is five, so it's about $110 up front, with four spare PCBs.\nThe five-board Bluetooth figure is $15 a board plus about $5 shipping. Buying\nthe hand-solder parts from AliExpress saves $7 per board.\n\nYou'll also want a 2 A USB-C charger (or a regulated 5-6 V, 2 A DC supply for the DC jack; never 9 V or 12 V) and one or two analog phones. \n\nMost of a small order is fixed PCB setup fees, so boards get cheaper when people\norder together. If you'd like a board,\n**[fill out the interest form](https:\u002F\u002Fforms.gle\u002FkVKHiXejV6M2ZxC17)**. It's\nonly to show interest, so I can email you when boards are available on Tindie;\nthere's no commitment. Questions? [Join the Discord](https:\u002F\u002Fdiscord.gg\u002FzEZkqfcxqE) and ask there.\n\nPrice breakdown: [Get a board](docs\u002Fboard.md#what-it-costs).\n\n---\n\u003Cbr>\u003Cimg src=\"docs\u002Fpics\u002FV5_board_annotated.png\" width=\"600\" alt=\"Analog Redial v5 board, with its parts labelled\">\n\n## Build one\n\nNo surface-mount soldering needed: the fab places the small parts, and\neverything you solder is through-hole. If you can solder a header and type a\nfew commands in a terminal, you can build one.\n\n| Step | Guide | What's in it |\n|---|---|---|\n| **1** | [Get a board](docs\u002Fboard.md) | Board versions, ordering from JLCPCB, buying on Tindie, costs |\n| **2** | [Parts](docs\u002Fbom.md) and [assembly](docs\u002Fbuilding.md) | What to buy, soldering order, checks before power-on; [v5 step by step](docs\u002Fbuild-v5.md) |\n| **3** | [Flash & test](docs\u002Fflashing.md) | Install ESP-IDF, flash the firmware, run the hardware self-test |\n| **4** | [Set up & use](docs\u002Fsetup.md) | Wi-Fi, the web interface, dial codes, your own audio |\n\nGoing further: [Troubleshooting](docs\u002Ftroubleshooting.md) ·\n[VoIP setup](docs\u002Fvoip-setup.md) ·\n[Home Assistant](docs\u002Fhome-assistant.md) ·\n[Board reference (v4)](docs\u002Fhardware-smd4.md) ·\n[Board reference (v5)](docs\u002Fhardware-smd5.md) ·\n[Features & firmware architecture](docs\u002Ffeatures.md) ·\n[Firmware developer notes](https:\u002F\u002Fgithub.com\u002Fsdylewski\u002FAnalog-Redial\u002Fblob\u002Fmain\u002Ffirmware\u002FREADME.md)\n\n> ⚠️ **Phone lines carry real voltage.** The board drives about 48 V DC on\n> an off-hook line and about 60 V AC while ringing, with peaks near 90 V.\n> Don't touch the phone jacks or the line chips while it's powered, and never\n> connect it to your house or telephone-company wiring. This is a hobby\n> project, not certified telecom equipment.\n\n---\n\n## Community\n\n- **Discord:** [join the server](https:\u002F\u002Fdiscord.gg\u002FzEZkqfcxqE) for questions, build help and show-and-tell\n- **Want a board?** [Interest form](https:\u002F\u002Fforms.gle\u002FkVKHiXejV6M2ZxC17): just to show interest, so I can email you when boards are available on Tindie. Questions? Ask in the Discord.\n- **Bugs and questions:** [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fsdylewski\u002FAnalog-Redial\u002Fissues)\n- **Built one?** Post a picture in the Discord channel! We'd love to see it.\n\n---\n\n## Project history\n\n| When | Version | What it was |\n|------|---------|-------------|\n| Aug 2020 | **Raspberry Pi** \u003Cbr>\u003Cimg src=\"docs\u002Fpics\u002Fpi_version.jpg\" width=\"220\" alt=\"Raspberry Pi version in its project box\"> | A Raspberry Pi 4 in a project box, two SLIC modules hand-wired on breadboard to the GPIO header, and a USB sound dongle per phone line. Hand written python software and shell scripts. No web UI, but it worked!|\n| Jun 2026 | **v1** | The first ESP32 board: through-hole, with a WM8731 codec and two AG1170 SLICs. The Pi's job on a $5 microcontroller. Never built because boards got lost in the mail.|\n| Jul 2026 | **v2** \u003Cbr>\u003Cimg src=\"docs\u002Fpics\u002Fsmd2_board.jpg\" width=\"220\" alt=\"Analog Redial v2 board\"> | First surface-mount board: ESP32-C6 module, ES8388 codec, AG1171 SLICs, microSD. Required rework on audio lines and usb connection but it worked. |\n| Sep 2026 | **v4** \u003Cbr>\u003Cimg src=\"docs\u002Fpics\u002Fsmd4_board.jpg\" width=\"220\" alt=\"Analog Redial v4 board\"> | 2-layer, built around a cheaper 32-pin ESP32-C6-DevKitC-1, one or two phone lines, optional microSD. |\n| Oct 2026 | **v5** \u003Cbr>\u003Cimg src=\"docs\u002Fpics\u002FV5_board.jpg\" width=\"220\" alt=\"Analog Redial v5 board\">| Working: takes a genuine or clone ESP32-C6 module, and adds the expansion header (used for the Bluetooth board). \u003Cbr>**With a clone module, remove the clone's bottom-right 5V pin** (see [Get a board](docs\u002Fboard.md)). |\n| Oct 2026 | **v5.1** | **RECOMMENDED VERSION** v5 with the clone-module 5V pin fixed (nothing to remove) and small silkscreen and fab-file updates. |\n| Nov 2026 | **v6** \u003Cbr>\u003Cimg src=\"docs\u002Fpics\u002FV6_board_top.png\" width=\"220\" alt=\"Analog Redial v6 board\"> | **Released, not built or tested yet.** Two phone lines, the microSD card, payphone support and extra I\u002FO all working at once (an I²C I\u002FO expander drives the second line), plus the clone-module 5V pin fix and a 3 A diode (SS34) for the DC jack. |\n\n### Related projects\n\nOther open-source projects that bring old phones back to life:\n\n| | [Analog Redial](https:\u002F\u002Fgithub.com\u002Fsdylewski\u002FAnalog-Redial) | [RotaryCell](https:\u002F\u002Fgithub.com\u002Ffregacmols\u002FRotaryCell) | [weeBell](https:\u002F\u002Fgithub.com\u002Fdanjulio\u002FweeBell_hardware) | [1dcoinctrl](https:\u002F\u002Fgithub.com\u002Fhharte\u002F1dcoinctrl) |\n|---|---|---|---|---|\n| **What it is** | Standalone phone system | Cellular conversion | Bluetooth adapter | Payphone coin controller |\n| **MCU** | ESP32-C6 | ESP32 (LilyGO) | ESP32 (gCore) | PIC18F |\n| **SLIC** | AG1171 | AG1171 | AG1171 | — |\n| **Codec** | ES8388 | Passive | ES8388 | — |\n| **Custom PCB** | ✅ | ✅ | ✅ | ✅ |\n| **Rotary dial** | ✅ | ✅ | ✅ | ✅ |\n| **Touch-tone (DTMF)** | ✅ | ❌ | ✅ | ❌ |\n| **VoIP \u002F SIP** | ✅ | ❌ | ❌ | ❌ |\n| **Bluetooth calling** | ✅ | ❌ | ✅ | ❌ |\n| **Cellular (SIM)** | ❌ | ✅ | ❌ | ❌ |\n| **Web UI** | ✅ | ✅ Maintenance | ❌ LCD only | ❌ |\n| **Answering machine** | ✅ | ❌ | ❌ | ❌ |\n| **2nd phone line** | ✅ +$10 | ❌ | ❌ | ✅ Up to 4 |\n| **Offline phone-to-phone** | ✅ | ❌ | ❌ | ❌ |\n| **Dial codes & actions** | ✅ | ❌ | ❌ | ❌ |\n| **Home automation** | ✅ | ❌ | ❌ | ❌ |\n| **Payphone coin support** | In progress | ❌ | ❌ | ✅ +\u002F-130 V |\n| **OTA firmware update** | ✅ | ✅ | ❌ | ❌ |\n| **Battery powered** | USB-C power bank | ✅ | ✅ | ❌ |\n| **Approx. cost** | **~$37** (+$15 BT) | **~$60** + SIM | **~$60** shield + gCore (~$80-100) | **~$50-80** est. |\n| **License** | MIT | MIT | CC0 | MIT |\n| **GitHub stars** | — | 196 | 18 | 75 |\n\n**RotaryCell** puts a cellular modem (LilyGO T-SIM7670G) and an AG1171\ninside a rotary phone, turning it into a standalone battery-powered cell\nphone with no Wi-Fi needed. It's the most polished project in the list,\nwith an illustrated build guide and multiple documented builds. The\npublished BOM is ~$52 for the core parts (LilyGO $29, PCBs $9, AG1171\n$8.50, battery $5) plus a SIM card with ongoing service.\n\n**weeBell** by [danjulio](https:\u002F\u002Fgithub.com\u002Fdanjulio) pairs a phone to\nyour cellphone via Bluetooth (the phone becomes a handset). It uses the\nsame ES8388 codec as Analog Redial, and the gCore it runs on brings a large\ndisplay. The POTS shield is\n[available assembled on Tindie](https:\u002F\u002Fwww.tindie.com\u002Fproducts\u002F30895\u002F)\nfor about $60, but it also needs a [gCore](https:\u002F\u002Fwww.tindie.com\u002Fproducts\u002F29204)\n(ESP32 board with a 480 × 320 display, roughly $80-100) and an 18650\nbattery, so a complete build costs well over $140. weeBell replaces\ndanjulio's earlier Teensy-based Blue Pot.\n\n**1dcoinctrl** by [hharte](https:\u002F\u002Fgithub.com\u002Fhharte) is a coin-line\ncontroller for Western Electric 1D\u002F2D \"dumb\" payphones. It generates\n+\u002F-130 VDC for coin collect\u002Frefund and interfaces with Asterisk — the\nclosest existing project to the Analog Redial payphone coin board.\nIt requires a separate ATA and Asterisk server; it does not generate\ndial tone or ring voltage itself. Cost is estimated at $50-80 for a\nfull 4-line build (PIC MCU, DC-DC converter, 7+ relays, PCB).\n\n## License\n\n[MIT](LICENSE) for the firmware and documentation. Hardware design files are\nprovided as-is for personal and hobby use; see the note in [`LICENSE`](LICENSE).\n","Analog Redial 是一款开源硬件项目，旨在让老式模拟电话（旋转拨号或按键式）重新具备现代通信能力。它基于 ESP32-C6 主控，集成音频编解码器与蓝牙模块，支持双线接入，提供本地直拨、VoIP（基于 SIP 或局域网内板间呼叫）、蓝牙手机通话中继、可编程拨号指令响应（如播放音频、触发 GPIO）、Web 配置界面及 Home Assistant 集成等功能。系统完全离线可用，也支持联网扩展，适用于复古设备复用、智能家居交互、教育演示、艺术装置或小型家庭通信场景。",2,"2026-11-24 04:41:17","CREATED_QUERY"]