mirror of
https://github.com/mirdej/synkie.git
synced 2026-06-16 12:59:39 +02:00
added very old audio-cv module from 2012
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE eagle SYSTEM "eagle.dtd">
|
||||
<eagle version="6.3">
|
||||
<eagle version="6.5.0">
|
||||
<drawing>
|
||||
<settings>
|
||||
<setting alwaysvectorfont="no"/>
|
||||
@@ -1519,6 +1519,27 @@ precision wire wound</description>
|
||||
<text x="-2.54" y="-3.175" size="1.27" layer="27">>VALUE</text>
|
||||
<rectangle x1="-0.3" y1="-1" x2="0.3" y2="1" layer="35"/>
|
||||
</package>
|
||||
<package name="E5-8,5">
|
||||
<description><b>ELECTROLYTIC CAPACITOR</b><p>
|
||||
grid 5.08 mm, diameter 8.5 mm</description>
|
||||
<wire x1="-1.143" y1="0" x2="-0.889" y2="0" width="0.1524" layer="21"/>
|
||||
<wire x1="-0.889" y1="0" x2="-0.889" y2="-1.143" width="0.1524" layer="21"/>
|
||||
<wire x1="-0.889" y1="-1.143" x2="-0.254" y2="-1.143" width="0.1524" layer="21"/>
|
||||
<wire x1="-0.254" y1="-1.143" x2="-0.254" y2="1.143" width="0.1524" layer="21"/>
|
||||
<wire x1="-0.254" y1="1.143" x2="-0.889" y2="1.143" width="0.1524" layer="21"/>
|
||||
<wire x1="-0.889" y1="1.143" x2="-0.889" y2="0" width="0.1524" layer="21"/>
|
||||
<wire x1="0.635" y1="0" x2="1.143" y2="0" width="0.1524" layer="21"/>
|
||||
<wire x1="-3.302" y1="2.032" x2="-3.302" y2="1.27" width="0.1524" layer="21"/>
|
||||
<wire x1="-3.683" y1="1.651" x2="-2.921" y2="1.651" width="0.1524" layer="21"/>
|
||||
<wire x1="1.143" y1="0" x2="1.651" y2="0" width="0.1524" layer="51"/>
|
||||
<wire x1="-1.651" y1="0" x2="-1.143" y2="0" width="0.1524" layer="51"/>
|
||||
<circle x="0" y="0" radius="4.445" width="0.1524" layer="21"/>
|
||||
<pad name="+" x="-2.54" y="0" drill="1.016" diameter="2.54"/>
|
||||
<pad name="-" x="2.54" y="0" drill="1.016" diameter="2.54" shape="octagon"/>
|
||||
<text x="4.1402" y="2.286" size="1.27" layer="25" ratio="10">>NAME</text>
|
||||
<text x="-2.5146" y="-3.0226" size="1.27" layer="27" ratio="10">>VALUE</text>
|
||||
<rectangle x1="0.254" y1="-1.143" x2="0.889" y2="1.143" layer="21"/>
|
||||
</package>
|
||||
</packages>
|
||||
</library>
|
||||
<library name="pinhead">
|
||||
@@ -1981,6 +2002,8 @@ design rules under a new name.</description>
|
||||
<attribute name="OC_FARNELL" value="1462950" x="63.8175" y="27.6225" size="1.778" layer="27" font="vector" display="off"/>
|
||||
</element>
|
||||
<element name="L2" library="rcl" package="L5038P" value="" x="74.93" y="19.3675" rot="R180"/>
|
||||
<element name="R12" library="rcl" package="R1206" value="100" x="2.54" y="-5.08"/>
|
||||
<element name="C4" library="rcl" package="E5-8,5" value="" x="4.445" y="-12.7"/>
|
||||
</elements>
|
||||
<signals>
|
||||
<signal name="GND">
|
||||
@@ -2124,7 +2147,6 @@ design rules under a new name.</description>
|
||||
<wire x1="61.595" y1="13.97" x2="53.6575" y2="13.6525" width="0.4064" layer="1"/>
|
||||
<wire x1="53.6575" y1="13.6525" x2="45.72" y2="5.715" width="0.4064" layer="1"/>
|
||||
<wire x1="45.72" y1="5.715" x2="45.085" y2="3.175" width="0.4064" layer="1"/>
|
||||
<wire x1="67.945" y1="10.2625" x2="67.525" y2="10.2625" width="0" layer="19" extent="1-16"/>
|
||||
<wire x1="67.525" y1="10.2625" x2="66.675" y2="11.1125" width="0.4064" layer="1"/>
|
||||
<wire x1="66.675" y1="11.1125" x2="66.675" y2="14.605" width="0.4064" layer="1"/>
|
||||
<wire x1="66.675" y1="14.605" x2="66.3575" y2="14.9225" width="0.4064" layer="1"/>
|
||||
@@ -2164,6 +2186,11 @@ design rules under a new name.</description>
|
||||
<vertex x="0" y="27.94"/>
|
||||
</polygon>
|
||||
<contactref element="IC1" pad="4"/>
|
||||
<contactref element="C4" pad="-"/>
|
||||
<wire x1="69.215" y1="13.395" x2="70.485" y2="13.395" width="0" layer="19" extent="1-1"/>
|
||||
<wire x1="66.675" y1="14.605" x2="69.215" y2="13.395" width="0" layer="19" extent="1-1"/>
|
||||
<wire x1="67.945" y1="10.2625" x2="67.525" y2="10.2625" width="0" layer="19" extent="1-1"/>
|
||||
<wire x1="6.985" y1="-12.7" x2="11.7475" y2="1.27" width="0" layer="19" extent="16-16"/>
|
||||
</signal>
|
||||
<signal name="VCC">
|
||||
<contactref element="ATMEGA88" pad="4"/>
|
||||
@@ -2685,6 +2712,10 @@ design rules under a new name.</description>
|
||||
<wire x1="57.15" y1="0.635" x2="57.785" y2="1.27" width="0.4064" layer="1"/>
|
||||
<wire x1="57.785" y1="1.27" x2="57.785" y2="3.1525" width="0.4064" layer="1"/>
|
||||
<wire x1="57.785" y1="3.1525" x2="57.49" y2="2.2225" width="0.4064" layer="1"/>
|
||||
<contactref element="R12" pad="2"/>
|
||||
<contactref element="C4" pad="+"/>
|
||||
<wire x1="3.962" y1="-5.08" x2="31.045" y2="1.34" width="0" layer="19" extent="1-1"/>
|
||||
<wire x1="1.905" y1="-12.7" x2="3.962" y2="-5.08" width="0" layer="19" extent="1-1"/>
|
||||
</signal>
|
||||
<signal name="N$21">
|
||||
<contactref element="X2" pad="1"/>
|
||||
@@ -2693,6 +2724,8 @@ design rules under a new name.</description>
|
||||
<wire x1="61.9125" y1="2.2225" x2="61.9125" y2="0.9525" width="0.4064" layer="1"/>
|
||||
<wire x1="61.9125" y1="0.9525" x2="69.85" y2="0.9525" width="0.4064" layer="1"/>
|
||||
<wire x1="69.85" y1="0.9525" x2="69.85" y2="3.4925" width="0.4064" layer="1"/>
|
||||
<contactref element="R12" pad="1"/>
|
||||
<wire x1="1.118" y1="-5.08" x2="61.9125" y2="0.9525" width="0" layer="19" extent="1-1"/>
|
||||
</signal>
|
||||
<signal name="N$34">
|
||||
<contactref element="R14" pad="2"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE eagle SYSTEM "eagle.dtd">
|
||||
<eagle version="6.3">
|
||||
<eagle version="6.5.0">
|
||||
<drawing>
|
||||
<settings>
|
||||
<setting alwaysvectorfont="no"/>
|
||||
@@ -16775,6 +16775,9 @@ NS Package M08A</description>
|
||||
<part name="P+6" library="supply1" deviceset="VCC" device=""/>
|
||||
<part name="P+8" library="supply1" deviceset="VCC" device=""/>
|
||||
<part name="P+10" library="supply1" deviceset="VCC" device=""/>
|
||||
<part name="R12" library="rcl" deviceset="R-EU_" device="R1206" value="100"/>
|
||||
<part name="C4" library="rcl" deviceset="CPOL-EU" device="E5-8.5"/>
|
||||
<part name="GND4" library="supply1" deviceset="GND" device=""/>
|
||||
</parts>
|
||||
<sheets>
|
||||
<sheet>
|
||||
@@ -16887,6 +16890,9 @@ NS Package M08A</description>
|
||||
<instance part="P+6" gate="VCC" x="2.54" y="205.74"/>
|
||||
<instance part="P+8" gate="VCC" x="104.14" y="-25.4" rot="R270"/>
|
||||
<instance part="P+10" gate="VCC" x="177.8" y="22.86"/>
|
||||
<instance part="R12" gate="G$1" x="101.6" y="177.8"/>
|
||||
<instance part="C4" gate="G$1" x="114.3" y="175.26"/>
|
||||
<instance part="GND4" gate="1" x="116.84" y="170.18" rot="R90"/>
|
||||
</instances>
|
||||
<busses>
|
||||
</busses>
|
||||
@@ -17049,6 +17055,10 @@ NS Package M08A</description>
|
||||
<pinref part="GND19" gate="1" pin="GND"/>
|
||||
<pinref part="IC1" gate="P" pin="V-"/>
|
||||
</segment>
|
||||
<segment>
|
||||
<pinref part="C4" gate="G$1" pin="-"/>
|
||||
<pinref part="GND4" gate="1" pin="GND"/>
|
||||
</segment>
|
||||
</net>
|
||||
<net name="VCC" class="0">
|
||||
<segment>
|
||||
@@ -17465,10 +17475,14 @@ NS Package M08A</description>
|
||||
<net name="N$20" class="0">
|
||||
<segment>
|
||||
<pinref part="L1" gate="G$1" pin="2"/>
|
||||
<wire x1="106.68" y1="91.44" x2="106.68" y2="185.42" width="0.1524" layer="91"/>
|
||||
<wire x1="106.68" y1="91.44" x2="106.68" y2="177.8" width="0.1524" layer="91"/>
|
||||
<pinref part="ATMEGA88" gate="G$1" pin="(SS/OC1B)PB2"/>
|
||||
<wire x1="106.68" y1="177.8" x2="106.68" y2="185.42" width="0.1524" layer="91"/>
|
||||
<wire x1="-27.94" y1="83.82" x2="99.06" y2="83.82" width="0.1524" layer="91"/>
|
||||
<wire x1="99.06" y1="83.82" x2="106.68" y2="91.44" width="0.1524" layer="91"/>
|
||||
<pinref part="R12" gate="G$1" pin="2"/>
|
||||
<pinref part="C4" gate="G$1" pin="+"/>
|
||||
<wire x1="114.3" y1="177.8" x2="106.68" y2="177.8" width="0.1524" layer="91"/>
|
||||
</segment>
|
||||
</net>
|
||||
<net name="N$21" class="0">
|
||||
@@ -17476,6 +17490,8 @@ NS Package M08A</description>
|
||||
<pinref part="X2" gate="-1" pin="S"/>
|
||||
<pinref part="L1" gate="G$1" pin="1"/>
|
||||
<wire x1="96.52" y1="185.42" x2="93.98" y2="185.42" width="0.1524" layer="91"/>
|
||||
<pinref part="R12" gate="G$1" pin="1"/>
|
||||
<wire x1="96.52" y1="185.42" x2="96.52" y2="177.8" width="0.1524" layer="91"/>
|
||||
</segment>
|
||||
</net>
|
||||
<net name="N$34" class="0">
|
||||
|
||||
@@ -227,7 +227,7 @@ int main (void) {
|
||||
led_off();
|
||||
|
||||
for (i = 0; i < 3 ; i++) {
|
||||
is_dubbing = ~PIND & (1 << (7-i));
|
||||
is_dubbing = ~PIND & (1 << (7-(2-i)));
|
||||
|
||||
if (is_dubbing) {
|
||||
table[i][x_in] = y_in[i];
|
||||
|
||||
@@ -178,9 +178,9 @@ void init (void) {
|
||||
|
||||
|
||||
void calc_time_points(void) {
|
||||
time_points[0] = map(y_in[0],0,255,PULSE_MIN,PULSE_MAX);
|
||||
time_points[1] = time_points[0] + map(y_in[1],0,255,PULSE_MIN,PULSE_MAX);
|
||||
time_points[2] = time_points[1] + map(y_in[2],0,255,PULSE_MIN,PULSE_MAX);
|
||||
time_points[0] = map(table[0][x_in],0,255,PULSE_MIN,PULSE_MAX);
|
||||
time_points[1] = time_points[0] + map(table[1][x_in],0,255,PULSE_MIN,PULSE_MAX);
|
||||
time_points[2] = time_points[1] + map(table[2][x_in],0,255,PULSE_MIN,PULSE_MAX);
|
||||
}
|
||||
|
||||
|
||||
@@ -236,11 +236,19 @@ int main (void) {
|
||||
|
||||
check_ad();
|
||||
|
||||
if ((millis() - lastMillis) > 100 ) {
|
||||
if (old_x != x_in) {
|
||||
old_x = x_in;
|
||||
|
||||
/*i++;
|
||||
y_in[2] = to_scale(i*4);
|
||||
lastMillis = millis();*/
|
||||
led_off();
|
||||
|
||||
for (i = 0; i < 3 ; i++) {
|
||||
is_dubbing = ~PIND & (1 << (7-i));
|
||||
|
||||
if (is_dubbing) {
|
||||
table[2-i][x_in] = y_in[2-i];
|
||||
led_on();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user