<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<schematic>
<libraries>
<library name="ruark2">
<packages>
<package name="YK2210403000G">
</package>
<package name="SOIC8">
</package>
<package name="HC-49/US">
</package>
<package name="0603">
</package>
<package name="MSOP-8">
</package>
<package name="0805">
</package>
<package name="1206">
</package>
<package name="DO-214AC">
</package>
</packages>
<symbols>
<symbol name="4-PIN">
<pin name="1"/>
<pin name="2"/>
<pin name="3"/>
<pin name="4"/>
</symbol>
<symbol name="ATTINY85V-10SUR">
<pin name="GND"/>
<pin name="PB5"/>
<pin name="PB4"/>
<pin name="PB3"/>
<pin name="PB2"/>
<pin name="PB1"/>
<pin name="PB0"/>
<pin name="VCC"/>
</symbol>
<symbol name="CRYSTAL2">
<pin name="1"/>
<pin name="3"/>
</symbol>
<symbol name="C">
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="R">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="TPS7A1601">
<pin name="GND"/>
<pin name="DELAY"/>
<pin name="EN"/>
<pin name="IN"/>
<pin name="OUT"/>
<pin name="PG"/>
<pin name="FB"/>
</symbol>
<symbol name="DIODE_ZENER">
<pin name="K"/>
<pin name="A"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="YK2210403000G" prefix="J">
<description>4 Circuit 0.250" (6.35mm) Barrier Block Connector Screws with Captive Plate</description>
<gates>
<gate name="G$1" symbol="4-PIN"/>
</gates>
<devices>
<device name="" package="YK2210403000G">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="3" pad="3"/>
<connect gate="G$1" pin="4" pad="4"/>
</connects>
<technologies>
<technology name="">
<attribute name="PARTNO" value="YK2210403000G-ND"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="ATTINY85V-10SUR" prefix="U">
<description>AVR AVR® ATtiny, Functional Safety (FuSa) Microcontroller IC 8-Bit 10MHz 8KB (4K x 16) FLASH 8-SOIC</description>
<gates>
<gate name="G$1" symbol="ATTINY85V-10SUR"/>
</gates>
<devices>
<device name="" package="SOIC8">
<connects>
<connect gate="G$1" pin="GND" pad="4"/>
<connect gate="G$1" pin="PB0" pad="5"/>
<connect gate="G$1" pin="PB1" pad="6"/>
<connect gate="G$1" pin="PB2" pad="7"/>
<connect gate="G$1" pin="PB3" pad="2"/>
<connect gate="G$1" pin="PB4" pad="3"/>
<connect gate="G$1" pin="PB5" pad="1"/>
<connect gate="G$1" pin="VCC" pad="8"/>
</connects>
<technologies>
<technology name="">
<attribute name="PARTNO" value="ATTINY85V-10SURCT-ND"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="ABLS-4.000MHZ-B2-T" prefix="X">
<description>4 MHz ±20ppm Crystal 18pF 180 Ohms HC-49/US</description>
<gates>
<gate name="G$1" symbol="CRYSTAL2"/>
</gates>
<devices>
<device name="" package="HC-49/US">
<connects>
<connect gate="G$1" pin="1" pad="P$1"/>
<connect gate="G$1" pin="3" pad="P$2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PARTNO" value="535-9085-1-ND"/>
<attribute name="VALUE" value="4MHz"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="0603_CAPACITOR" prefix="C">
<description>0603 Capacitor -- WARNING: NO DEFINED VALUE OR PART NUMBER</description>
<gates>
<gate name="G$1" symbol="C"/>
</gates>
<devices>
<device name="" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="VALUE" value="sel"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="0603_RESISTOR" prefix="R">
<description>0603 Resistor -- WARNING: NO DEFINED PART NUMBER OR VALUE</description>
<gates>
<gate name="G$1" symbol="R"/>
</gates>
<devices>
<device name="" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="VALUE" value="sel"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="TPS7A1601AQDGNRQ1" prefix="U">
<description>Linear Voltage Regulator IC Positive Adjustable 60V 1 Output 100mA 8-HVSSOP</description>
<gates>
<gate name="G$1" symbol="TPS7A1601"/>
</gates>
<devices>
<device name="" package="MSOP-8">
<connects>
<connect gate="G$1" pin="DELAY" pad="7"/>
<connect gate="G$1" pin="EN" pad="5"/>
<connect gate="G$1" pin="FB" pad="2"/>
<connect gate="G$1" pin="GND" pad="4"/>
<connect gate="G$1" pin="IN" pad="8"/>
<connect gate="G$1" pin="OUT" pad="1"/>
<connect gate="G$1" pin="PG" pad="3"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="0805_CAPACITOR" prefix="C">
<description>NO DEFINED PN</description>
<gates>
<gate name="G$1" symbol="C"/>
</gates>
<devices>
<device name="" package="0805">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="1206_CAPACITOR" prefix="C">
<description>NO DEFINED PN</description>
<gates>
<gate name="G$1" symbol="C"/>
</gates>
<devices>
<device name="" package="1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="VALUE" value="sel"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="1SMA5937BT3G" prefix="D">
<description>Zener Diode 33 V 1.5 W ±5% Surface Mount SMA</description>
<gates>
<gate name="G$1" symbol="DIODE_ZENER"/>
</gates>
<devices>
<device name="DO-" package="DO-214AC">
<connects>
<connect gate="G$1" pin="A" pad="A"/>
<connect gate="G$1" pin="K" pad="C"/>
</connects>
<technologies>
<technology name="">
<attribute name="VALUE" value="33V"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="1206_RESISTOR" prefix="R">
<description>NO DEFINED PN</description>
<gates>
<gate name="G$1" symbol="R"/>
</gates>
<devices>
<device name="" package="1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="VALUE" value="sel"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="supply1">
<description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
 Please keep in mind, that these devices are necessary for the
 automatic wiring of the supply signals.&lt;p&gt;
 The pin name defined in the symbol is identical to the net which is to be wired automatically.&lt;p&gt;
 In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.&lt;p&gt;
 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
</packages>
<symbols>
<symbol name="GND">
<pin name="GND" direction="sup"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="GND" prefix="GND">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="1" symbol="GND"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="J1" library="ruark2" deviceset="YK2210403000G" device=""/>
<part name="U1" library="ruark2" deviceset="ATTINY85V-10SUR" device=""/>
<part name="X2" library="ruark2" deviceset="ABLS-4.000MHZ-B2-T" device="" value="4MHz"/>
<part name="C1" library="ruark2" deviceset="0603_CAPACITOR" device="" value="22pF"/>
<part name="C2" library="ruark2" deviceset="0603_CAPACITOR" device="" value="22pF"/>
<part name="C3" library="ruark2" deviceset="0603_CAPACITOR" device="" value="0.1uF"/>
<part name="R1" library="ruark2" deviceset="0603_RESISTOR" device="" value="680"/>
<part name="C4" library="ruark2" deviceset="0603_CAPACITOR" device="" value="0.1uF"/>
<part name="C5" library="ruark2" deviceset="0603_CAPACITOR" device="" value="0.1uF"/>
<part name="GND1" library="supply1" deviceset="GND" device=""/>
<part name="GND2" library="supply1" deviceset="GND" device=""/>
<part name="GND3" library="supply1" deviceset="GND" device=""/>
<part name="GND4" library="supply1" deviceset="GND" device=""/>
<part name="GND5" library="supply1" deviceset="GND" device=""/>
<part name="GND6" library="supply1" deviceset="GND" device=""/>
<part name="U2" library="ruark2" deviceset="TPS7A1601AQDGNRQ1" device=""/>
<part name="R2" library="ruark2" deviceset="0603_RESISTOR" device="" value="680"/>
<part name="R3" library="ruark2" deviceset="0603_RESISTOR" device="" value="680"/>
<part name="C6" library="ruark2" deviceset="0805_CAPACITOR" device="" value="2.2uF"/>
<part name="GND7" library="supply1" deviceset="GND" device=""/>
<part name="GND8" library="supply1" deviceset="GND" device=""/>
<part name="GND9" library="supply1" deviceset="GND" device=""/>
<part name="C7" library="ruark2" deviceset="1206_CAPACITOR" device="" value="1uF"/>
<part name="C8" library="ruark2" deviceset="1206_CAPACITOR" device="" value="1uF"/>
<part name="GND10" library="supply1" deviceset="GND" device=""/>
<part name="GND11" library="supply1" deviceset="GND" device=""/>
<part name="D1" library="ruark2" deviceset="1SMA5937BT3G" device="DO-" value="33V"/>
<part name="R4" library="ruark2" deviceset="1206_RESISTOR" device="" value="49.9"/>
<part name="GND12" library="supply1" deviceset="GND" device=""/>
<part name="GND13" library="supply1" deviceset="GND" device=""/>
</parts>
<sheets>
<sheet>
<plain>
<text>V+</text>
<text>GND</text>
<text>DIAL/MUTE</text>
<text>PULSE</text>
<text>Make sure to set the fuse bytes 
of the ATTINY85. It will by default 
use its internal RC oscillator and
will output the wrong frequency 
of tones.</text>
<text>The ATTINY85 outputs DTMF tones on 
PB0 as a PWM waveform. This tone is
coupled to the phone line indirectly by
modulating the current draw of circuit.
Because this circuit is powered by the
phone line, AC current drawn through 
the linear regulator is coupled into the
phone line. The amplitude of the tones
can be adjusted by adjusting the value
of R1.</text>
<text>Input protection. The load of the phone will drop the 
line voltage to ~9V. The Zener diode protects against
transient events. It is not necessary to use a 60V
rated linear regulator -- I just happened to have 
these on hand. Decoupling capacitance should be 
minimized to prevent loading the phone line and 
reducing audio volume.</text>
<text>This circuit is designed for use with
Matt Millman's rotary dial ATTINY85
code: 
https://github.com/inaxeon/rotarydial

The ATTINY85 can be programmed 
using an Arduino Uno and AVRdude.</text>
<text>Interface to phone.
Phone wiring varries.
</text>
<text>Pulse to Tone Converter</text>
<text>Robert Ruark 2022: http://www.robruark.com/projects/pulsetone/pulsetone.html
Based on work by Matt Millman: https://www.mattmillman.com/projects/building-your-own-pulse-to-tone-converter/
Which was based on work by Arnie Webber: https://bitbucket.org/310weber/rotary_dial/src
Which was based on work by Boris Cherkasskiy : http://boris0.blogspot.com/2013/09/rotary-dial-for-digital-age.html</text>
</plain>
<busses>
</busses>
<nets>
<net name="N$1">
<segment>
<pinref part="U1" gate="G$1" pin="PB4"/>
<pinref part="C1" gate="G$1" pin="1"/>
<pinref part="X2" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="U1" gate="G$1" pin="PB3"/>
<pinref part="C2" gate="G$1" pin="1"/>
<pinref part="X2" gate="G$1" pin="3"/>
</segment>
</net>
<net name="N$3">
<segment>
<pinref part="U1" gate="G$1" pin="PB2"/>
<pinref part="C4" gate="G$1" pin="1"/>
<pinref part="J1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$4">
<segment>
<pinref part="U1" gate="G$1" pin="PB1"/>
<pinref part="C5" gate="G$1" pin="1"/>
<pinref part="J1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$5">
<segment>
<pinref part="U1" gate="G$1" pin="PB0"/>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="GND1" gate="1" pin="GND"/>
<pinref part="C3" gate="G$1" pin="2"/>
<pinref part="U1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="C1" gate="G$1" pin="2"/>
<pinref part="GND2" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="GND3" gate="1" pin="GND"/>
<pinref part="C2" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="GND4" gate="1" pin="GND"/>
<pinref part="C4" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="C5" gate="G$1" pin="2"/>
<pinref part="GND5" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
<pinref part="GND6" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C6" gate="G$1" pin="2"/>
<pinref part="GND7" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="GND8" gate="1" pin="GND"/>
<pinref part="R3" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="U2" gate="G$1" pin="GND"/>
<pinref part="GND9" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C7" gate="G$1" pin="2"/>
<pinref part="GND10" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C8" gate="G$1" pin="2"/>
<pinref part="GND11" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="GND12" gate="1" pin="GND"/>
<pinref part="D1" gate="G$1" pin="A"/>
</segment>
<segment>
<pinref part="J1" gate="G$1" pin="3"/>
<pinref part="GND13" gate="1" pin="GND"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="C3" gate="G$1" pin="1"/>
<pinref part="U1" gate="G$1" pin="VCC"/>
<pinref part="U2" gate="G$1" pin="OUT"/>
<pinref part="R2" gate="G$1" pin="2"/>
<pinref part="C6" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$8">
<segment>
<pinref part="R3" gate="G$1" pin="2"/>
<pinref part="R2" gate="G$1" pin="1"/>
<pinref part="U2" gate="G$1" pin="FB"/>
</segment>
</net>
<net name="N$10">
<segment>
<pinref part="U2" gate="G$1" pin="IN"/>
<pinref part="U2" gate="G$1" pin="EN"/>
<pinref part="C8" gate="G$1" pin="1"/>
<pinref part="C7" gate="G$1" pin="1"/>
<pinref part="D1" gate="G$1" pin="K"/>
<pinref part="R4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$7">
<segment>
<pinref part="J1" gate="G$1" pin="4"/>
<pinref part="R4" gate="G$1" pin="1"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
