├── dredrum-trig
├── makefile
├── 8bit_q_sine.h
└── dredrum.c
├── dredrum-gate
├── makefile
├── 8bit_q_sine.h
└── dredrum-gate.c
└── dredrum-KiCad
├── dredrum.pro
├── dredrum.cmp
├── dredrum-cache.lib
├── dredrum.net
├── dredrum.bak
└── dredrum.sch
/dredrum-trig/makefile:
--------------------------------------------------------------------------------
1 | PRG = dredrum
2 | OBJ = dredrum.o
3 | INCLUDE_PATH = -I.././dredrum
4 |
5 | COMPILE_TARGET = atmega48p
6 | UPLOAD_TARGET = atmega48p
7 | PROGRAMMER = usbtiny
8 | LFUSE = 0xff
9 | HFUSE = 0xd4
10 |
11 | a: $(PRG).elf lst hex setfuses upload
12 |
13 | upload: $(PRG).hex
14 | avrdude -c $(PROGRAMMER) -p $(UPLOAD_TARGET) -U flash:w:$(PRG).hex
15 |
16 | $(PRG).elf: $(OBJ)
17 | avr-gcc -g -Wall -mmcu=$(COMPILE_TARGET) -o $@ $^
18 |
19 | %.o: %.c
20 | avr-gcc -g -Wall -O2 -mmcu=$(COMPILE_TARGET) -fno-exceptions -ffunction-sections -fdata-sections $(INCLUDE_PATH) -c $<
21 |
22 | lst: $(PRG).lst
23 | %.lst: %.elf
24 | avr-objdump -h -S $< > $@
25 |
26 | hex: $(PRG).hex
27 | %.hex: %.elf
28 | avr-objcopy -j .text -j .data -O ihex $< $@
29 |
30 | clean:
31 | rm -rf *.o $(PRG).elf *.lst *.hex
32 |
33 | setfuses:
34 | avrdude -c $(PROGRAMMER) -p $(UPLOAD_TARGET) -U lfuse:w:$(LFUSE):m
35 | avrdude -c $(PROGRAMMER) -p $(UPLOAD_TARGET) -U hfuse:w:$(HFUSE):m
36 |
37 |
38 |
--------------------------------------------------------------------------------
/dredrum-gate/makefile:
--------------------------------------------------------------------------------
1 | PRG = dredrum-gate
2 | OBJ = dredrum-gate.o
3 | INCLUDE_PATH = -I.././dredrum-gate
4 |
5 | COMPILE_TARGET = atmega48p
6 | UPLOAD_TARGET = atmega48p
7 | PROGRAMMER = usbtiny
8 | LFUSE = 0xff
9 | HFUSE = 0xd4
10 |
11 | a: $(PRG).elf lst hex upload
12 |
13 | upload: $(PRG).hex
14 | avrdude -c $(PROGRAMMER) -p $(UPLOAD_TARGET) -U flash:w:$(PRG).hex
15 |
16 | $(PRG).elf: $(OBJ)
17 | avr-gcc -g -Wall -mmcu=$(COMPILE_TARGET) -o $@ $^
18 |
19 | %.o: %.c
20 | avr-gcc -g -Wall -O3 -mmcu=$(COMPILE_TARGET) -fno-exceptions -ffunction-sections -fdata-sections $(INCLUDE_PATH) -c $<
21 |
22 | lst: $(PRG).lst
23 | %.lst: %.elf
24 | avr-objdump -h -S $< > $@
25 |
26 | hex: $(PRG).hex
27 | %.hex: %.elf
28 | avr-objcopy -j .text -j .data -O ihex $< $@
29 |
30 | clean:
31 | rm -rf *.o $(PRG).elf *.lst *.hex
32 |
33 | setfuses:
34 | avrdude -c $(PROGRAMMER) -p $(UPLOAD_TARGET) -U lfuse:w:$(LFUSE):m
35 | avrdude -c $(PROGRAMMER) -p $(UPLOAD_TARGET) -U hfuse:w:$(HFUSE):m
36 |
37 |
38 |
--------------------------------------------------------------------------------
/dredrum-KiCad/dredrum.pro:
--------------------------------------------------------------------------------
1 | update=Sat 09 May 2015 16:42:13 CEST
2 | version=1
3 | last_client=eeschema
4 | [general]
5 | version=1
6 | [cvpcb]
7 | version=1
8 | NetIExt=net
9 | [cvpcb/libraries]
10 | EquName1=devcms
11 | [pcbnew]
12 | version=1
13 | LastNetListRead=basedrum.net
14 | UseCmpFile=1
15 | PadDrill=0.600000000000
16 | PadDrillOvalY=0.600000000000
17 | PadSizeH=1.500000000000
18 | PadSizeV=1.500000000000
19 | PcbTextSizeV=1.500000000000
20 | PcbTextSizeH=1.500000000000
21 | PcbTextThickness=0.300000000000
22 | ModuleTextSizeV=1.000000000000
23 | ModuleTextSizeH=1.000000000000
24 | ModuleTextSizeThickness=0.150000000000
25 | SolderMaskClearance=0.000000000000
26 | SolderMaskMinWidth=0.000000000000
27 | DrawSegmentWidth=0.200000000000
28 | BoardOutlineThickness=0.100000000000
29 | ModuleOutlineThickness=0.150000000000
30 | [pcbnew/libraries]
31 | LibDir=/home/buran/HW/buro-kicad
32 | LibName1=buro-modules
33 | [eeschema]
34 | version=1
35 | LibDir=../dredrum-KiCad
36 | NetFmtName=PcbnewAdvanced
37 | RptD_X=0
38 | RptD_Y=100
39 | RptLab=1
40 | LabSize=30
41 | [eeschema/libraries]
42 | LibName1=dredrum-cache
43 |
--------------------------------------------------------------------------------
/dredrum-gate/8bit_q_sine.h:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | +----------------------------------------------------------------------+
4 | | |
5 | | SINE TABLE FOR DREDRUM PWM GENERATOR |
6 | | |
7 | +----------------------------------------------------------------------+
8 | | Copyright 2014 Jan Cumpelik |
9 | | |
10 | | This table is free software: you can redistribute it and/or modify |
11 | | it under the terms of the GNU General Public License as published by |
12 | | the Free Software Foundation, either version 3 of the License, or |
13 | | (at your option) any later version. |
14 | | |
15 | | This program is distributed in the hope that it will be useful, |
16 | | but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | | GNU General Public License for more details. |
19 | | |
20 | | You should have received a copy of the GNU General Public License |
21 | | along with this table. If not, see . |
22 | +----------------------------------------------------------------------+
23 |
24 | */
25 | PROGMEM prog_char q_sine_table[] = {
26 | 0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 15, 17, 18, 20, 21, 23,
27 | 24, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47,
28 | 48, 50, 51, 53, 54, 56, 57, 58, 60, 61, 63, 64, 65, 67, 68, 69,
29 | 71, 72, 73, 74, 76, 77, 78, 79, 81, 82, 83, 84, 85, 87, 88, 89,
30 | 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
31 | 106, 107, 108, 108, 109, 110, 111, 112, 112, 113, 114, 115, 115, 116, 117, 117,
32 | 118, 118, 119, 119, 120, 121, 121, 122, 122, 122, 123, 123, 124, 124, 124, 125,
33 | 125, 125, 126, 126, 126, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
34 | };
--------------------------------------------------------------------------------
/dredrum-trig/8bit_q_sine.h:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | +----------------------------------------------------------------------+
4 | | |
5 | | SINE TABLE FOR DREDRUM PWM GENERATOR |
6 | | |
7 | +----------------------------------------------------------------------+
8 | | Copyright 2014 Jan Cumpelik |
9 | | |
10 | | This table is free software: you can redistribute it and/or modify |
11 | | it under the terms of the GNU General Public License as published by |
12 | | the Free Software Foundation, either version 3 of the License, or |
13 | | (at your option) any later version. |
14 | | |
15 | | This program is distributed in the hope that it will be useful, |
16 | | but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | | GNU General Public License for more details. |
19 | | |
20 | | You should have received a copy of the GNU General Public License |
21 | | along with this table. If not, see . |
22 | +----------------------------------------------------------------------+
23 |
24 | */
25 |
26 |
27 | PROGMEM prog_char q_sine_table[] = {
28 | 0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 15, 17, 18, 20, 21, 23,
29 | 24, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47,
30 | 48, 50, 51, 53, 54, 56, 57, 58, 60, 61, 63, 64, 65, 67, 68, 69,
31 | 71, 72, 73, 74, 76, 77, 78, 79, 81, 82, 83, 84, 85, 87, 88, 89,
32 | 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
33 | 106, 107, 108, 108, 109, 110, 111, 112, 112, 113, 114, 115, 115, 116, 117, 117,
34 | 118, 118, 119, 119, 120, 121, 121, 122, 122, 122, 123, 123, 124, 124, 124, 125,
35 | 125, 125, 126, 126, 126, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
36 | };
--------------------------------------------------------------------------------
/dredrum-KiCad/dredrum.cmp:
--------------------------------------------------------------------------------
1 | Cmp-Mod V01 Created by CvPcb (2013-05-18 BZR 4017)-stable date = Sat 09 May 2015 16:42:54 CEST
2 |
3 | BeginCmp
4 | TimeStamp = /53906CB2;
5 | Reference = C1;
6 | ValeurCmp = 22p;
7 | IdModule = Cap2.5mm-x;
8 | EndCmp
9 |
10 | BeginCmp
11 | TimeStamp = /53906CD6;
12 | Reference = C2;
13 | ValeurCmp = 22p;
14 | IdModule = Cap2.5mm-x;
15 | EndCmp
16 |
17 | BeginCmp
18 | TimeStamp = /53906C93;
19 | Reference = C3;
20 | ValeurCmp = 100n;
21 | IdModule = Cap2.5mm-x;
22 | EndCmp
23 |
24 | BeginCmp
25 | TimeStamp = /53906C6A;
26 | Reference = C4;
27 | ValeurCmp = 100n;
28 | IdModule = Cap2.5mm-x;
29 | EndCmp
30 |
31 | BeginCmp
32 | TimeStamp = /5377FA76;
33 | Reference = C5;
34 | ValeurCmp = 680p;
35 | IdModule = C-5mm-film-WIMA-7x4;
36 | EndCmp
37 |
38 | BeginCmp
39 | TimeStamp = /537811C9;
40 | Reference = C6;
41 | ValeurCmp = 10u;
42 | IdModule = CapEl2.5mm-hor5x10;
43 | EndCmp
44 |
45 | BeginCmp
46 | TimeStamp = /5377FA63;
47 | Reference = C7;
48 | ValeurCmp = 1n;
49 | IdModule = C-5mm-film-WIMA-7x4;
50 | EndCmp
51 |
52 | BeginCmp
53 | TimeStamp = /5377FA70;
54 | Reference = C8;
55 | ValeurCmp = 100p;
56 | IdModule = C-5mm-film-WIMA-7x4;
57 | EndCmp
58 |
59 | BeginCmp
60 | TimeStamp = /5378008D;
61 | Reference = C9;
62 | ValeurCmp = 330n;
63 | IdModule = Cap2.5mm-x;
64 | EndCmp
65 |
66 | BeginCmp
67 | TimeStamp = /53780080;
68 | Reference = C10;
69 | ValeurCmp = 100n;
70 | IdModule = Cap2.5mm-x;
71 | EndCmp
72 |
73 | BeginCmp
74 | TimeStamp = /53780071;
75 | Reference = C11;
76 | ValeurCmp = 220u;
77 | IdModule = CapEl2.5mm-hor6x12-MIRR;
78 | EndCmp
79 |
80 | BeginCmp
81 | TimeStamp = /53781880;
82 | Reference = C12;
83 | ValeurCmp = 100n;
84 | IdModule = Cap2.5mm-x;
85 | EndCmp
86 |
87 | BeginCmp
88 | TimeStamp = /5377E3EE;
89 | Reference = D1;
90 | ValeurCmp = VOICE1;
91 | IdModule = LED-3mm-MOJE;
92 | EndCmp
93 |
94 | BeginCmp
95 | TimeStamp = /5377E405;
96 | Reference = D2;
97 | ValeurCmp = VOICE2;
98 | IdModule = LED-3mm-MOJE;
99 | EndCmp
100 |
101 | BeginCmp
102 | TimeStamp = /5377E415;
103 | Reference = D3;
104 | ValeurCmp = VOICE3;
105 | IdModule = LED-3mm-MOJE;
106 | EndCmp
107 |
108 | BeginCmp
109 | TimeStamp = /5377E41B;
110 | Reference = D4;
111 | ValeurCmp = OUTPUT;
112 | IdModule = LED-3mm-MOJE;
113 | EndCmp
114 |
115 | BeginCmp
116 | TimeStamp = /5377E421;
117 | Reference = D5;
118 | ValeurCmp = NOISE;
119 | IdModule = LED-3mm-MOJE;
120 | EndCmp
121 |
122 | BeginCmp
123 | TimeStamp = /5377E427;
124 | Reference = D6;
125 | ValeurCmp = SAW;
126 | IdModule = LED-3mm-MOJE;
127 | EndCmp
128 |
129 | BeginCmp
130 | TimeStamp = /5377E42D;
131 | Reference = D7;
132 | ValeurCmp = SQUARE;
133 | IdModule = LED-3mm-MOJE;
134 | EndCmp
135 |
136 | BeginCmp
137 | TimeStamp = /5377E433;
138 | Reference = D8;
139 | ValeurCmp = SINE;
140 | IdModule = LED-3mm-MOJE;
141 | EndCmp
142 |
143 | BeginCmp
144 | TimeStamp = /53933C97;
145 | Reference = D10;
146 | ValeurCmp = 4001;
147 | IdModule = DO41;
148 | EndCmp
149 |
150 | BeginCmp
151 | TimeStamp = /53782108;
152 | Reference = J1;
153 | ValeurCmp = TRIG IN;
154 | IdModule = erthenvar-jackF;
155 | EndCmp
156 |
157 | BeginCmp
158 | TimeStamp = /537811AB;
159 | Reference = J2;
160 | ValeurCmp = AUDIO OUT;
161 | IdModule = erthenvar-jackF;
162 | EndCmp
163 |
164 | BeginCmp
165 | TimeStamp = /53783A06;
166 | Reference = J4;
167 | ValeurCmp = AVRISP6;
168 | IdModule = ISP6;
169 | EndCmp
170 |
171 | BeginCmp
172 | TimeStamp = /53932EEC;
173 | Reference = J5;
174 | ValeurCmp = EURO10pin;
175 | IdModule = EURO10pin;
176 | EndCmp
177 |
178 | BeginCmp
179 | TimeStamp = /53D83D2D;
180 | Reference = JP1;
181 | ValeurCmp = AC-DC;
182 | IdModule = JUMPER;
183 | EndCmp
184 |
185 | BeginCmp
186 | TimeStamp = /5377DD46;
187 | Reference = R1;
188 | ValeurCmp = 10k;
189 | IdModule = pot-ALPS-16mm-knob-centrepads;
190 | EndCmp
191 |
192 | BeginCmp
193 | TimeStamp = /5377DD59;
194 | Reference = R2;
195 | ValeurCmp = 10k;
196 | IdModule = pot-ALPS-16mm-knob-centrepads;
197 | EndCmp
198 |
199 | BeginCmp
200 | TimeStamp = /5377DD5F;
201 | Reference = R3;
202 | ValeurCmp = 10k;
203 | IdModule = pot-ALPS-16mm-knob-centrepads;
204 | EndCmp
205 |
206 | BeginCmp
207 | TimeStamp = /5377DD53;
208 | Reference = R4;
209 | ValeurCmp = 10k;
210 | IdModule = pot-ALPS-16mm-knob-centrepads;
211 | EndCmp
212 |
213 | BeginCmp
214 | TimeStamp = /53906C5A;
215 | Reference = R5;
216 | ValeurCmp = 10k;
217 | IdModule = R-hor75m-centrepads;
218 | EndCmp
219 |
220 | BeginCmp
221 | TimeStamp = /53A22D9E;
222 | Reference = R6;
223 | ValeurCmp = 10k;
224 | IdModule = R-hor75m-centrepads;
225 | EndCmp
226 |
227 | BeginCmp
228 | TimeStamp = /53781CC8;
229 | Reference = R7;
230 | ValeurCmp = 10k;
231 | IdModule = R-hor75m-centrepads;
232 | EndCmp
233 |
234 | BeginCmp
235 | TimeStamp = /53781CC2;
236 | Reference = R8;
237 | ValeurCmp = 100k;
238 | IdModule = R-hor75m-centrepads;
239 | EndCmp
240 |
241 | BeginCmp
242 | TimeStamp = /53781CBC;
243 | Reference = R9;
244 | ValeurCmp = 1M;
245 | IdModule = R-hor75m-centrepads;
246 | EndCmp
247 |
248 | BeginCmp
249 | TimeStamp = /5377FA48;
250 | Reference = R10;
251 | ValeurCmp = 16k;
252 | IdModule = R-hor75m-centrepads;
253 | EndCmp
254 |
255 | BeginCmp
256 | TimeStamp = /5377FA55;
257 | Reference = R11;
258 | ValeurCmp = 100k;
259 | IdModule = R-hor75m-centrepads;
260 | EndCmp
261 |
262 | BeginCmp
263 | TimeStamp = /5377FA5B;
264 | Reference = R12;
265 | ValeurCmp = 33k;
266 | IdModule = R-hor75m-centrepads;
267 | EndCmp
268 |
269 | BeginCmp
270 | TimeStamp = /53783400;
271 | Reference = R13;
272 | ValeurCmp = 1k;
273 | IdModule = R-hor75m-centrepads;
274 | EndCmp
275 |
276 | BeginCmp
277 | TimeStamp = /53783412;
278 | Reference = R14;
279 | ValeurCmp = 1k;
280 | IdModule = R-hor75m-centrepads;
281 | EndCmp
282 |
283 | BeginCmp
284 | TimeStamp = /53783418;
285 | Reference = R15;
286 | ValeurCmp = 1k;
287 | IdModule = R-hor75m-centrepads;
288 | EndCmp
289 |
290 | BeginCmp
291 | TimeStamp = /5378341E;
292 | Reference = R16;
293 | ValeurCmp = 1k;
294 | IdModule = R-hor75m-centrepads;
295 | EndCmp
296 |
297 | BeginCmp
298 | TimeStamp = /53783424;
299 | Reference = R17;
300 | ValeurCmp = 1k;
301 | IdModule = R-hor75m-centrepads;
302 | EndCmp
303 |
304 | BeginCmp
305 | TimeStamp = /5378342A;
306 | Reference = R18;
307 | ValeurCmp = 1k;
308 | IdModule = R-hor75m-centrepads;
309 | EndCmp
310 |
311 | BeginCmp
312 | TimeStamp = /53783430;
313 | Reference = R19;
314 | ValeurCmp = 1k;
315 | IdModule = R-hor75m-centrepads;
316 | EndCmp
317 |
318 | BeginCmp
319 | TimeStamp = /53783436;
320 | Reference = R20;
321 | ValeurCmp = 1k;
322 | IdModule = R-hor75m-centrepads;
323 | EndCmp
324 |
325 | BeginCmp
326 | TimeStamp = /537811D6;
327 | Reference = R21;
328 | ValeurCmp = 100k;
329 | IdModule = R-hor75m-centrepads;
330 | EndCmp
331 |
332 | BeginCmp
333 | TimeStamp = /5377ED1B;
334 | Reference = SW1;
335 | ValeurCmp = TRIG;
336 | IdModule = push-PCB6mm-centrepads;
337 | EndCmp
338 |
339 | BeginCmp
340 | TimeStamp = /5377ED7A;
341 | Reference = SW2;
342 | ValeurCmp = WAVE;
343 | IdModule = push-PCB6mm-centrepads;
344 | EndCmp
345 |
346 | BeginCmp
347 | TimeStamp = /5377ED80;
348 | Reference = SW3;
349 | ValeurCmp = VOICE2;
350 | IdModule = push-PCB6mm-centrepads;
351 | EndCmp
352 |
353 | BeginCmp
354 | TimeStamp = /5377ED86;
355 | Reference = SW4;
356 | ValeurCmp = VOICE1;
357 | IdModule = push-PCB6mm-centrepads;
358 | EndCmp
359 |
360 | BeginCmp
361 | TimeStamp = /5377ED8C;
362 | Reference = SW5;
363 | ValeurCmp = VOICE3;
364 | IdModule = push-PCB6mm-centrepads;
365 | EndCmp
366 |
367 | BeginCmp
368 | TimeStamp = /5390802A;
369 | Reference = SW6;
370 | ValeurCmp = CLICK SWITCH;
371 | IdModule = ninigi-switch-TSSM1022A2;
372 | EndCmp
373 |
374 | BeginCmp
375 | TimeStamp = /5377DC58;
376 | Reference = T1;
377 | ValeurCmp = BC549;
378 | IdModule = TO92-x;
379 | EndCmp
380 |
381 | BeginCmp
382 | TimeStamp = /5377E048;
383 | Reference = U1;
384 | ValeurCmp = ATMEGA48-PA;
385 | IdModule = DIP-28-300-centrepads;
386 | EndCmp
387 |
388 | BeginCmp
389 | TimeStamp = /5377FA7E;
390 | Reference = U2;
391 | ValeurCmp = MCP6002;
392 | IdModule = DIP-8-300-centrepads-x;
393 | EndCmp
394 |
395 | BeginCmp
396 | TimeStamp = /53780062;
397 | Reference = U3;
398 | ValeurCmp = 7805;
399 | IdModule = 7805-TO92;
400 | EndCmp
401 |
402 | BeginCmp
403 | TimeStamp = /5377C860;
404 | Reference = X?1;
405 | ValeurCmp = 20MHz;
406 | IdModule = crystal_hc-49u;
407 | EndCmp
408 |
409 | EndListe
410 |
--------------------------------------------------------------------------------
/dredrum-KiCad/dredrum-cache.lib:
--------------------------------------------------------------------------------
1 | EESchema-LIBRARY Version 2.3 Date: Sat 09 May 2015 16:49:28 CEST
2 | #encoding utf-8
3 | #
4 | # 7805
5 | #
6 | DEF 7805 U 0 40 Y N 1 F N
7 | F0 "U" 0 150 39 H V C CNN
8 | F1 "7805" 0 0 39 H V C CNN
9 | F2 "~" 0 0 60 H V C CNN
10 | F3 "~" 0 0 60 H V C CNN
11 | DRAW
12 | S -150 -100 150 -100 0 1 16 N
13 | S -150 100 -150 -100 0 1 16 N
14 | S 150 -100 150 100 0 1 16 N
15 | S 150 100 -150 100 0 1 16 N
16 | X IN 1 -250 50 100 R 39 39 1 1 I
17 | X GND 2 0 -200 100 U 39 39 1 1 I
18 | X OUT 3 250 50 100 L 39 39 1 1 O
19 | ENDDRAW
20 | ENDDEF
21 | #
22 | # ATMEGA328-LOG
23 | #
24 | DEF ATMEGA328-LOG U 0 40 Y Y 1 F N
25 | F0 "U" -400 -1000 30 H V C CNN
26 | F1 "ATMEGA328-LOG" 250 -1000 30 H V C CNN
27 | F2 "~" -800 1650 60 H V C CNN
28 | F3 "~" -800 1650 60 H V C CNN
29 | DRAW
30 | S -450 850 450 -950 0 1 20 N
31 | X /RESET/PC6 1 -550 -450 100 R 30 30 1 1 T
32 | X PD0/RXD 2 550 50 100 L 30 30 1 1 T
33 | X PD1/TXD 3 550 -50 100 L 30 30 1 1 T
34 | X PD2/INT0 4 550 -150 100 L 30 30 1 1 T
35 | X PD3/INT1/OC2B 5 550 -250 100 L 30 30 1 1 T
36 | X PD4/XCK/T0 6 550 -350 100 L 30 30 1 1 T
37 | X VCC 7 -550 -250 100 R 30 30 1 1 W
38 | X GND 8 -550 -150 100 R 30 30 1 1 W
39 | X XTAL1/PB6 9 -550 150 100 R 30 30 1 1 B
40 | X XTAL2/PB7 10 -550 50 100 R 30 30 1 1 B
41 | X AVCC 20 -550 -750 100 R 30 30 1 1 W
42 | X PD5/OC0B/T1 11 550 -450 100 L 30 30 1 1 T
43 | X AREF 21 -550 -650 100 R 30 30 1 1 W
44 | X PD6/OC0A/AIN0 12 550 -550 100 L 30 30 1 1 T
45 | X AGND 22 -550 -850 100 R 30 30 1 1 W
46 | X PD7/AIN1 13 550 -650 100 L 30 30 1 1 T
47 | X PC0/ADC0 23 550 750 100 L 30 30 1 1 T
48 | X PB0/CLKO/ICP1 14 -550 750 100 R 30 30 1 1 T
49 | X PC1/ADC1 24 550 650 100 L 30 30 1 1 T
50 | X PB1/OC1A 15 -550 650 100 R 30 30 1 1 T
51 | X PC2/ADC2 25 550 550 100 L 30 30 1 1 T
52 | X PB2/OC1B/SS 16 -550 550 100 R 30 30 1 1 T
53 | X PC3/ADC3 26 550 450 100 L 30 30 1 1 T
54 | X PB3/OC2A/MOSI 17 -550 450 100 R 30 30 1 1 T
55 | X PC4/ADC4/SDA 27 550 350 100 L 30 30 1 1 T
56 | X PB4/MISO 18 -550 350 100 R 30 30 1 1 T
57 | X PC5/ADC5/SCL 28 550 250 100 L 30 30 1 1 T
58 | X PB5/SCK 19 -550 250 100 R 30 30 1 1 T
59 | ENDDRAW
60 | ENDDEF
61 | #
62 | # AVRISP6
63 | #
64 | DEF AVRISP6 J 0 1 Y Y 1 F N
65 | F0 "J" -150 -250 30 H V C CNN
66 | F1 "AVRISP6" 50 -250 30 H V C CNN
67 | F2 "~" -200 -200 60 H V C CNN
68 | F3 "~" -200 -200 60 H V C CNN
69 | DRAW
70 | P 10 0 1 15 -150 150 -150 175 -125 200 125 200 150 175 150 -175 125 -200 -125 -200 -150 -175 -150 150 N
71 | X MISO 1 -250 -50 100 R 30 30 1 1 P
72 | X VCC 2 250 150 100 L 30 30 1 1 P
73 | X SCK 3 -250 -150 100 R 30 30 1 1 P
74 | X MOSI 4 -250 50 100 R 30 30 1 1 P
75 | X RESET 5 -250 150 100 R 30 30 1 1 P
76 | X GND 6 250 -150 100 L 30 30 1 1 P
77 | ENDDRAW
78 | ENDDEF
79 | #
80 | # BUTTON
81 | #
82 | DEF BUTTON SW 0 40 N N 1 F N
83 | F0 "SW" -50 70 30 H V R CNN
84 | F1 "BUTTON" 50 70 30 H V L CNN
85 | F2 "~" 0 0 60 H V C CNN
86 | F3 "~" 0 0 60 H V C CNN
87 | DRAW
88 | C -100 0 0 0 1 10 N
89 | C -75 0 11 0 1 15 N
90 | C 75 0 11 0 1 15 N
91 | P 2 0 1 20 -75 0 -75 0 N
92 | P 2 0 1 15 -75 0 70 40 N
93 | P 2 0 1 10 0 20 0 65 N
94 | P 2 0 1 20 75 0 75 0 N
95 | P 4 0 1 15 -30 55 -30 65 30 65 30 55 N
96 | X ~ 1 -150 0 60 R 30 30 1 1 P
97 | X ~ 2 150 0 60 L 30 30 1 1 P
98 | ENDDRAW
99 | ENDDEF
100 | #
101 | # C
102 | #
103 | DEF C C 0 40 N Y 1 F N
104 | F0 "C" -50 -50 30 H V R CNN
105 | F1 "C" 50 -50 30 H V L CNN
106 | F2 "~" 150 200 60 H V C CNN
107 | F3 "~" 150 200 60 H V C CNN
108 | DRAW
109 | P 2 0 1 15 -10 -40 -10 40 N
110 | P 2 0 1 15 10 40 10 -40 N
111 | X ~ 1 -50 0 39 R 39 39 1 1 P
112 | X ~ 2 50 0 39 L 39 39 1 1 P
113 | ENDDRAW
114 | ENDDEF
115 | #
116 | # CE
117 | #
118 | DEF CE C 0 40 N Y 1 F N
119 | F0 "C" -50 -50 30 H V C CNN
120 | F1 "CE" 50 -50 30 H V C CNN
121 | F2 "~" 150 200 60 H V C CNN
122 | F3 "~" 150 200 60 H V C CNN
123 | DRAW
124 | P 2 0 1 10 -40 50 -40 30 N
125 | P 2 0 1 10 -30 40 -50 40 N
126 | P 2 0 1 15 -10 -40 -10 40 N
127 | P 2 0 1 15 10 40 10 -40 N
128 | X ~ 1 -50 0 39 R 39 39 1 1 P
129 | X ~ 2 50 0 39 L 39 39 1 1 P
130 | ENDDRAW
131 | ENDDEF
132 | #
133 | # DIODE
134 | #
135 | DEF DIODE D 0 40 N Y 1 F N
136 | F0 "D" -100 -25 30 H V L CNN
137 | F1 "DIODE" 200 -25 30 H V R CNN
138 | F2 "~" 550 250 60 H V C CNN
139 | F3 "~" 550 250 60 H V C CNN
140 | DRAW
141 | P 2 0 1 15 40 40 40 -40 N
142 | P 5 0 1 15 40 0 -20 -40 -20 0 -20 40 40 0 N
143 | X ~ 1 -100 0 80 R 30 30 0 1 P
144 | X ~ 2 150 0 110 L 50 50 0 1 P
145 | ENDDRAW
146 | ENDDEF
147 | #
148 | # EURO10pin
149 | #
150 | DEF EURO10pin J 0 40 Y Y 1 F N
151 | F0 "J" -150 -550 30 H V C CNN
152 | F1 "EURO10pin" -150 -600 30 H V C CNN
153 | F2 "~" 0 0 60 H V C CNN
154 | F3 "~" 0 0 60 H V C CNN
155 | DRAW
156 | S 0 500 -300 -500 0 1 20 N
157 | X +12V 1 100 450 100 L 30 30 1 1 I
158 | X +12V 2 100 350 100 L 30 30 1 1 I
159 | X GND 3 100 250 100 L 30 30 1 1 I
160 | X GND 4 100 150 100 L 30 30 1 1 I
161 | X GND 5 100 50 100 L 30 30 1 1 I
162 | X GND 6 100 -50 100 L 30 30 1 1 I
163 | X GND 7 100 -150 100 L 30 30 1 1 I
164 | X GND 8 100 -250 100 L 30 30 1 1 I
165 | X -12V 9 100 -350 100 L 30 30 1 1 I
166 | X -12V 10 100 -450 100 L 30 30 1 1 I
167 | ENDDRAW
168 | ENDDEF
169 | #
170 | # GND
171 | #
172 | DEF GND GND 0 40 Y Y 1 F P
173 | F0 "GND" -100 -100 30 H I C CNN
174 | F1 "GND" 0 -100 30 H V C CNN
175 | F2 "~" 0 -50 60 H V C CNN
176 | F3 "~" 0 -50 60 H V C CNN
177 | DRAW
178 | S -60 -50 60 -70 0 1 4 F
179 | P 2 0 1 0 0 0 0 -50 N
180 | X GND ~ 0 0 0 L 30 30 1 1 W N
181 | ENDDRAW
182 | ENDDEF
183 | #
184 | # JACK-F-MONO-SWITCH
185 | #
186 | DEF JACK-F-MONO-SWITCH J 0 0 Y N 1 F N
187 | F0 "J" -250 150 30 H V C CNN
188 | F1 "JACK-F-MONO-SWITCH" 100 150 30 H V C CNN
189 | F2 "~" -150 0 60 H V C CNN
190 | F3 "~" -150 0 60 H V C CNN
191 | DRAW
192 | S 50 75 100 -75 0 1 15 F
193 | P 2 0 1 8 -250 -75 -300 -75 N
194 | P 2 0 1 8 -250 75 -300 75 N
195 | P 2 0 1 15 -200 75 -250 75 N
196 | P 2 0 1 15 50 -75 -250 -75 N
197 | P 3 0 1 8 -300 0 -175 0 -175 50 N
198 | P 4 0 1 15 -200 75 -125 75 -100 50 -75 75 N
199 | P 4 0 1 0 -175 75 -150 50 -200 50 -175 75 F
200 | X SLEEVE 1 -300 -75 0 R 30 30 1 1 P
201 | X SWITCH 2 -300 0 0 R 30 30 1 1 P
202 | X TIP 3 -300 75 0 R 30 30 1 1 P
203 | ENDDRAW
204 | ENDDEF
205 | #
206 | # JUMPER
207 | #
208 | DEF JUMPER JP 0 40 N Y 1 F N
209 | F0 "JP" -50 -50 30 H V R CNN
210 | F1 "JUMPER" 50 -50 30 H V L CNN
211 | F2 "~" 150 200 60 H V C CNN
212 | F3 "~" 150 200 60 H V C CNN
213 | DRAW
214 | P 2 0 1 16 -25 25 -25 125 N
215 | P 2 0 1 16 25 25 25 125 N
216 | P 3 0 1 8 -50 0 -25 0 -25 25 N
217 | P 3 0 1 8 50 0 25 0 25 25 N
218 | P 5 0 1 8 -50 50 -50 -25 50 -25 50 50 -50 50 N
219 | X ~ 1 -100 0 50 R 39 39 1 1 P
220 | X ~ 2 100 0 50 L 39 39 1 1 P
221 | ENDDRAW
222 | ENDDEF
223 | #
224 | # LED
225 | #
226 | DEF LED D 0 40 N Y 1 F N
227 | F0 "D" -100 -25 30 H V L CNN
228 | F1 "LED" 150 -25 30 H V R CNN
229 | F2 "~" 550 250 60 H V C CNN
230 | F3 "~" 550 250 60 H V C CNN
231 | DRAW
232 | P 2 0 1 15 40 40 40 -40 N
233 | P 2 0 1 5 90 70 60 40 N
234 | P 2 0 1 5 125 55 95 25 N
235 | P 3 0 1 5 70 65 90 70 85 50 N
236 | P 3 0 1 5 105 50 125 55 120 35 N
237 | P 5 0 1 15 40 0 -20 -40 -20 0 -20 40 40 0 N
238 | X ~ 1 -100 0 80 R 30 30 0 1 P
239 | X ~ 2 150 0 110 L 50 50 0 1 P
240 | ENDDRAW
241 | ENDDEF
242 | #
243 | # NPN
244 | #
245 | DEF NPN T 0 40 Y Y 1 F N
246 | F0 "T" 125 25 30 H V C CNN
247 | F1 "NPN" 125 -25 30 H V C CNN
248 | F2 "~" 550 800 60 H V C CNN
249 | F3 "~" 550 800 60 H V C CNN
250 | DRAW
251 | C -25 0 85 0 1 10 N
252 | P 2 0 1 0 -55 -25 0 -80 N
253 | P 2 0 1 0 -55 25 0 80 N
254 | P 2 0 1 20 -55 50 -55 -50 N
255 | P 2 0 1 0 -50 0 -100 0 N
256 | P 2 0 1 0 -35 -70 0 -80 N
257 | P 2 0 1 0 -10 -45 0 -80 N
258 | X ~ 1 0 175 95 D 30 30 1 1 I
259 | X ~ 2 -200 0 110 R 30 30 1 1 I
260 | X ~ 3 0 -175 95 U 30 30 1 1 O
261 | ENDDRAW
262 | ENDDEF
263 | #
264 | # OPAMP2
265 | #
266 | DEF OPAMP2 U 0 0 Y Y 2 F N
267 | F0 "U" 100 -150 30 H V C CNN
268 | F1 "OPAMP2" 100 -200 30 H V C CNN
269 | F2 "~" 0 0 60 H V C CNN
270 | F3 "~" 0 0 60 H V C CNN
271 | DRAW
272 | P 2 0 1 0 -125 -100 -75 -100 N
273 | P 2 0 1 0 -125 100 -75 100 N
274 | P 2 0 1 0 -100 -75 -100 -125 N
275 | P 4 0 1 20 -150 200 200 0 -150 -200 -150 200 N
276 | X ~ 1 300 0 100 L 30 30 1 1 O
277 | X ~ 2 -250 100 100 R 30 30 1 1 I
278 | X ~ 3 -250 -100 100 R 30 30 1 1 I
279 | X ~ 4 -50 250 106 D 30 30 1 1 W
280 | X ~ 8 -50 -250 106 U 30 30 1 1 W
281 | X ~ 4 -50 250 106 D 30 30 2 1 W
282 | X ~ 5 -250 -100 100 R 30 30 2 1 I
283 | X ~ 6 -250 100 100 R 30 30 2 1 I
284 | X ~ 7 300 0 100 L 30 30 2 1 O
285 | X ~ 8 -50 -250 106 U 30 30 2 1 W
286 | ENDDRAW
287 | ENDDEF
288 | #
289 | # POT
290 | #
291 | DEF POT R 0 40 N Y 1 F N
292 | F0 "R" -125 50 31 H V L BNN
293 | F1 "POT" 25 -75 30 H V L BNN
294 | F2 "~" 200 0 60 H V C CNN
295 | F3 "~" 200 0 60 H V C CNN
296 | DRAW
297 | S -75 25 75 -25 0 1 15 N
298 | P 3 0 1 0 -125 -50 -50 -50 50 50 N
299 | P 3 0 1 0 45 35 50 50 35 45 N
300 | X ~ 2 -125 -50 0 R 30 30 0 1 P
301 | X ~ 3 125 0 50 L 30 30 0 1 P
302 | X ~ 1 -125 0 50 R 39 300 1 1 P
303 | ENDDRAW
304 | ENDDEF
305 | #
306 | # R
307 | #
308 | DEF R R 0 40 N Y 1 F N
309 | F0 "R" 0 50 28 H V C BNN
310 | F1 "R" 0 -75 28 H V C BNN
311 | F2 "~" 200 0 60 H V C CNN
312 | F3 "~" 200 0 60 H V C CNN
313 | DRAW
314 | S -75 25 75 -25 0 1 15 N
315 | X ~ 2 125 0 50 L 30 30 0 1 P
316 | X ~ 1 -125 0 50 R 39 300 1 1 P
317 | ENDDRAW
318 | ENDDEF
319 | #
320 | # SWITCH
321 | #
322 | DEF SWITCH SW 0 40 N N 1 F N
323 | F0 "SW" -50 100 30 H V R CNN
324 | F1 "SWITCH" 50 100 30 H V L CNN
325 | F2 "~" 0 0 60 H V C CNN
326 | F3 "~" 0 0 60 H V C CNN
327 | DRAW
328 | C -100 0 0 0 1 10 N
329 | C -75 0 11 0 1 15 N
330 | C 75 -50 15 0 1 10 N
331 | C 75 50 15 0 1 10 N
332 | P 2 0 1 20 -75 0 -75 0 N
333 | P 2 0 1 15 -75 0 70 40 N
334 | X ~ 1 150 50 60 L 30 30 1 1 P
335 | X ~ 2 -150 0 60 R 30 30 1 1 P
336 | X ~ 3 150 -50 60 L 30 30 1 1 P
337 | ENDDRAW
338 | ENDDEF
339 | #
340 | # VCC
341 | #
342 | DEF VCC VCC 0 40 Y Y 1 F P
343 | F0 "VCC" -60 20 30 H I C CNN
344 | F1 "VCC" 0 110 30 H V C CNN
345 | F2 "~" 0 0 60 H V C CNN
346 | F3 "~" 0 0 60 H V C CNN
347 | DRAW
348 | C 0 65 15 0 1 15 N
349 | P 2 0 1 10 0 0 0 50 N
350 | X VCC ~ 0 0 0 L 30 30 1 1 W N
351 | ENDDRAW
352 | ENDDEF
353 | #
354 | # XTAL
355 | #
356 | DEF XTAL X? 0 0 N N 1 F N
357 | F0 "X?" -125 -50 30 H V L CNN
358 | F1 "XTAL" 150 -50 30 H V R CNN
359 | F2 "~" 25 0 60 H V C CNN
360 | F3 "~" 25 0 60 H V C CNN
361 | DRAW
362 | S -10 55 10 -55 0 1 10 N
363 | P 2 0 1 20 -30 50 -30 -50 N
364 | P 2 0 1 20 30 -50 30 50 N
365 | X ~ 1 -75 0 50 R 50 50 1 1 P
366 | X ~ 2 75 0 50 L 50 50 1 1 P
367 | ENDDRAW
368 | ENDDEF
369 | #
370 | #End Library
371 |
--------------------------------------------------------------------------------
/dredrum-trig/dredrum.c:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | +----------------------------------------------------------------------+
4 | | |
5 | | D R E D R U M |
6 | | |
7 | | v 1.0 |
8 | | |
9 | | 8-bit 3 oscillator percussion/drone PWM generator |
10 | | |
11 | | target: Atmel ATmega 48P @ 20MHz |
12 | | |
13 | +----------------------------------------------------------------------+
14 | | Copyright 2014 Jan Cumpelik |
15 | | |
16 | | This program is free software: you can redistribute it and/or modify |
17 | | it under the terms of the GNU General Public License as published by |
18 | | the Free Software Foundation, either version 3 of the License, or |
19 | | (at your option) any later version. |
20 | | |
21 | | This program is distributed in the hope that it will be useful, |
22 | | but WITHOUT ANY WARRANTY; without even the implied warranty of |
23 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
24 | | GNU General Public License for more details. |
25 | | |
26 | | You should have received a copy of the GNU General Public License |
27 | | along with this program. If not, see .|
28 | +----------------------------------------------------------------------+
29 |
30 | */
31 |
32 |
33 | #include
34 | #define F_CPU 20000000L
35 | #include
36 | #include
37 | #include
38 | #include "./8bit_q_sine.h"
39 |
40 | // macros
41 | #define BUTTRIG (1 << 0)
42 | #define BUTWAVE (1 << 1)
43 | #define BUTVOICE1 (1 << 2)
44 | #define BUTVOICE2 (1 << 3)
45 | #define BUTVOICE3 (1 << 4)
46 | #define TRIGIN (1 << 5)
47 |
48 | #define SIGNAL_BUFFER_SIZE 16
49 |
50 | #define V1 0
51 | #define V2 1
52 | #define V3 2
53 |
54 | #define PITCH 3 // PITCH
55 | #define PITCHENV 2 // PITCH DROP
56 | #define DECAY 1 // DECAY
57 | #define LEVEL 0 // LEVEL
58 | #define WAVE 4 // WAVE
59 |
60 | #define NEW 0
61 | #define STORE 1
62 | #define UPDATE 2
63 |
64 | #define ALLOWED 0
65 | #define NOT_ALLOWED 1
66 |
67 |
68 | // trigger becomes 1 when rising edge is detected on trig input
69 | volatile uint8_t trigger = 0;
70 |
71 | // audio data buffer structure
72 | typedef struct {
73 | uint8_t data[SIGNAL_BUFFER_SIZE] ;
74 | uint8_t head;
75 | uint8_t tail;
76 | uint8_t fill;
77 | } bufferstructure;
78 | volatile bufferstructure buffer;
79 |
80 | // structure for storing button states
81 | typedef struct {
82 | uint8_t scanned;
83 | uint8_t last;
84 | uint8_t notused;
85 | } buttonsstructure;
86 |
87 | // structure with oscillator parameters
88 | typedef struct {
89 | uint8_t playing;
90 | uint32_t phase_acc;
91 | uint16_t level_acc;
92 | } oscillator;
93 |
94 |
95 | // setup hardware routine
96 | void setup_basedrum() {
97 |
98 | DDRD = 0x00;
99 | PORTD = 0x00;
100 |
101 | DDRD &= ~(1 << PD0); // trig in input
102 | DDRD |= (1 << PD1); // led voice 1 output
103 | DDRD &= ~(1 << PD2); // voice 1 button input
104 | PORTD |= (1 << PD2); // pullup on
105 | DDRD |= (1 << PD3); // led voice 2 output
106 | DDRD &= ~(1 << PD4); // trig button input
107 | PORTD |= (1 << PD4); // pullup on
108 | DDRD &= ~(1 << PD5); // voice 2 button input
109 | PORTD |= (1 << PD5); // pullup on
110 | DDRD |= (1 << PD6); // led voice 3 output
111 | DDRD |= (1 << PD7); // led play output
112 |
113 | DDRB = 0x00;
114 | PORTB = 0x00;
115 | DDRB &= ~(1 << PB0); // boice 3 button input
116 | PORTB |= (1 << PB0); // pullup on
117 | DDRB |= (1 << PB1); // pwm out OC1A
118 | DDRB |= (1 << PB2); // leds wave select
119 | DDRB |= (1 << PB3);
120 | DDRB |= (1 << PB4);
121 | DDRB |= (1 << PB5);
122 |
123 | DDRC = 0x00; // all inputs
124 | PORTC = 0x00;
125 | PORTC |= (1 << PC1); // wave button pullup
126 |
127 | // internal ADC setup
128 | ADCSRA |= (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0); // prescaler 128
129 | ADMUX = (1< 0xff) {
165 | if (wave_pointer > 0x017f) {
166 | // 4. quarter
167 | wave_pointer &= 0xff;
168 | wave_pointer = 0xff - wave_pointer;
169 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
170 | } else {
171 | // 3. quarter
172 | wave_pointer &= 0xff;
173 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
174 | }
175 | wave = 0x7f - wave;
176 | } else {
177 | if (wave_pointer > 0x7f) {
178 | // 2. quarter
179 | wave_pointer = 0xff - wave_pointer;
180 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
181 | } else {
182 | // 1. quarter
183 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
184 | }
185 | wave += 0x7f;
186 | }
187 | break;
188 | // square wave ----------------------------------------------------------------
189 | case 1:
190 | if (wave_pointer > 0xff) {
191 | wave = 0xff;
192 | } else {
193 | wave = 0x00;
194 | }
195 | break;
196 | // saw wave ----------------------------------------------------------------
197 | case 2:
198 | wave_pointer >>= 1;
199 | wave = 0xff - wave_pointer;
200 | break;
201 | // noise ----------------------------------------------------------------
202 | // Dredrum's unique digital noise is created by reading program data ;)
203 | case 3:
204 | wave = pgm_read_byte(&q_sine_table[0xff + wave_pointer]);
205 | break;
206 | }
207 | return wave;
208 | }
209 |
210 |
211 | // storing unit settings to memory
212 | // settings are recalled when power up
213 | void store_to_EEPROM(uint8_t array[][5]) {
214 |
215 | //disable interrupts
216 | cli();
217 |
218 | // write to eeprom, addr 10, lenght 15
219 | eeprom_write_block( (const void*)array, (void*) 10, 15);
220 |
221 | //done, flash leds
222 | uint8_t c;
223 | uint32_t d;
224 | for (c = 1; c < 7; c++) {
225 | for (d = 0; d < 100000; d++) {
226 | if (c & 0x01) {
227 | PORTD |= (1 << PD1) | (1 << PD3) | (1 << PD6);
228 | } else {
229 | PORTD &= ~(1 << PD1);
230 | PORTD &= ~(1 << PD3);
231 | PORTD &= ~(1 << PD6);
232 | }
233 | }
234 | }
235 |
236 | //enable interrupts
237 | sei();
238 | }
239 |
240 |
241 |
242 | //////////////////////////////////////////////////
243 | //
244 | // MAIN ROUTINE
245 | //
246 | //////////////////////////////////////////////////
247 |
248 | int main() {
249 |
250 | cli();
251 |
252 | uint8_t audiodata = 0;
253 | uint8_t voice_params[3][5]; // [voice][parameter]
254 |
255 | uint8_t pots[4][3]; // [pot][new/store/updateflag]
256 |
257 | buttonsstructure buttons;
258 | buttons.scanned = 0x00;
259 | buttons.last = 0x00;
260 | buttons.notused = 0x00;
261 | uint8_t voice = 0;
262 | uint8_t last_voice = 0;
263 | oscillator v1;
264 | oscillator v2;
265 | oscillator v3;
266 |
267 | uint8_t click_mode = 0;
268 |
269 | v1.playing = 0;
270 | v1.phase_acc = 0;
271 | v1.level_acc = 0;
272 | v2.playing = 0;
273 | v2.phase_acc = 0;
274 | v2.level_acc = 0;
275 | v3.playing = 0;
276 | v3.phase_acc = 0;
277 | v3.level_acc = 0;
278 |
279 | // run HW setup routine
280 | setup_basedrum();
281 |
282 | //initialize arrays
283 | uint8_t i;
284 | for (i = 0; i < SIGNAL_BUFFER_SIZE; i++) {
285 | buffer.data[i]= 127;
286 | }
287 |
288 | // load sound settings from memory
289 | eeprom_read_block( (void*)voice_params, (const void*) 10, 15 );
290 |
291 | for (i = 0; i < 4; i++) {
292 | pots[i][NEW] = 0;
293 | pots[i][STORE] = 0;
294 | pots[i][UPDATE] = ALLOWED;
295 | }
296 |
297 | sei();
298 |
299 |
300 | //////////////////////////////////////////////////
301 | //
302 | // MAIN ROUTINE LOOP
303 | //
304 | //////////////////////////////////////////////////
305 |
306 | while(1) {
307 |
308 | // when "trigger" is 1
309 | if (trigger) {
310 |
311 | trigger = 0;
312 |
313 | v1.playing = 1;
314 | v1.phase_acc = 0;
315 | v1.level_acc = 0;
316 |
317 | v2.playing = 1;
318 | v2.phase_acc = 0;
319 | v2.level_acc = 0;
320 |
321 | v3.playing = 1;
322 | v3.phase_acc = 0;
323 | v3.level_acc = 0;
324 | }
325 |
326 | while (buffer.fill < SIGNAL_BUFFER_SIZE) { // keep audio buffer filled
327 |
328 | int16_t v1_signed = 0;
329 | int16_t v2_signed = 0;
330 | int16_t v3_signed = 0;
331 |
332 | // voice 1 level accumulator - decay
333 | v1.level_acc += (( 0xff - voice_params[V1][DECAY] ) >> 3);
334 | // elapsed time runs from 0 to 127
335 | uint8_t v1_elapsed_time = v1.level_acc >> 9;
336 | if (v1_elapsed_time >= 127) v1.playing = 0; // end of sound
337 | // voice 1 pitch accumulator - pitch
338 | v1.phase_acc += (( voice_params[V1][PITCH] << 4) + 1);
339 | v1.phase_acc += ((127 - v1_elapsed_time) * (voice_params[V1][PITCHENV])) >> 4 ;
340 | // v1_wave_pointer gives the "time" value for waverenderer
341 | uint16_t v1_wave_pointer = v1.phase_acc >> 8;
342 | v1_wave_pointer &= 0x01ff;
343 |
344 | if (v1.playing) {
345 | // call waverenderer
346 | uint8_t v1_wave = waverender(v1_wave_pointer, voice_params[V1][WAVE]);
347 | // voice 1 volume calculation
348 | uint16_t v1_volume = voice_params[V1][LEVEL]; // 0..255
349 | v1_volume *= (127 - v1_elapsed_time); // 0..32358
350 | v1_volume >>= 8; // 0..126
351 | // voice 1 volume application on wave amplitude
352 | v1_signed = (int16_t)v1_wave; // 0..255
353 | v1_signed -= 128; // -128..127
354 | v1_signed *= (int16_t)v1_volume; // -16256..16129
355 | v1_signed >>= 7; // -128..127
356 | }
357 |
358 | // voice 2 level accumulator - decay
359 | v2.level_acc += (( 0xff - voice_params[V2][DECAY] ) >> 3);
360 | // elapsed time runs from 0 to 127
361 | uint8_t v2_elapsed_time = v2.level_acc >> 9;
362 | if (v2_elapsed_time >= 127) v2.playing = 0; // end of sound
363 | // voice 2 pitch accumulator - pitch
364 | v2.phase_acc += (( voice_params[V2][PITCH] << 4) + 1);
365 | v2.phase_acc += ((127 - v2_elapsed_time) * (voice_params[V2][PITCHENV])) >> 4;
366 | // v2_wave_pointer gives the "time" value for waverenderer
367 | uint16_t v2_wave_pointer = v2.phase_acc >> 8;
368 | v2_wave_pointer &= 0x01ff;
369 |
370 | if (v2.playing) {
371 | // call waverenderer
372 | uint8_t v2_wave = waverender(v2_wave_pointer, voice_params[V2][WAVE]);
373 | // voice 2 volume calculation
374 | uint16_t v2_volume = voice_params[V2][LEVEL]; // 0..255
375 | v2_volume *= (127 - v2_elapsed_time); // 0..32358
376 | v2_volume >>= 8; // 0..126
377 | // voice 2 volume application on wave amplitude
378 | v2_signed = (int16_t)v2_wave; // 0..255
379 | v2_signed -= 128; // -128..127
380 | v2_signed *= (int16_t)v2_volume; // -16256..16129
381 | v2_signed >>= 7; // -128..127
382 | }
383 |
384 | // voice 3 level accumulator - decay
385 | v3.level_acc += (( 0xff - voice_params[V3][DECAY] ) >> 3);
386 | // elapsed time runs from 0 to 127
387 | uint8_t v3_elapsed_time = v3.level_acc >> 9;
388 | if (v3_elapsed_time >= 127) v3.playing = 0; // end of sound
389 | // voice 3 pitch accumulator - pitch
390 | v3.phase_acc += (( voice_params[V3][PITCH] << 4) + 1);
391 | v3.phase_acc += ((127 - v3_elapsed_time) * (voice_params[V3][PITCHENV])) >> 4;
392 | // v3_wave_pointer gives the "time" value for waverenderer
393 | uint16_t v3_wave_pointer = v3.phase_acc >> 8;
394 | // end of sound after one amplitude if click mode is on
395 | if (click_mode) {
396 | if (v3_wave_pointer >= 0x01ff) v3.playing = 0;
397 | }
398 |
399 | if (v3.playing) {
400 | v3_wave_pointer &= 0x01ff;
401 | // call waverenderer
402 | uint8_t v3_wave = waverender(v3_wave_pointer, voice_params[V3][WAVE]);
403 | // voice 3 volume calculation
404 | uint16_t v3_volume = voice_params[V3][LEVEL]; // 0..255
405 | v3_volume *= (127 - v3_elapsed_time); // 0..32358
406 | v3_volume >>= 8; // 0..126
407 | // voice 3 volume application on wave amplitude
408 | v3_signed = (int16_t)v3_wave; // 0..255
409 | v3_signed -= 128; // -128..127
410 | v3_signed *= (int16_t)v3_volume; // -16256..16129
411 | v3_signed >>= 7; // -128..127
412 | }
413 |
414 | // mix all voices together
415 | int16_t mix = v1_signed + v2_signed + v3_signed;
416 | if (mix < -127) mix = -127;
417 | if (mix > 127) mix = 127;
418 | mix += 127;
419 | audiodata = mix;
420 | // insert audio data to buffer
421 | ++ buffer.tail;
422 | if (buffer.tail >= SIGNAL_BUFFER_SIZE) buffer.tail = 0;
423 | buffer.data[buffer.tail] = audiodata;
424 | ++ buffer.fill;
425 |
426 | }
427 |
428 | // LEDS output
429 | if (voice == 0) {
430 | PORTD |= (1 << PD1);
431 | PORTD &= ~(1 << PD3);
432 | PORTD &= ~(1 << PD6);
433 | } else if (voice == 1) {
434 | PORTD &= ~(1 << PD1);
435 | PORTD |= (1 << PD3);
436 | PORTD &= ~(1 << PD6);
437 | } else if (voice == 2) {
438 | PORTD &= ~(1 << PD1);
439 | PORTD &= ~(1 << PD3);
440 | PORTD |= (1 << PD6);
441 | }
442 |
443 | uint8_t waveleds = 0;
444 | static uint8_t last_waveleds = 0;
445 | waveleds = (1 << (5 - (voice_params[voice][WAVE])));
446 | if (waveleds == last_waveleds) {
447 | } else {
448 | PORTB &= ~(0b00111100);
449 | PORTB |= waveleds;
450 | }
451 | last_waveleds = waveleds;
452 |
453 | if ( (v1.playing) || (v2.playing) || (v3.playing) ) {
454 | PORTD |= (1 << PD7);
455 | } else {
456 | PORTD &= ~(1 << PD7);
457 | }
458 |
459 | // scan and process buttons
460 | if (TCNT2 > 195) { // cca 100Hz
461 | TCNT2 = 0;
462 |
463 | if (PINC & (1 << PC0)) {
464 | click_mode = 0;
465 | } else {
466 | click_mode = 1;
467 | }
468 |
469 | buttons.scanned = 0x00;
470 | if (PIND & (1 << PD4)) buttons.scanned |= (BUTTRIG);
471 | if (PINC & (1 << PC1)) buttons.scanned |= (BUTWAVE);
472 | if (PIND & (1 << PD2)) buttons.scanned |= (BUTVOICE1);
473 | if (PIND & (1 << PD5)) buttons.scanned |= (BUTVOICE2);
474 | if (PINB & (1 << PB0)) buttons.scanned |= (BUTVOICE3);
475 |
476 | buttons.scanned ^= 0xff;
477 | buttons.notused |= buttons.scanned & ~(buttons.last);
478 |
479 | uint8_t freshbutt = buttons.scanned & buttons.notused;
480 |
481 | if ( (buttons.scanned & BUTVOICE1) && (buttons.scanned & BUTVOICE3) ) {
482 | if ((buttons.notused & BUTVOICE1) || (buttons.notused & BUTVOICE3)) {
483 | store_to_EEPROM(voice_params);
484 | buttons.notused &= ~(BUTVOICE1);
485 | buttons.notused &= ~(BUTVOICE3);
486 | }
487 | }
488 |
489 | if (freshbutt & BUTVOICE1) {
490 | voice = 0;
491 | buttons.notused &= ~(BUTVOICE1);
492 | }
493 | if (freshbutt & BUTVOICE2) {
494 | voice = 1;
495 | buttons.notused &= ~(BUTVOICE2);
496 | }
497 | if (freshbutt & BUTVOICE3) {
498 | voice = 2;
499 | buttons.notused &= ~(BUTVOICE3);
500 | }
501 | if (freshbutt & BUTWAVE) {
502 | ++ voice_params[voice][WAVE];
503 | if (voice_params[voice][WAVE] > 3) voice_params[voice][WAVE] = 0;
504 | buttons.notused &= ~(BUTWAVE);
505 | }
506 | if (freshbutt & BUTTRIG) {
507 | trigger = 1;
508 | buttons.notused &= ~(BUTTRIG);
509 | }
510 | buttons.last = buttons.scanned;
511 | }
512 |
513 | // read pots
514 | static uint8_t current_pot = 0;
515 | // ADIF is set when previous conversion is complete, so pick conversion result
516 | if (ADCSRA & (1 << ADIF)) {
517 | // clear flag
518 | ADCSRA |= (1 << ADIF);
519 | // read ADC result
520 | pots[current_pot][NEW] = ADCH;
521 |
522 | if (last_voice != voice) {
523 | pots[0][UPDATE] = NOT_ALLOWED;
524 | pots[1][UPDATE] = NOT_ALLOWED;
525 | pots[2][UPDATE] = NOT_ALLOWED;
526 | pots[3][UPDATE] = NOT_ALLOWED;
527 | pots[0][STORE] = pots[0][NEW];
528 | pots[1][STORE] = pots[1][NEW];
529 | pots[2][STORE] = pots[2][NEW];
530 | pots[3][STORE] = pots[3][NEW];
531 | }
532 |
533 | if (pots[current_pot][UPDATE] == NOT_ALLOWED) {
534 | if ( (pots[current_pot][NEW] < (pots[current_pot][STORE]- 6)) ||
535 | (pots[current_pot][NEW] > (pots[current_pot][STORE] + 6)) ) {
536 | pots[current_pot][UPDATE] = ALLOWED;
537 | }
538 | }
539 |
540 | if (pots[current_pot][UPDATE] == ALLOWED) {
541 | voice_params[voice][current_pot] = pots[current_pot][NEW];
542 | }
543 |
544 | last_voice = voice;
545 |
546 | // select new pot for new conversion
547 | ++ current_pot;
548 | current_pot &= 0x03;
549 | ADMUX = current_pot + 2;
550 | ADMUX |= (1<= SIGNAL_BUFFER_SIZE) buffer.head = 0;
568 | OCR1A = buffer.data[buffer.head];
569 | -- buffer.fill;
570 |
571 | static uint8_t triginput = 0;
572 | triginput <<= 1;
573 | if (PIND & (1 << PD0)) {} else {triginput |= 0x01;}
574 | if ((triginput & 0x03) == 0x01) {trigger = 1;}
575 | }
576 |
--------------------------------------------------------------------------------
/dredrum-gate/dredrum-gate.c:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | +----------------------------------------------------------------------+
4 | | |
5 | | D R E D R U M |
6 | | |
7 | | v 1.0 - GATE |
8 | | |
9 | | 8-bit 3 oscillator percussion/drone PWM generator |
10 | | |
11 | | target: Atmel ATmega 48P @ 20MHz |
12 | | |
13 | +----------------------------------------------------------------------+
14 | | Copyright 2014 Jan Cumpelik |
15 | | |
16 | | This program is free software: you can redistribute it and/or modify |
17 | | it under the terms of the GNU General Public License as published by |
18 | | the Free Software Foundation, either version 3 of the License, or |
19 | | (at your option) any later version. |
20 | | |
21 | | This program is distributed in the hope that it will be useful, |
22 | | but WITHOUT ANY WARRANTY; without even the implied warranty of |
23 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
24 | | GNU General Public License for more details. |
25 | | |
26 | | You should have received a copy of the GNU General Public License |
27 | | along with this program. If not, see .|
28 | +----------------------------------------------------------------------+
29 |
30 | */
31 |
32 | #include
33 | #define F_CPU 20000000L
34 | #include
35 | #include
36 | #include
37 | #include "./8bit_q_sine.h"
38 |
39 | // macros
40 | #define BUTTRIG (1 << 0)
41 | #define BUTWAVE (1 << 1)
42 | #define BUTVOICE1 (1 << 2)
43 | #define BUTVOICE2 (1 << 3)
44 | #define BUTVOICE3 (1 << 4)
45 | #define TRIGIN (1 << 5)
46 |
47 | #define SIGNAL_BUFFER_SIZE 16
48 |
49 | #define V1 0
50 | #define V2 1
51 | #define V3 2
52 |
53 | #define PITCH 3 // PITCH
54 | #define PITCHENV 2 // PITCH DROP
55 | #define DECAY 1 // DECAY
56 | #define LEVEL 0 // LEVEL
57 | #define WAVE 4 // WAVE
58 |
59 | #define NEW 0
60 | #define STORE 1
61 | #define UPDATE 2
62 |
63 | #define ALLOWED 0
64 | #define NOT_ALLOWED 1
65 |
66 | volatile uint8_t trigger = 0;
67 |
68 | #define GATE_OFF 0
69 | #define TRIG_ON 1
70 | #define TRIG_OFF 2
71 | #define GATE_ON 3
72 |
73 |
74 | // audio data buffer structure
75 | typedef struct {
76 | uint8_t data[SIGNAL_BUFFER_SIZE] ;
77 | uint8_t head;
78 | uint8_t tail;
79 | uint8_t fill;
80 | } bufferstructure;
81 | volatile bufferstructure buffer;
82 |
83 | // structure for storing button states
84 | typedef struct {
85 | uint8_t scanned;
86 | uint8_t last;
87 | uint8_t notused;
88 | } buttonsstructure;
89 |
90 | // structure with oscillator parameters
91 | typedef struct {
92 | uint8_t playing;
93 | uint32_t phase_acc;
94 | uint16_t level_acc;
95 | } oscillator;
96 |
97 |
98 | // setup hardware routine
99 | void setup_basedrum() {
100 |
101 | DDRD = 0x00;
102 | PORTD = 0x00;
103 |
104 | DDRD &= ~(1 << PD0); // trig in input
105 | DDRD |= (1 << PD1); // led voice 1 output
106 | DDRD &= ~(1 << PD2); // voice 1 button input
107 | PORTD |= (1 << PD2); // pullup on
108 | DDRD |= (1 << PD3); // led voice 2 output
109 | DDRD &= ~(1 << PD4); // trig button input
110 | PORTD |= (1 << PD4); // pullup on
111 | DDRD &= ~(1 << PD5); // voice 2 button input
112 | PORTD |= (1 << PD5); // pullup on
113 | DDRD |= (1 << PD6); // led voice 3 output
114 | DDRD |= (1 << PD7); // led play output
115 |
116 | DDRB = 0x00;
117 | PORTB = 0x00;
118 | DDRB &= ~(1 << PB0); // boice 3 button input
119 | PORTB |= (1 << PB0); // pullup on
120 | DDRB |= (1 << PB1); // pwm out OC1A
121 | DDRB |= (1 << PB2); // leds wave select
122 | DDRB |= (1 << PB3);
123 | DDRB |= (1 << PB4);
124 | DDRB |= (1 << PB5);
125 |
126 | DDRC = 0x00; // all inputs
127 | PORTC = 0x00;
128 | PORTC |= (1 << PC1); // wave button pullup
129 |
130 | // internal ADC setup
131 | ADCSRA |= (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0); // prescaler 128
132 | ADMUX = (1< 0xff) {
168 | if (wave_pointer > 0x017f) {
169 | // 4. quarter
170 | wave_pointer &= 0xff;
171 | wave_pointer = 0xff - wave_pointer;
172 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
173 | } else {
174 | // 3. quarter
175 | wave_pointer &= 0xff;
176 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
177 | }
178 | wave = 0x7f - wave;
179 | } else {
180 | if (wave_pointer > 0x7f) {
181 | // 2. quarter
182 | wave_pointer = 0xff - wave_pointer;
183 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
184 | } else {
185 | // 1. quarter
186 | wave = pgm_read_byte(&q_sine_table[wave_pointer]);
187 | }
188 | wave += 0x7f;
189 | }
190 | break;
191 | // square wave ----------------------------------------------------------------
192 | case 1:
193 | if (wave_pointer > 0xff) {
194 | wave = 0xff;
195 | } else {
196 | wave = 0x00;
197 | }
198 | break;
199 | // saw wave ----------------------------------------------------------------
200 | case 2:
201 | wave_pointer >>= 1;
202 | wave = 0xff - wave_pointer;
203 | break;
204 | // noise ----------------------------------------------------------------
205 | // Dredrum's unique digital noise is created by reading program data ;)
206 | case 3:
207 | wave = pgm_read_byte(&q_sine_table[0xff + wave_pointer]);
208 | break;
209 | }
210 | return wave;
211 | }
212 |
213 |
214 | // storing unit settings to memory
215 | // settings are recalled when power up
216 | void store_to_EEPROM(uint8_t array[][5]) {
217 |
218 | //disable interrupts
219 | cli();
220 |
221 | // write to eeprom, addr 10, lenght 15
222 | eeprom_write_block( (const void*)array, (void*) 10, 15);
223 |
224 | //done, flash leds
225 | uint8_t c;
226 | uint32_t d;
227 |
228 | for (c = 1; c < 7; c++) {
229 | for (d = 0; d < 100000; d++) {
230 | if (c & 0x01) {
231 | PORTD |= (1 << PD1) | (1 << PD3) | (1 << PD6);
232 | } else {
233 | PORTD &= ~(1 << PD1);
234 | PORTD &= ~(1 << PD3);
235 | PORTD &= ~(1 << PD6);
236 | }
237 | }
238 | }
239 |
240 | //enable interrupts
241 | sei();
242 | }
243 |
244 |
245 |
246 | //////////////////////////////////////////////////
247 | //
248 | // MAIN ROUTINE
249 | //
250 | //////////////////////////////////////////////////
251 |
252 | int main() {
253 |
254 | cli();
255 |
256 | uint8_t audiodata = 0;
257 | uint8_t voice_params[3][5]; // [voice][parameter]
258 |
259 | uint8_t pots[4][3]; // [pot][new/store/updateflag]
260 |
261 | buttonsstructure buttons;
262 | buttons.scanned = 0x00;
263 | buttons.last = 0x00;
264 | buttons.notused = 0x00;
265 | uint8_t voice = 0;
266 | uint8_t last_voice = 0;
267 | oscillator v1;
268 | oscillator v2;
269 | oscillator v3;
270 |
271 | uint8_t click_mode = 0;
272 |
273 | v1.playing = 0;
274 | v1.phase_acc = 0;
275 | v1.level_acc = 0;
276 | v2.playing = 0;
277 | v2.phase_acc = 0;
278 | v2.level_acc = 0;
279 | v3.playing = 0;
280 | v3.phase_acc = 0;
281 | v3.level_acc = 0;
282 |
283 | // run HW setup routine
284 | setup_basedrum();
285 |
286 | //initialize arrays
287 | uint8_t i;
288 | for (i = 0; i < SIGNAL_BUFFER_SIZE; i++) {
289 | buffer.data[i]= 127;
290 | }
291 |
292 | // load settings from eeprom
293 | eeprom_read_block( (void*)voice_params, (const void*) 10, 15 );
294 |
295 | for (i = 0; i < 4; i++) {
296 | pots[i][NEW] = 0;
297 | pots[i][STORE] = 0;
298 | pots[i][UPDATE] = ALLOWED;
299 | }
300 |
301 | sei();
302 |
303 |
304 | //////////////////////////////////////////////////
305 | //
306 | // MAIN ROUTINE LOOP
307 | //
308 | //////////////////////////////////////////////////
309 |
310 | while(1) {
311 |
312 | if (trigger == TRIG_ON) {
313 |
314 | trigger = GATE_ON;
315 |
316 | v1.playing = 1;
317 | v1.phase_acc = 0;
318 | v1.level_acc = 0;
319 |
320 | v2.playing = 1;
321 | v2.phase_acc = 0;
322 | v2.level_acc = 0;
323 |
324 | v3.playing = 1;
325 | v3.phase_acc = 0;
326 | v3.level_acc = 0;
327 | }
328 | else if (trigger == TRIG_OFF) {
329 | trigger = GATE_OFF;
330 | }
331 |
332 |
333 |
334 | while (buffer.fill < SIGNAL_BUFFER_SIZE) { // keep audio buffer filled
335 |
336 | int16_t v1_signed = 0;
337 | int16_t v2_signed = 0;
338 | int16_t v3_signed = 0;
339 |
340 | // voice 1 level accumulator - decay
341 | if (trigger == GATE_OFF) v1.level_acc += (( 0xff - voice_params[V1][DECAY] ) >> 3);
342 | // elapsed time runs from 0 to 127
343 | uint8_t v1_elapsed_time = v1.level_acc >> 9;
344 | if (v1_elapsed_time >= 127) v1.playing = 0; // konec zvuku v tomto pripade
345 | // voice 1 pitch accumulator - pitch
346 | v1.phase_acc += (( voice_params[V1][PITCH] << 4) + 1);
347 | v1.phase_acc += ((127 - v1_elapsed_time) * (voice_params[V1][PITCHENV])) >> 4 ;
348 | // v1_wave_pointer gives the "time" value for waverenderer
349 | uint16_t v1_wave_pointer = v1.phase_acc >> 8;
350 | v1_wave_pointer &= 0x01ff;
351 |
352 | if (v1.playing) {
353 | // call waverenderer
354 | uint8_t v1_wave = waverender(v1_wave_pointer, voice_params[V1][WAVE]);
355 | // voice 1 volume calculation
356 | uint16_t v1_volume = voice_params[V1][LEVEL]; // 0..255
357 | v1_volume *= (127 - v1_elapsed_time); // 0..32358
358 | v1_volume >>= 8; // 0..126
359 | // voice 1 volume application on wave amplitude
360 | v1_signed = (int16_t)v1_wave; // 0..255
361 | v1_signed -= 128; // -128..127
362 | v1_signed *= (int16_t)v1_volume; // -16256..16129
363 | v1_signed >>= 7; // -128..127
364 | }
365 |
366 | // voice 2 level accumulator - decay
367 | if (trigger == GATE_OFF) v2.level_acc += (( 0xff - voice_params[V2][DECAY] ) >> 3);
368 | // elapsed time runs from 0 to 127
369 | uint8_t v2_elapsed_time = v2.level_acc >> 9;
370 | if (v2_elapsed_time >= 127) v2.playing = 0; // konec zvuku v tomto pripade
371 | // voice 2 pitch accumulator - pitch
372 | v2.phase_acc += (( voice_params[V2][PITCH] << 4) + 1);
373 | v2.phase_acc += ((127 - v2_elapsed_time) * (voice_params[V2][PITCHENV])) >> 4;
374 | // v2_wave_pointer gives the "time" value for waverenderer
375 | uint16_t v2_wave_pointer = v2.phase_acc >> 8;
376 | v2_wave_pointer &= 0x01ff;
377 |
378 | if (v2.playing) {
379 | // call waverenderer
380 | uint8_t v2_wave = waverender(v2_wave_pointer, voice_params[V2][WAVE]);
381 | // voice 2 volume calculation
382 | uint16_t v2_volume = voice_params[V2][LEVEL]; // 0..255
383 | v2_volume *= (127 - v2_elapsed_time); // 0..32358
384 | v2_volume >>= 8; // 0..126
385 | // voice 2 volume application on wave amplitude
386 | v2_signed = (int16_t)v2_wave; // 0..255
387 | v2_signed -= 128; // -128..127
388 | v2_signed *= (int16_t)v2_volume; // -16256..16129
389 | v2_signed >>= 7; // -128..127
390 | }
391 |
392 | // voice 3 level accumulator - decay
393 | if (trigger == GATE_OFF) v3.level_acc += (( 0xff - voice_params[V3][DECAY] ) >> 3);
394 | // elapsed time runs from 0 to 127
395 | uint8_t v3_elapsed_time = v3.level_acc >> 9;
396 | if (v3_elapsed_time >= 127) v3.playing = 0; // konec zvuku v tomto pripade
397 | // voice 3 pitch accumulator - pitch
398 | v3.phase_acc += (( voice_params[V3][PITCH] << 4) + 1);
399 | v3.phase_acc += ((127 - v3_elapsed_time) * (voice_params[V3][PITCHENV])) >> 4;
400 | // v3_wave_pointer gives the "time" value for waverenderer
401 | uint16_t v3_wave_pointer = v3.phase_acc >> 8;
402 | // end of sound after one amplitude if click mode is on
403 | if (click_mode) {
404 | if (v3_wave_pointer >= 0x01ff) v3.playing = 0;
405 | }
406 |
407 | if (v3.playing) {
408 | v3_wave_pointer &= 0x01ff;
409 | // call waverenderer
410 | uint8_t v3_wave = waverender(v3_wave_pointer, voice_params[V3][WAVE]);
411 | // voice 3 volume calculation
412 | uint16_t v3_volume = voice_params[V3][LEVEL]; // 0..255
413 | v3_volume *= (127 - v3_elapsed_time); // 0..32358
414 | v3_volume >>= 8; // 0..126
415 | // voice 3 volume application on wave amplitude
416 | v3_signed = (int16_t)v3_wave; // 0..255
417 | v3_signed -= 128; // -128..127
418 | v3_signed *= (int16_t)v3_volume; // -16256..16129
419 | v3_signed >>= 7; // -128..127
420 | }
421 |
422 | // mix all voices together
423 | int16_t mix = v1_signed + v2_signed + v3_signed;
424 | if (mix < -127) mix = -127;
425 | if (mix > 127) mix = 127;
426 | mix += 127;
427 | audiodata = mix;
428 | // insert audio data to buffer
429 | ++ buffer.tail;
430 | if (buffer.tail >= SIGNAL_BUFFER_SIZE) buffer.tail = 0;
431 | buffer.data[buffer.tail] = audiodata;
432 | ++ buffer.fill;
433 |
434 | }
435 |
436 | // LEDS output
437 | if (voice == 0) {
438 | PORTD |= (1 << PD1);
439 | PORTD &= ~(1 << PD3);
440 | PORTD &= ~(1 << PD6);
441 | } else if (voice == 1) {
442 | PORTD &= ~(1 << PD1);
443 | PORTD |= (1 << PD3);
444 | PORTD &= ~(1 << PD6);
445 | } else if (voice == 2) {
446 | PORTD &= ~(1 << PD1);
447 | PORTD &= ~(1 << PD3);
448 | PORTD |= (1 << PD6);
449 | }
450 |
451 |
452 | uint8_t waveleds = 0;
453 | static uint8_t last_waveleds = 0;
454 | waveleds = (1 << (5 - (voice_params[voice][WAVE])));
455 | if (waveleds == last_waveleds) {
456 | } else {
457 | PORTB &= ~(0b00111100);
458 | PORTB |= waveleds;
459 | }
460 | last_waveleds = waveleds;
461 |
462 | if ( (v1.playing) || (v2.playing) || (v3.playing) ) {
463 | PORTD |= (1 << PD7);
464 | } else {
465 | PORTD &= ~(1 << PD7);
466 | }
467 |
468 | // scan and process buttons
469 | if (TCNT2 > 195) { // cca 100Hz
470 | TCNT2 = 0;
471 |
472 | if (PINC & (1 << PC0)) {
473 | click_mode = 0;
474 | } else {
475 | click_mode = 1;
476 | }
477 |
478 | buttons.scanned = 0x00;
479 | if (PIND & (1 << PD4)) buttons.scanned |= (BUTTRIG);
480 | if (PINC & (1 << PC1)) buttons.scanned |= (BUTWAVE);
481 | if (PIND & (1 << PD2)) buttons.scanned |= (BUTVOICE1);
482 | if (PIND & (1 << PD5)) buttons.scanned |= (BUTVOICE2);
483 | if (PINB & (1 << PB0)) buttons.scanned |= (BUTVOICE3);
484 |
485 | buttons.scanned ^= 0xff;
486 | buttons.notused |= buttons.scanned & ~(buttons.last);
487 |
488 | uint8_t freshbutt = buttons.scanned & buttons.notused;
489 |
490 | if ( (buttons.scanned & BUTVOICE1) && (buttons.scanned & BUTVOICE3) ) {
491 | if ((buttons.notused & BUTVOICE1) || (buttons.notused & BUTVOICE3)) {
492 | store_to_EEPROM(voice_params);
493 | buttons.notused &= ~(BUTVOICE1);
494 | buttons.notused &= ~(BUTVOICE3);
495 | }
496 | }
497 |
498 | if (freshbutt & BUTTRIG) {
499 | trigger = TRIG_ON;
500 | buttons.notused &= ~(BUTTRIG);
501 | } else if (!(buttons.scanned & BUTTRIG) && (buttons.last & BUTTRIG)) {
502 | trigger = TRIG_OFF;
503 | }
504 | if (freshbutt & BUTVOICE1) {
505 | voice = 0;
506 | buttons.notused &= ~(BUTVOICE1);
507 | }
508 | if (freshbutt & BUTVOICE2) {
509 | voice = 1;
510 | buttons.notused &= ~(BUTVOICE2);
511 | }
512 | if (freshbutt & BUTVOICE3) {
513 | voice = 2;
514 | buttons.notused &= ~(BUTVOICE3);
515 | }
516 | if (freshbutt & BUTWAVE) {
517 | ++ voice_params[voice][WAVE];
518 | if (voice_params[voice][WAVE] > 3) voice_params[voice][WAVE] = 0;
519 | buttons.notused &= ~(BUTWAVE);
520 | }
521 | buttons.last = buttons.scanned;
522 | }
523 |
524 | // read pots
525 | static uint8_t current_pot = 0;
526 | // ADIF is set when previous conversion is complete, so pick conversion result
527 | if (ADCSRA & (1 << ADIF)) {
528 | // clear flag
529 | ADCSRA |= (1 << ADIF);
530 | // read ADC result
531 | pots[current_pot][NEW] = ADCH;
532 |
533 | if (last_voice != voice) {
534 | pots[0][UPDATE] = NOT_ALLOWED;
535 | pots[1][UPDATE] = NOT_ALLOWED;
536 | pots[2][UPDATE] = NOT_ALLOWED;
537 | pots[3][UPDATE] = NOT_ALLOWED;
538 | pots[0][STORE] = pots[0][NEW];
539 | pots[1][STORE] = pots[1][NEW];
540 | pots[2][STORE] = pots[2][NEW];
541 | pots[3][STORE] = pots[3][NEW];
542 | }
543 |
544 | if (pots[current_pot][UPDATE] == NOT_ALLOWED) {
545 | if ( (pots[current_pot][NEW] < (pots[current_pot][STORE]- 6)) ||
546 | (pots[current_pot][NEW] > (pots[current_pot][STORE] + 6)) ) {
547 | pots[current_pot][UPDATE] = ALLOWED;
548 | }
549 | }
550 |
551 | if (pots[current_pot][UPDATE] == ALLOWED) {
552 | voice_params[voice][current_pot] = pots[current_pot][NEW];
553 | }
554 |
555 | last_voice = voice;
556 |
557 | // select new pot for new conversion
558 | ++ current_pot;
559 | current_pot &= 0x03;
560 | ADMUX = current_pot + 2;
561 | ADMUX |= (1<= SIGNAL_BUFFER_SIZE) buffer.head = 0;
579 | OCR1A = buffer.data[buffer.head];
580 | -- buffer.fill;
581 |
582 | static uint8_t triginput = 0;
583 | triginput <<= 1;
584 | if (PIND & (1 << PD0)) {} else {triginput |= 0x01;}
585 | triginput &= 0b11;
586 | if (triginput == 0b01) {
587 | trigger = TRIG_ON;
588 | } else if (triginput == 0b10) {
589 | trigger = TRIG_OFF;
590 | }
591 | }
592 |
--------------------------------------------------------------------------------
/dredrum-KiCad/dredrum.net:
--------------------------------------------------------------------------------
1 | (export (version D)
2 | (design
3 | (source /home/buran/git/dredrum/dredrum-HW/dredrum-KiCad/dredrum.sch)
4 | (date "Sat 09 May 2015 16:42:42 CEST")
5 | (tool "eeschema (2013-05-18 BZR 4017)-stable"))
6 | (components
7 | (comp (ref X?1)
8 | (value 20MHz)
9 | (libsource (lib dredrum-cache) (part XTAL))
10 | (sheetpath (names /) (tstamps /))
11 | (tstamp 5377C860))
12 | (comp (ref U1)
13 | (value ATMEGA48-PA)
14 | (libsource (lib dredrum-cache) (part ATMEGA328-LOG))
15 | (sheetpath (names /) (tstamps /))
16 | (tstamp 5377E048))
17 | (comp (ref T1)
18 | (value BC549)
19 | (libsource (lib dredrum-cache) (part NPN))
20 | (sheetpath (names /) (tstamps /))
21 | (tstamp 5377DC58))
22 | (comp (ref R1)
23 | (value 10k)
24 | (libsource (lib dredrum-cache) (part POT))
25 | (sheetpath (names /) (tstamps /))
26 | (tstamp 5377DD46))
27 | (comp (ref R4)
28 | (value 10k)
29 | (libsource (lib dredrum-cache) (part POT))
30 | (sheetpath (names /) (tstamps /))
31 | (tstamp 5377DD53))
32 | (comp (ref R2)
33 | (value 10k)
34 | (libsource (lib dredrum-cache) (part POT))
35 | (sheetpath (names /) (tstamps /))
36 | (tstamp 5377DD59))
37 | (comp (ref R3)
38 | (value 10k)
39 | (libsource (lib dredrum-cache) (part POT))
40 | (sheetpath (names /) (tstamps /))
41 | (tstamp 5377DD5F))
42 | (comp (ref D1)
43 | (value VOICE1)
44 | (libsource (lib dredrum-cache) (part LED))
45 | (sheetpath (names /) (tstamps /))
46 | (tstamp 5377E3EE))
47 | (comp (ref D2)
48 | (value VOICE2)
49 | (libsource (lib dredrum-cache) (part LED))
50 | (sheetpath (names /) (tstamps /))
51 | (tstamp 5377E405))
52 | (comp (ref D3)
53 | (value VOICE3)
54 | (libsource (lib dredrum-cache) (part LED))
55 | (sheetpath (names /) (tstamps /))
56 | (tstamp 5377E415))
57 | (comp (ref D4)
58 | (value OUTPUT)
59 | (libsource (lib dredrum-cache) (part LED))
60 | (sheetpath (names /) (tstamps /))
61 | (tstamp 5377E41B))
62 | (comp (ref D5)
63 | (value NOISE)
64 | (libsource (lib dredrum-cache) (part LED))
65 | (sheetpath (names /) (tstamps /))
66 | (tstamp 5377E421))
67 | (comp (ref D6)
68 | (value SAW)
69 | (libsource (lib dredrum-cache) (part LED))
70 | (sheetpath (names /) (tstamps /))
71 | (tstamp 5377E427))
72 | (comp (ref D7)
73 | (value SQUARE)
74 | (libsource (lib dredrum-cache) (part LED))
75 | (sheetpath (names /) (tstamps /))
76 | (tstamp 5377E42D))
77 | (comp (ref D8)
78 | (value SINE)
79 | (libsource (lib dredrum-cache) (part LED))
80 | (sheetpath (names /) (tstamps /))
81 | (tstamp 5377E433))
82 | (comp (ref SW1)
83 | (value TRIG)
84 | (libsource (lib dredrum-cache) (part BUTTON))
85 | (sheetpath (names /) (tstamps /))
86 | (tstamp 5377ED1B))
87 | (comp (ref SW2)
88 | (value WAVE)
89 | (libsource (lib dredrum-cache) (part BUTTON))
90 | (sheetpath (names /) (tstamps /))
91 | (tstamp 5377ED7A))
92 | (comp (ref SW3)
93 | (value VOICE2)
94 | (libsource (lib dredrum-cache) (part BUTTON))
95 | (sheetpath (names /) (tstamps /))
96 | (tstamp 5377ED80))
97 | (comp (ref SW4)
98 | (value VOICE1)
99 | (libsource (lib dredrum-cache) (part BUTTON))
100 | (sheetpath (names /) (tstamps /))
101 | (tstamp 5377ED86))
102 | (comp (ref SW5)
103 | (value VOICE3)
104 | (libsource (lib dredrum-cache) (part BUTTON))
105 | (sheetpath (names /) (tstamps /))
106 | (tstamp 5377ED8C))
107 | (comp (ref R10)
108 | (value 16k)
109 | (libsource (lib dredrum-cache) (part R))
110 | (sheetpath (names /) (tstamps /))
111 | (tstamp 5377FA48))
112 | (comp (ref R11)
113 | (value 100k)
114 | (libsource (lib dredrum-cache) (part R))
115 | (sheetpath (names /) (tstamps /))
116 | (tstamp 5377FA55))
117 | (comp (ref R12)
118 | (value 33k)
119 | (libsource (lib dredrum-cache) (part R))
120 | (sheetpath (names /) (tstamps /))
121 | (tstamp 5377FA5B))
122 | (comp (ref C7)
123 | (value 1n)
124 | (libsource (lib dredrum-cache) (part C))
125 | (sheetpath (names /) (tstamps /))
126 | (tstamp 5377FA63))
127 | (comp (ref C8)
128 | (value 100p)
129 | (libsource (lib dredrum-cache) (part C))
130 | (sheetpath (names /) (tstamps /))
131 | (tstamp 5377FA70))
132 | (comp (ref C5)
133 | (value 680p)
134 | (libsource (lib dredrum-cache) (part C))
135 | (sheetpath (names /) (tstamps /))
136 | (tstamp 5377FA76))
137 | (comp (ref U2)
138 | (value MCP6002)
139 | (libsource (lib dredrum-cache) (part OPAMP2))
140 | (sheetpath (names /) (tstamps /))
141 | (tstamp 5377FA7E))
142 | (comp (ref J2)
143 | (value "AUDIO OUT")
144 | (libsource (lib dredrum-cache) (part JACK-F-MONO-SWITCH))
145 | (sheetpath (names /) (tstamps /))
146 | (tstamp 537811AB))
147 | (comp (ref C6)
148 | (value 10u)
149 | (libsource (lib dredrum-cache) (part CE))
150 | (sheetpath (names /) (tstamps /))
151 | (tstamp 537811C9))
152 | (comp (ref R21)
153 | (value 100k)
154 | (libsource (lib dredrum-cache) (part R))
155 | (sheetpath (names /) (tstamps /))
156 | (tstamp 537811D6))
157 | (comp (ref R9)
158 | (value 1M)
159 | (libsource (lib dredrum-cache) (part R))
160 | (sheetpath (names /) (tstamps /))
161 | (tstamp 53781CBC))
162 | (comp (ref R8)
163 | (value 100k)
164 | (libsource (lib dredrum-cache) (part R))
165 | (sheetpath (names /) (tstamps /))
166 | (tstamp 53781CC2))
167 | (comp (ref R7)
168 | (value 10k)
169 | (libsource (lib dredrum-cache) (part R))
170 | (sheetpath (names /) (tstamps /))
171 | (tstamp 53781CC8))
172 | (comp (ref J1)
173 | (value "TRIG IN")
174 | (libsource (lib dredrum-cache) (part JACK-F-MONO-SWITCH))
175 | (sheetpath (names /) (tstamps /))
176 | (tstamp 53782108))
177 | (comp (ref J4)
178 | (value AVRISP6)
179 | (libsource (lib dredrum-cache) (part AVRISP6))
180 | (sheetpath (names /) (tstamps /))
181 | (tstamp 53783A06))
182 | (comp (ref U3)
183 | (value 7805)
184 | (libsource (lib dredrum-cache) (part 7805))
185 | (sheetpath (names /) (tstamps /))
186 | (tstamp 53780062))
187 | (comp (ref C11)
188 | (value 220u)
189 | (libsource (lib dredrum-cache) (part CE))
190 | (sheetpath (names /) (tstamps /))
191 | (tstamp 53780071))
192 | (comp (ref C10)
193 | (value 100n)
194 | (libsource (lib dredrum-cache) (part C))
195 | (sheetpath (names /) (tstamps /))
196 | (tstamp 53780080))
197 | (comp (ref C9)
198 | (value 330n)
199 | (libsource (lib dredrum-cache) (part C))
200 | (sheetpath (names /) (tstamps /))
201 | (tstamp 5378008D))
202 | (comp (ref C12)
203 | (value 100n)
204 | (libsource (lib dredrum-cache) (part C))
205 | (sheetpath (names /) (tstamps /))
206 | (tstamp 53781880))
207 | (comp (ref R13)
208 | (value 1k)
209 | (libsource (lib dredrum-cache) (part R))
210 | (sheetpath (names /) (tstamps /))
211 | (tstamp 53783400))
212 | (comp (ref R14)
213 | (value 1k)
214 | (libsource (lib dredrum-cache) (part R))
215 | (sheetpath (names /) (tstamps /))
216 | (tstamp 53783412))
217 | (comp (ref R15)
218 | (value 1k)
219 | (libsource (lib dredrum-cache) (part R))
220 | (sheetpath (names /) (tstamps /))
221 | (tstamp 53783418))
222 | (comp (ref R16)
223 | (value 1k)
224 | (libsource (lib dredrum-cache) (part R))
225 | (sheetpath (names /) (tstamps /))
226 | (tstamp 5378341E))
227 | (comp (ref R17)
228 | (value 1k)
229 | (libsource (lib dredrum-cache) (part R))
230 | (sheetpath (names /) (tstamps /))
231 | (tstamp 53783424))
232 | (comp (ref R18)
233 | (value 1k)
234 | (libsource (lib dredrum-cache) (part R))
235 | (sheetpath (names /) (tstamps /))
236 | (tstamp 5378342A))
237 | (comp (ref R19)
238 | (value 1k)
239 | (libsource (lib dredrum-cache) (part R))
240 | (sheetpath (names /) (tstamps /))
241 | (tstamp 53783430))
242 | (comp (ref R20)
243 | (value 1k)
244 | (libsource (lib dredrum-cache) (part R))
245 | (sheetpath (names /) (tstamps /))
246 | (tstamp 53783436))
247 | (comp (ref R5)
248 | (value 10k)
249 | (libsource (lib dredrum-cache) (part R))
250 | (sheetpath (names /) (tstamps /))
251 | (tstamp 53906C5A))
252 | (comp (ref C4)
253 | (value 100n)
254 | (libsource (lib dredrum-cache) (part C))
255 | (sheetpath (names /) (tstamps /))
256 | (tstamp 53906C6A))
257 | (comp (ref C3)
258 | (value 100n)
259 | (libsource (lib dredrum-cache) (part C))
260 | (sheetpath (names /) (tstamps /))
261 | (tstamp 53906C93))
262 | (comp (ref C1)
263 | (value 22p)
264 | (libsource (lib dredrum-cache) (part C))
265 | (sheetpath (names /) (tstamps /))
266 | (tstamp 53906CB2))
267 | (comp (ref C2)
268 | (value 22p)
269 | (libsource (lib dredrum-cache) (part C))
270 | (sheetpath (names /) (tstamps /))
271 | (tstamp 53906CD6))
272 | (comp (ref SW6)
273 | (value "CLICK SWITCH")
274 | (libsource (lib dredrum-cache) (part SWITCH))
275 | (sheetpath (names /) (tstamps /))
276 | (tstamp 5390802A))
277 | (comp (ref J5)
278 | (value EURO10pin)
279 | (libsource (lib dredrum-cache) (part EURO10pin))
280 | (sheetpath (names /) (tstamps /))
281 | (tstamp 53932EEC))
282 | (comp (ref D10)
283 | (value 4001)
284 | (libsource (lib dredrum-cache) (part DIODE))
285 | (sheetpath (names /) (tstamps /))
286 | (tstamp 53933C97))
287 | (comp (ref R6)
288 | (value 10k)
289 | (libsource (lib dredrum-cache) (part R))
290 | (sheetpath (names /) (tstamps /))
291 | (tstamp 53A22D9E))
292 | (comp (ref JP1)
293 | (value AC-DC)
294 | (libsource (lib dredrum-cache) (part JUMPER))
295 | (sheetpath (names /) (tstamps /))
296 | (tstamp 53D83D2D)))
297 | (libparts
298 | (libpart (lib dredrum-cache) (part 7805)
299 | (fields
300 | (field (name Reference) U)
301 | (field (name Value) 7805)
302 | (field (name Footprint) ~)
303 | (field (name Datasheet) ~))
304 | (pins
305 | (pin (num 1) (name IN) (type input))
306 | (pin (num 2) (name GND) (type input))
307 | (pin (num 3) (name OUT) (type output))))
308 | (libpart (lib dredrum-cache) (part AVRISP6)
309 | (fields
310 | (field (name Reference) J)
311 | (field (name Value) AVRISP6)
312 | (field (name Footprint) ~)
313 | (field (name Datasheet) ~))
314 | (pins
315 | (pin (num 1) (name MISO) (type passive))
316 | (pin (num 2) (name VCC) (type passive))
317 | (pin (num 3) (name SCK) (type passive))
318 | (pin (num 4) (name MOSI) (type passive))
319 | (pin (num 5) (name RESET) (type passive))
320 | (pin (num 6) (name GND) (type passive))))
321 | (libpart (lib dredrum-cache) (part ATMEGA328-LOG)
322 | (fields
323 | (field (name Reference) U)
324 | (field (name Value) ATMEGA328-LOG)
325 | (field (name Footprint) ~)
326 | (field (name Datasheet) ~))
327 | (pins
328 | (pin (num 1) (name /RESET/PC6) (type 3state))
329 | (pin (num 2) (name PD0/RXD) (type 3state))
330 | (pin (num 3) (name PD1/TXD) (type 3state))
331 | (pin (num 4) (name PD2/INT0) (type 3state))
332 | (pin (num 5) (name PD3/INT1/OC2B) (type 3state))
333 | (pin (num 6) (name PD4/XCK/T0) (type 3state))
334 | (pin (num 7) (name VCC) (type power_in))
335 | (pin (num 8) (name GND) (type power_in))
336 | (pin (num 9) (name XTAL1/PB6) (type BiDi))
337 | (pin (num 10) (name XTAL2/PB7) (type BiDi))
338 | (pin (num 11) (name PD5/OC0B/T1) (type 3state))
339 | (pin (num 12) (name PD6/OC0A/AIN0) (type 3state))
340 | (pin (num 13) (name PD7/AIN1) (type 3state))
341 | (pin (num 14) (name PB0/CLKO/ICP1) (type 3state))
342 | (pin (num 15) (name PB1/OC1A) (type 3state))
343 | (pin (num 16) (name PB2/OC1B/SS) (type 3state))
344 | (pin (num 17) (name PB3/OC2A/MOSI) (type 3state))
345 | (pin (num 18) (name PB4/MISO) (type 3state))
346 | (pin (num 19) (name PB5/SCK) (type 3state))
347 | (pin (num 20) (name AVCC) (type power_in))
348 | (pin (num 21) (name AREF) (type power_in))
349 | (pin (num 22) (name AGND) (type power_in))
350 | (pin (num 23) (name PC0/ADC0) (type 3state))
351 | (pin (num 24) (name PC1/ADC1) (type 3state))
352 | (pin (num 25) (name PC2/ADC2) (type 3state))
353 | (pin (num 26) (name PC3/ADC3) (type 3state))
354 | (pin (num 27) (name PC4/ADC4/SDA) (type 3state))
355 | (pin (num 28) (name PC5/ADC5/SCL) (type 3state))))
356 | (libpart (lib dredrum-cache) (part BUTTON)
357 | (fields
358 | (field (name Reference) SW)
359 | (field (name Value) BUTTON)
360 | (field (name Footprint) ~)
361 | (field (name Datasheet) ~))
362 | (pins
363 | (pin (num 1) (name ~) (type passive))
364 | (pin (num 2) (name ~) (type passive))))
365 | (libpart (lib dredrum-cache) (part C)
366 | (fields
367 | (field (name Reference) C)
368 | (field (name Value) C)
369 | (field (name Footprint) ~)
370 | (field (name Datasheet) ~))
371 | (pins
372 | (pin (num 1) (name ~) (type passive))
373 | (pin (num 2) (name ~) (type passive))))
374 | (libpart (lib dredrum-cache) (part CE)
375 | (fields
376 | (field (name Reference) C)
377 | (field (name Value) CE)
378 | (field (name Footprint) ~)
379 | (field (name Datasheet) ~))
380 | (pins
381 | (pin (num 1) (name ~) (type passive))
382 | (pin (num 2) (name ~) (type passive))))
383 | (libpart (lib dredrum-cache) (part DIODE)
384 | (fields
385 | (field (name Reference) D)
386 | (field (name Value) DIODE)
387 | (field (name Footprint) ~)
388 | (field (name Datasheet) ~))
389 | (pins
390 | (pin (num 1) (name ~) (type passive))
391 | (pin (num 2) (name ~) (type passive))))
392 | (libpart (lib dredrum-cache) (part EURO10pin)
393 | (fields
394 | (field (name Reference) J)
395 | (field (name Value) EURO10pin)
396 | (field (name Footprint) ~)
397 | (field (name Datasheet) ~))
398 | (pins
399 | (pin (num 1) (name +12V) (type input))
400 | (pin (num 2) (name +12V) (type input))
401 | (pin (num 3) (name GND) (type input))
402 | (pin (num 4) (name GND) (type input))
403 | (pin (num 5) (name GND) (type input))
404 | (pin (num 6) (name GND) (type input))
405 | (pin (num 7) (name GND) (type input))
406 | (pin (num 8) (name GND) (type input))
407 | (pin (num 9) (name -12V) (type input))
408 | (pin (num 10) (name -12V) (type input))))
409 | (libpart (lib dredrum-cache) (part JACK-F-MONO-SWITCH)
410 | (fields
411 | (field (name Reference) J)
412 | (field (name Value) JACK-F-MONO-SWITCH)
413 | (field (name Footprint) ~)
414 | (field (name Datasheet) ~))
415 | (pins
416 | (pin (num 1) (name SLEEVE) (type passive))
417 | (pin (num 2) (name SWITCH) (type passive))
418 | (pin (num 3) (name TIP) (type passive))))
419 | (libpart (lib dredrum-cache) (part JUMPER)
420 | (fields
421 | (field (name Reference) JP)
422 | (field (name Value) JUMPER)
423 | (field (name Footprint) ~)
424 | (field (name Datasheet) ~))
425 | (pins
426 | (pin (num 1) (name ~) (type passive))
427 | (pin (num 2) (name ~) (type passive))))
428 | (libpart (lib dredrum-cache) (part LED)
429 | (fields
430 | (field (name Reference) D)
431 | (field (name Value) LED)
432 | (field (name Footprint) ~)
433 | (field (name Datasheet) ~))
434 | (pins
435 | (pin (num 1) (name ~) (type passive))
436 | (pin (num 2) (name ~) (type passive))))
437 | (libpart (lib dredrum-cache) (part NPN)
438 | (fields
439 | (field (name Reference) T)
440 | (field (name Value) NPN)
441 | (field (name Footprint) ~)
442 | (field (name Datasheet) ~))
443 | (pins
444 | (pin (num 1) (name ~) (type input))
445 | (pin (num 2) (name ~) (type input))
446 | (pin (num 3) (name ~) (type output))))
447 | (libpart (lib dredrum-cache) (part OPAMP2)
448 | (fields
449 | (field (name Reference) U)
450 | (field (name Value) OPAMP2)
451 | (field (name Footprint) ~)
452 | (field (name Datasheet) ~))
453 | (pins
454 | (pin (num 1) (name ~) (type output))
455 | (pin (num 2) (name ~) (type input))
456 | (pin (num 3) (name ~) (type input))
457 | (pin (num 4) (name ~) (type power_in))
458 | (pin (num 5) (name ~) (type input))
459 | (pin (num 6) (name ~) (type input))
460 | (pin (num 7) (name ~) (type output))
461 | (pin (num 8) (name ~) (type power_in))))
462 | (libpart (lib dredrum-cache) (part POT)
463 | (fields
464 | (field (name Reference) R)
465 | (field (name Value) POT)
466 | (field (name Footprint) ~)
467 | (field (name Datasheet) ~))
468 | (pins
469 | (pin (num 1) (name ~) (type passive))
470 | (pin (num 2) (name ~) (type passive))
471 | (pin (num 3) (name ~) (type passive))))
472 | (libpart (lib dredrum-cache) (part R)
473 | (fields
474 | (field (name Reference) R)
475 | (field (name Value) R)
476 | (field (name Footprint) ~)
477 | (field (name Datasheet) ~))
478 | (pins
479 | (pin (num 1) (name ~) (type passive))
480 | (pin (num 2) (name ~) (type passive))))
481 | (libpart (lib dredrum-cache) (part SWITCH)
482 | (fields
483 | (field (name Reference) SW)
484 | (field (name Value) SWITCH)
485 | (field (name Footprint) ~)
486 | (field (name Datasheet) ~))
487 | (pins
488 | (pin (num 1) (name ~) (type passive))
489 | (pin (num 2) (name ~) (type passive))
490 | (pin (num 3) (name ~) (type passive))))
491 | (libpart (lib dredrum-cache) (part XTAL)
492 | (fields
493 | (field (name Reference) X?)
494 | (field (name Value) XTAL)
495 | (field (name Footprint) ~)
496 | (field (name Datasheet) ~))
497 | (pins
498 | (pin (num 1) (name ~) (type passive))
499 | (pin (num 2) (name ~) (type passive)))))
500 | (libraries
501 | (library (logical dredrum-cache)
502 | (uri dredrum-cache.lib)))
503 | (nets
504 | (net (code 1) (name "")
505 | (node (ref D4) (pin 2))
506 | (node (ref R16) (pin 1)))
507 | (net (code 2) (name "/AUDIO PWM OUT")
508 | (node (ref U1) (pin 15))
509 | (node (ref R10) (pin 1)))
510 | (net (code 3) (name "")
511 | (node (ref J1) (pin 3))
512 | (node (ref R8) (pin 2)))
513 | (net (code 4) (name VCC)
514 | (node (ref R4) (pin 3))
515 | (node (ref R2) (pin 3))
516 | (node (ref C11) (pin 1))
517 | (node (ref R1) (pin 3))
518 | (node (ref U3) (pin 3))
519 | (node (ref R3) (pin 3))
520 | (node (ref J4) (pin 2))
521 | (node (ref U1) (pin 7))
522 | (node (ref U1) (pin 20))
523 | (node (ref U1) (pin 21))
524 | (node (ref R7) (pin 1))
525 | (node (ref U2) (pin 4))
526 | (node (ref C12) (pin 2))
527 | (node (ref R5) (pin 2))
528 | (node (ref R6) (pin 1))
529 | (node (ref C4) (pin 2))
530 | (node (ref C3) (pin 1))
531 | (node (ref C10) (pin 2)))
532 | (net (code 5) (name "")
533 | (node (ref C9) (pin 2))
534 | (node (ref U3) (pin 1))
535 | (node (ref D10) (pin 2)))
536 | (net (code 6) (name "/AVRISP RESET")
537 | (node (ref J4) (pin 5))
538 | (node (ref U1) (pin 1))
539 | (node (ref R5) (pin 1)))
540 | (net (code 7) (name /POT1)
541 | (node (ref R1) (pin 2))
542 | (node (ref U1) (pin 28)))
543 | (net (code 8) (name /WAVE)
544 | (node (ref U1) (pin 24))
545 | (node (ref SW2) (pin 2)))
546 | (net (code 9) (name /POT4)
547 | (node (ref R4) (pin 2))
548 | (node (ref U1) (pin 25)))
549 | (net (code 10) (name /POT3)
550 | (node (ref R3) (pin 2))
551 | (node (ref U1) (pin 26)))
552 | (net (code 11) (name /POT2)
553 | (node (ref R2) (pin 2))
554 | (node (ref U1) (pin 27)))
555 | (net (code 12) (name /SWCLICK)
556 | (node (ref SW6) (pin 2))
557 | (node (ref U1) (pin 23))
558 | (node (ref R6) (pin 2)))
559 | (net (code 13) (name /LEDVOICE1)
560 | (node (ref U1) (pin 3))
561 | (node (ref D1) (pin 1)))
562 | (net (code 14) (name /LEDNOISE)
563 | (node (ref D5) (pin 1))
564 | (node (ref U1) (pin 16)))
565 | (net (code 15) (name "/AVRISP MOSI")
566 | (node (ref U1) (pin 17))
567 | (node (ref D6) (pin 1))
568 | (node (ref J4) (pin 4)))
569 | (net (code 16) (name "/AVRISP MISO")
570 | (node (ref U1) (pin 18))
571 | (node (ref J4) (pin 1))
572 | (node (ref D7) (pin 1)))
573 | (net (code 17) (name "/AVRISP SCK")
574 | (node (ref D8) (pin 1))
575 | (node (ref J4) (pin 3))
576 | (node (ref U1) (pin 19)))
577 | (net (code 18) (name /LEDOUTPUT)
578 | (node (ref D4) (pin 1))
579 | (node (ref U1) (pin 13)))
580 | (net (code 19) (name /LEDVOICE3)
581 | (node (ref D3) (pin 1))
582 | (node (ref U1) (pin 12)))
583 | (net (code 20) (name /LEDVOICE2)
584 | (node (ref U1) (pin 5))
585 | (node (ref D2) (pin 1)))
586 | (net (code 21) (name "")
587 | (node (ref D10) (pin 1))
588 | (node (ref J5) (pin 2))
589 | (node (ref J5) (pin 1)))
590 | (net (code 22) (name "")
591 | (node (ref J5) (pin 9))
592 | (node (ref J5) (pin 10)))
593 | (net (code 23) (name "")
594 | (node (ref SW6) (pin 1)))
595 | (net (code 24) (name GND)
596 | (node (ref T1) (pin 3))
597 | (node (ref U2) (pin 8))
598 | (node (ref SW5) (pin 1))
599 | (node (ref SW4) (pin 1))
600 | (node (ref SW3) (pin 1))
601 | (node (ref SW2) (pin 1))
602 | (node (ref SW1) (pin 1))
603 | (node (ref R3) (pin 1))
604 | (node (ref R2) (pin 1))
605 | (node (ref R4) (pin 1))
606 | (node (ref R1) (pin 1))
607 | (node (ref J2) (pin 1))
608 | (node (ref R21) (pin 2))
609 | (node (ref C8) (pin 1))
610 | (node (ref R9) (pin 2))
611 | (node (ref C7) (pin 1))
612 | (node (ref U1) (pin 22))
613 | (node (ref U1) (pin 8))
614 | (node (ref R15) (pin 2))
615 | (node (ref R16) (pin 2))
616 | (node (ref R17) (pin 2))
617 | (node (ref R18) (pin 2))
618 | (node (ref R19) (pin 2))
619 | (node (ref C4) (pin 1))
620 | (node (ref R20) (pin 2))
621 | (node (ref R14) (pin 2))
622 | (node (ref J5) (pin 8))
623 | (node (ref J5) (pin 7))
624 | (node (ref C12) (pin 1))
625 | (node (ref J5) (pin 6))
626 | (node (ref U3) (pin 2))
627 | (node (ref J1) (pin 2))
628 | (node (ref C11) (pin 2))
629 | (node (ref C9) (pin 1))
630 | (node (ref C10) (pin 1))
631 | (node (ref C3) (pin 2))
632 | (node (ref J4) (pin 6))
633 | (node (ref R13) (pin 2))
634 | (node (ref J1) (pin 1))
635 | (node (ref J5) (pin 5))
636 | (node (ref C1) (pin 1))
637 | (node (ref J5) (pin 4))
638 | (node (ref J5) (pin 3))
639 | (node (ref C2) (pin 1))
640 | (node (ref SW6) (pin 3)))
641 | (net (code 25) (name "")
642 | (node (ref X?1) (pin 1))
643 | (node (ref C1) (pin 2))
644 | (node (ref U1) (pin 9)))
645 | (net (code 26) (name "")
646 | (node (ref U1) (pin 10))
647 | (node (ref X?1) (pin 2))
648 | (node (ref C2) (pin 2)))
649 | (net (code 27) (name "")
650 | (node (ref R20) (pin 1))
651 | (node (ref D8) (pin 2)))
652 | (net (code 28) (name "")
653 | (node (ref D7) (pin 2))
654 | (node (ref R19) (pin 1)))
655 | (net (code 29) (name "")
656 | (node (ref D6) (pin 2))
657 | (node (ref R18) (pin 1)))
658 | (net (code 30) (name /VOICE3)
659 | (node (ref SW5) (pin 2))
660 | (node (ref U1) (pin 14)))
661 | (net (code 31) (name /VOICE1)
662 | (node (ref SW4) (pin 2))
663 | (node (ref U1) (pin 4)))
664 | (net (code 32) (name /VOICE2)
665 | (node (ref U1) (pin 11))
666 | (node (ref SW3) (pin 2)))
667 | (net (code 33) (name /TRIG)
668 | (node (ref U1) (pin 6))
669 | (node (ref SW1) (pin 2)))
670 | (net (code 34) (name "")
671 | (node (ref D5) (pin 2))
672 | (node (ref R17) (pin 1)))
673 | (net (code 35) (name "")
674 | (node (ref R15) (pin 1))
675 | (node (ref D3) (pin 2)))
676 | (net (code 36) (name "")
677 | (node (ref D2) (pin 2))
678 | (node (ref R14) (pin 1)))
679 | (net (code 37) (name "")
680 | (node (ref D1) (pin 2))
681 | (node (ref R13) (pin 1)))
682 | (net (code 38) (name "")
683 | (node (ref J2) (pin 3))
684 | (node (ref JP1) (pin 2))
685 | (node (ref C6) (pin 2))
686 | (node (ref R21) (pin 1)))
687 | (net (code 39) (name "")
688 | (node (ref J2) (pin 2)))
689 | (net (code 40) (name "")
690 | (node (ref JP1) (pin 1))
691 | (node (ref C6) (pin 1))
692 | (node (ref U2) (pin 2))
693 | (node (ref U2) (pin 1))
694 | (node (ref C5) (pin 2)))
695 | (net (code 41) (name "/TRIGGER INPUT")
696 | (node (ref R7) (pin 2))
697 | (node (ref T1) (pin 1))
698 | (node (ref U1) (pin 2)))
699 | (net (code 42) (name "")
700 | (node (ref R9) (pin 1))
701 | (node (ref T1) (pin 2))
702 | (node (ref R8) (pin 1)))
703 | (net (code 43) (name "")
704 | (node (ref R11) (pin 2))
705 | (node (ref R12) (pin 1))
706 | (node (ref C5) (pin 1)))
707 | (net (code 44) (name "")
708 | (node (ref U2) (pin 3))
709 | (node (ref R12) (pin 2))
710 | (node (ref C8) (pin 2)))
711 | (net (code 45) (name "")
712 | (node (ref C7) (pin 2))
713 | (node (ref R10) (pin 2))
714 | (node (ref R11) (pin 1)))))
--------------------------------------------------------------------------------
/dredrum-KiCad/dredrum.bak:
--------------------------------------------------------------------------------
1 | EESchema Schematic File Version 2
2 | LIBS:dredrum-cache
3 | LIBS:dredrum-cache
4 | EELAYER 27 0
5 | EELAYER END
6 | $Descr User 8268 5906
7 | encoding utf-8
8 | Sheet 1 1
9 | Title "DREDRUM"
10 | Date "20 nov 2014"
11 | Rev "oct2014"
12 | Comp "BURANELECTRIX"
13 | Comment1 ""
14 | Comment2 ""
15 | Comment3 ""
16 | Comment4 ""
17 | $EndDescr
18 | $Comp
19 | L XTAL X?1
20 | U 1 1 5377C860
21 | P 1275 4025
22 | F 0 "X?1" H 1225 4150 30 0001 L CNN
23 | F 1 "20MHz" H 1350 3925 30 0000 R CNN
24 | F 2 "" H 1325 4025 60 0000 C CNN
25 | F 3 "" H 1325 4025 60 0000 C CNN
26 | 1 1275 4025
27 | 1 0 0 -1
28 | $EndComp
29 | $Comp
30 | L ATMEGA328-LOG U1
31 | U 1 1 5377E048
32 | P 2125 4075
33 | F 0 "U1" H 1725 3075 30 0000 C CNN
34 | F 1 "ATMEGA48-PA" H 2375 3075 30 0000 C CNN
35 | F 2 "" H 1325 5725 60 0000 C CNN
36 | F 3 "" H 1325 5725 60 0000 C CNN
37 | 1 2125 4075
38 | 1 0 0 -1
39 | $EndComp
40 | Text Label 1250 4525 0 30 ~ 0
41 | AVRISP RESET
42 | $Comp
43 | L NPN T1
44 | U 1 1 5377DC58
45 | P 2250 1350
46 | F 0 "T1" H 2400 1375 30 0000 C CNN
47 | F 1 "BC549" H 2400 1325 30 0000 C CNN
48 | F 2 "" H 2800 2150 60 0000 C CNN
49 | F 3 "" H 2800 2150 60 0000 C CNN
50 | 1 2250 1350
51 | 1 0 0 -1
52 | $EndComp
53 | $Comp
54 | L POT R1
55 | U 1 1 5377DD46
56 | P 6275 2575
57 | F 0 "R1" H 6200 2575 31 0001 L BNN
58 | F 1 "10k" H 6400 2575 30 0000 L BNN
59 | F 2 "" H 6475 2575 60 0000 C CNN
60 | F 3 "" H 6475 2575 60 0000 C CNN
61 | 1 6275 2575
62 | 1 0 0 -1
63 | $EndComp
64 | $Comp
65 | L POT R4
66 | U 1 1 5377DD53
67 | P 6275 2275
68 | F 0 "R4" H 6200 2250 31 0001 L BNN
69 | F 1 "10k" H 6400 2275 30 0000 L BNN
70 | F 2 "" H 6475 2275 60 0000 C CNN
71 | F 3 "" H 6475 2275 60 0000 C CNN
72 | 1 6275 2275
73 | 1 0 0 -1
74 | $EndComp
75 | $Comp
76 | L POT R2
77 | U 1 1 5377DD59
78 | P 6275 2475
79 | F 0 "R2" H 6200 2450 31 0001 L BNN
80 | F 1 "10k" H 6400 2475 30 0000 L BNN
81 | F 2 "" H 6475 2475 60 0000 C CNN
82 | F 3 "" H 6475 2475 60 0000 C CNN
83 | 1 6275 2475
84 | 1 0 0 -1
85 | $EndComp
86 | $Comp
87 | L POT R3
88 | U 1 1 5377DD5F
89 | P 6275 2375
90 | F 0 "R3" H 6200 2350 31 0001 L BNN
91 | F 1 "10k" H 6400 2375 30 0000 L BNN
92 | F 2 "" H 6475 2375 60 0000 C CNN
93 | F 3 "" H 6475 2375 60 0000 C CNN
94 | 1 6275 2375
95 | 1 0 0 -1
96 | $EndComp
97 | $Comp
98 | L VCC #VCC01
99 | U 1 1 5377E319
100 | P 2250 775
101 | F 0 "#VCC01" H 2250 725 30 0001 C CNN
102 | F 1 "VCC" H 2250 925 30 0000 C CNN
103 | F 2 "" H 2250 775 60 0000 C CNN
104 | F 3 "" H 2250 775 60 0000 C CNN
105 | 1 2250 775
106 | 1 0 0 -1
107 | $EndComp
108 | $Comp
109 | L GND #GND02
110 | U 1 1 5377E378
111 | P 6000 2800
112 | F 0 "#GND02" H 6000 2750 30 0001 C CNN
113 | F 1 "GND" H 6000 2700 30 0001 C CNN
114 | F 2 "" H 6000 2800 60 0000 C CNN
115 | F 3 "" H 6000 2800 60 0000 C CNN
116 | 1 6000 2800
117 | 1 0 0 -1
118 | $EndComp
119 | $Comp
120 | L LED D1
121 | U 1 1 5377E3EE
122 | P 3400 2125
123 | F 0 "D1" H 3300 2150 30 0000 L CNN
124 | F 1 "VOICE1" H 3650 2150 30 0001 R CNN
125 | F 2 "" H 3950 2375 60 0000 C CNN
126 | F 3 "" H 3950 2375 60 0000 C CNN
127 | 1 3400 2125
128 | 1 0 0 -1
129 | $EndComp
130 | $Comp
131 | L LED D2
132 | U 1 1 5377E405
133 | P 3400 2225
134 | F 0 "D2" H 3300 2250 30 0000 L CNN
135 | F 1 "VOICE2" H 3650 2250 30 0001 R CNN
136 | F 2 "" H 3950 2475 60 0000 C CNN
137 | F 3 "" H 3950 2475 60 0000 C CNN
138 | 1 3400 2225
139 | 1 0 0 -1
140 | $EndComp
141 | $Comp
142 | L LED D3
143 | U 1 1 5377E415
144 | P 3400 2325
145 | F 0 "D3" H 3300 2350 30 0000 L CNN
146 | F 1 "VOICE3" H 3650 2350 30 0001 R CNN
147 | F 2 "" H 3950 2575 60 0000 C CNN
148 | F 3 "" H 3950 2575 60 0000 C CNN
149 | 1 3400 2325
150 | 1 0 0 -1
151 | $EndComp
152 | $Comp
153 | L LED D4
154 | U 1 1 5377E41B
155 | P 3400 2425
156 | F 0 "D4" H 3300 2450 30 0000 L CNN
157 | F 1 "OUTPUT" H 3650 2450 30 0001 R CNN
158 | F 2 "" H 3950 2675 60 0000 C CNN
159 | F 3 "" H 3950 2675 60 0000 C CNN
160 | 1 3400 2425
161 | 1 0 0 -1
162 | $EndComp
163 | $Comp
164 | L LED D5
165 | U 1 1 5377E421
166 | P 3400 2525
167 | F 0 "D5" H 3300 2550 30 0000 L CNN
168 | F 1 "NOISE" H 3650 2550 30 0001 R CNN
169 | F 2 "" H 3950 2775 60 0000 C CNN
170 | F 3 "" H 3950 2775 60 0000 C CNN
171 | 1 3400 2525
172 | 1 0 0 -1
173 | $EndComp
174 | $Comp
175 | L LED D6
176 | U 1 1 5377E427
177 | P 3400 2625
178 | F 0 "D6" H 3300 2650 30 0000 L CNN
179 | F 1 "SAW" H 3600 2650 30 0001 R CNN
180 | F 2 "" H 3950 2875 60 0000 C CNN
181 | F 3 "" H 3950 2875 60 0000 C CNN
182 | 1 3400 2625
183 | 1 0 0 -1
184 | $EndComp
185 | $Comp
186 | L LED D7
187 | U 1 1 5377E42D
188 | P 3400 2725
189 | F 0 "D7" H 3300 2750 30 0000 L CNN
190 | F 1 "SQUARE" H 3700 2750 30 0001 R CNN
191 | F 2 "" H 3950 2975 60 0000 C CNN
192 | F 3 "" H 3950 2975 60 0000 C CNN
193 | 1 3400 2725
194 | 1 0 0 -1
195 | $EndComp
196 | $Comp
197 | L LED D8
198 | U 1 1 5377E433
199 | P 3400 2825
200 | F 0 "D8" H 3300 2850 30 0000 L CNN
201 | F 1 "SINE" H 3600 2850 30 0001 R CNN
202 | F 2 "" H 3950 3075 60 0000 C CNN
203 | F 3 "" H 3950 3075 60 0000 C CNN
204 | 1 3400 2825
205 | 1 0 0 -1
206 | $EndComp
207 | $Comp
208 | L GND #GND03
209 | U 1 1 5377E7DF
210 | P 4850 2925
211 | F 0 "#GND03" H 4850 2875 30 0001 C CNN
212 | F 1 "GND" H 4850 2825 30 0001 C CNN
213 | F 2 "" H 4850 2925 60 0000 C CNN
214 | F 3 "" H 4850 2925 60 0000 C CNN
215 | 1 4850 2925
216 | 1 0 0 -1
217 | $EndComp
218 | Wire Wire Line
219 | 1350 4025 1575 4025
220 | Wire Wire Line
221 | 1425 4075 1425 4025
222 | Connection ~ 1425 4025
223 | Wire Wire Line
224 | 1125 3925 1125 4075
225 | Wire Wire Line
226 | 1125 4025 1200 4025
227 | Wire Wire Line
228 | 1125 4225 1125 4175
229 | Wire Wire Line
230 | 1425 4225 1425 4175
231 | Connection ~ 1425 4225
232 | Wire Wire Line
233 | 1575 3925 1125 3925
234 | Connection ~ 1125 4025
235 | Wire Wire Line
236 | 5550 2325 6150 2325
237 | Wire Wire Line
238 | 5550 2425 6150 2425
239 | Wire Wire Line
240 | 5550 2525 6150 2525
241 | Wire Wire Line
242 | 5550 2625 6150 2625
243 | Wire Wire Line
244 | 6000 2275 6150 2275
245 | Wire Wire Line
246 | 6000 2575 6150 2575
247 | Wire Wire Line
248 | 6000 2475 6150 2475
249 | Connection ~ 6000 2475
250 | Wire Wire Line
251 | 6000 2375 6150 2375
252 | Connection ~ 6000 2375
253 | Wire Wire Line
254 | 6400 2275 6550 2275
255 | Wire Wire Line
256 | 6550 2200 6550 2575
257 | Wire Wire Line
258 | 6550 2575 6400 2575
259 | Wire Wire Line
260 | 6400 2475 6550 2475
261 | Connection ~ 6550 2475
262 | Wire Wire Line
263 | 6400 2375 6550 2375
264 | Connection ~ 6550 2375
265 | Connection ~ 6550 2275
266 | Wire Wire Line
267 | 4850 2825 4650 2825
268 | Wire Wire Line
269 | 4850 2725 4400 2725
270 | Wire Wire Line
271 | 4850 2625 4150 2625
272 | Wire Wire Line
273 | 4850 2525 3900 2525
274 | Wire Wire Line
275 | 3550 2425 4400 2425
276 | Wire Wire Line
277 | 4850 2325 4400 2325
278 | Wire Wire Line
279 | 4150 2225 4850 2225
280 | Wire Wire Line
281 | 3900 2125 4850 2125
282 | Wire Wire Line
283 | 5550 2725 7075 2725
284 | $Comp
285 | L BUTTON SW1
286 | U 1 1 5377ED1B
287 | P 1300 2175
288 | F 0 "SW1" H 1200 2200 30 0000 R CNN
289 | F 1 "TRIG" H 1475 2200 30 0000 L CNN
290 | F 2 "" H 1300 2175 60 0000 C CNN
291 | F 3 "" H 1300 2175 60 0000 C CNN
292 | 1 1300 2175
293 | 1 0 0 -1
294 | $EndComp
295 | $Comp
296 | L BUTTON SW2
297 | U 1 1 5377ED7A
298 | P 1300 2375
299 | F 0 "SW2" H 1200 2400 30 0000 R CNN
300 | F 1 "WAVE" H 1475 2400 30 0000 L CNN
301 | F 2 "" H 1300 2375 60 0000 C CNN
302 | F 3 "" H 1300 2375 60 0000 C CNN
303 | 1 1300 2375
304 | 1 0 0 -1
305 | $EndComp
306 | $Comp
307 | L BUTTON SW3
308 | U 1 1 5377ED80
309 | P 1300 2575
310 | F 0 "SW3" H 1200 2600 30 0000 R CNN
311 | F 1 "VOICE2" H 1475 2600 30 0000 L CNN
312 | F 2 "" H 1300 2575 60 0000 C CNN
313 | F 3 "" H 1300 2575 60 0000 C CNN
314 | 1 1300 2575
315 | 1 0 0 -1
316 | $EndComp
317 | $Comp
318 | L BUTTON SW4
319 | U 1 1 5377ED86
320 | P 1300 2475
321 | F 0 "SW4" H 1200 2500 30 0000 R CNN
322 | F 1 "VOICE1" H 1475 2500 30 0000 L CNN
323 | F 2 "" H 1300 2475 60 0000 C CNN
324 | F 3 "" H 1300 2475 60 0000 C CNN
325 | 1 1300 2475
326 | 1 0 0 -1
327 | $EndComp
328 | $Comp
329 | L BUTTON SW5
330 | U 1 1 5377ED8C
331 | P 1300 2675
332 | F 0 "SW5" H 1200 2700 30 0000 R CNN
333 | F 1 "VOICE3" H 1475 2700 30 0000 L CNN
334 | F 2 "" H 1300 2675 60 0000 C CNN
335 | F 3 "" H 1300 2675 60 0000 C CNN
336 | 1 1300 2675
337 | 1 0 0 -1
338 | $EndComp
339 | Wire Wire Line
340 | 1000 2175 1150 2175
341 | Wire Wire Line
342 | 1000 2175 1000 2775
343 | Wire Wire Line
344 | 1000 2675 1150 2675
345 | Wire Wire Line
346 | 1000 2575 1150 2575
347 | Connection ~ 1000 2575
348 | Wire Wire Line
349 | 1000 2475 1150 2475
350 | Connection ~ 1000 2475
351 | Wire Wire Line
352 | 1000 2375 1150 2375
353 | Connection ~ 1000 2375
354 | Wire Wire Line
355 | 1450 2175 2050 2175
356 | Wire Wire Line
357 | 1450 2375 2050 2375
358 | Wire Wire Line
359 | 1450 2475 2050 2475
360 | Wire Wire Line
361 | 1450 2575 2050 2575
362 | Wire Wire Line
363 | 1450 2675 2050 2675
364 | Wire Wire Line
365 | 3550 2125 3650 2125
366 | Wire Wire Line
367 | 3550 2225 3900 2225
368 | Wire Wire Line
369 | 3550 2325 4150 2325
370 | Wire Wire Line
371 | 3550 2525 3650 2525
372 | Wire Wire Line
373 | 3550 2625 3900 2625
374 | Wire Wire Line
375 | 3550 2725 4150 2725
376 | Wire Wire Line
377 | 3550 2825 4400 2825
378 | Text Label 1250 3625 0 30 ~ 0
379 | AVRISP MOSI
380 | Text Label 1250 3725 0 30 ~ 0
381 | AVRISP MISO
382 | Text Label 1275 3825 0 30 ~ 0
383 | AVRISP SCK
384 | $Comp
385 | L R R10
386 | U 1 1 5377FA48
387 | P 4300 1300
388 | F 0 "R10" H 4275 1400 31 0000 L BNN
389 | F 1 "16k" H 4350 1350 31 0000 R BNN
390 | F 2 "" H 4500 1300 60 0000 C CNN
391 | F 3 "" H 4500 1300 60 0000 C CNN
392 | 1 4300 1300
393 | 1 0 0 -1
394 | $EndComp
395 | $Comp
396 | L R R11
397 | U 1 1 5377FA55
398 | P 4650 1300
399 | F 0 "R11" H 4625 1400 31 0000 L BNN
400 | F 1 "100k" H 4700 1350 31 0000 R BNN
401 | F 2 "" H 4850 1300 60 0000 C CNN
402 | F 3 "" H 4850 1300 60 0000 C CNN
403 | 1 4650 1300
404 | 1 0 0 -1
405 | $EndComp
406 | $Comp
407 | L R R12
408 | U 1 1 5377FA5B
409 | P 5000 1300
410 | F 0 "R12" H 4975 1400 31 0000 L BNN
411 | F 1 "33k" H 5050 1350 31 0000 R BNN
412 | F 2 "" H 5200 1300 60 0000 C CNN
413 | F 3 "" H 5200 1300 60 0000 C CNN
414 | 1 5000 1300
415 | 1 0 0 -1
416 | $EndComp
417 | $Comp
418 | L C C7
419 | U 1 1 5377FA63
420 | P 4475 1400
421 | F 0 "C7" V 4500 1525 30 0000 R CNN
422 | F 1 "1n" V 4450 1450 30 0000 L CNN
423 | F 2 "" H 4625 1600 60 0000 C CNN
424 | F 3 "" H 4625 1600 60 0000 C CNN
425 | 1 4475 1400
426 | 0 -1 -1 0
427 | $EndComp
428 | $Comp
429 | L C C8
430 | U 1 1 5377FA70
431 | P 5175 1400
432 | F 0 "C8" V 5200 1525 30 0000 R CNN
433 | F 1 "100p" V 5150 1450 30 0000 L CNN
434 | F 2 "" H 5325 1600 60 0000 C CNN
435 | F 3 "" H 5325 1600 60 0000 C CNN
436 | 1 5175 1400
437 | 0 -1 -1 0
438 | $EndComp
439 | $Comp
440 | L C C5
441 | U 1 1 5377FA76
442 | P 5000 900
443 | F 0 "C5" H 5025 825 30 0000 R CNN
444 | F 1 "680p" H 4950 775 30 0000 L CNN
445 | F 2 "" H 5150 1100 60 0000 C CNN
446 | F 3 "" H 5150 1100 60 0000 C CNN
447 | 1 5000 900
448 | 1 0 0 -1
449 | $EndComp
450 | $Comp
451 | L OPAMP2 U2
452 | U 1 1 5377FA7E
453 | P 5475 1200
454 | F 0 "U2" H 5425 1225 30 0000 C CNN
455 | F 1 "MCP6002" H 5450 1175 30 0000 C CNN
456 | F 2 "" H 5475 1200 60 0000 C CNN
457 | F 3 "" H 5475 1200 60 0000 C CNN
458 | 1 5475 1200
459 | 1 0 0 -1
460 | $EndComp
461 | Wire Wire Line
462 | 5225 1100 5175 1100
463 | Wire Wire Line
464 | 5175 1100 5175 900
465 | Wire Wire Line
466 | 5050 900 5825 900
467 | Wire Wire Line
468 | 5825 900 5825 1200
469 | Wire Wire Line
470 | 5775 1200 6100 1200
471 | Wire Wire Line
472 | 5125 1300 5225 1300
473 | Wire Wire Line
474 | 5175 1350 5175 1300
475 | Connection ~ 5175 1300
476 | Connection ~ 5175 900
477 | Wire Wire Line
478 | 4825 1300 4825 900
479 | Wire Wire Line
480 | 4825 900 4950 900
481 | Wire Wire Line
482 | 4775 1300 4875 1300
483 | Connection ~ 4825 1300
484 | Wire Wire Line
485 | 4425 1300 4525 1300
486 | Wire Wire Line
487 | 4475 1350 4475 1300
488 | Connection ~ 4475 1300
489 | $Comp
490 | L GND #GND04
491 | U 1 1 5377FDA5
492 | P 4475 1550
493 | F 0 "#GND04" H 4475 1500 30 0001 C CNN
494 | F 1 "GND" H 4475 1450 30 0001 C CNN
495 | F 2 "" H 4475 1550 60 0000 C CNN
496 | F 3 "" H 4475 1550 60 0000 C CNN
497 | 1 4475 1550
498 | 1 0 0 -1
499 | $EndComp
500 | $Comp
501 | L GND #GND05
502 | U 1 1 5377FDB2
503 | P 5175 1550
504 | F 0 "#GND05" H 5175 1500 30 0001 C CNN
505 | F 1 "GND" H 5175 1450 30 0001 C CNN
506 | F 2 "" H 5175 1550 60 0000 C CNN
507 | F 3 "" H 5175 1550 60 0000 C CNN
508 | 1 5175 1550
509 | 1 0 0 -1
510 | $EndComp
511 | $Comp
512 | L GND #GND06
513 | U 1 1 5377FDB8
514 | P 5425 1550
515 | F 0 "#GND06" H 5425 1500 30 0001 C CNN
516 | F 1 "GND" H 5425 1450 30 0001 C CNN
517 | F 2 "" H 5425 1550 60 0000 C CNN
518 | F 3 "" H 5425 1550 60 0000 C CNN
519 | 1 5425 1550
520 | 1 0 0 -1
521 | $EndComp
522 | Wire Wire Line
523 | 5425 1450 5425 1550
524 | Wire Wire Line
525 | 5175 1450 5175 1550
526 | Wire Wire Line
527 | 4475 1450 4475 1550
528 | $Comp
529 | L VCC #VCC07
530 | U 1 1 53780008
531 | P 5425 850
532 | F 0 "#VCC07" H 5425 800 30 0001 C CNN
533 | F 1 "VCC" H 5425 1000 30 0000 C CNN
534 | F 2 "" H 5425 850 60 0000 C CNN
535 | F 3 "" H 5425 850 60 0000 C CNN
536 | 1 5425 850
537 | 1 0 0 -1
538 | $EndComp
539 | Connection ~ 5825 1200
540 | $Comp
541 | L GND #GND08
542 | U 1 1 53780187
543 | P 1025 4225
544 | F 0 "#GND08" H 1025 4175 30 0001 C CNN
545 | F 1 "GND" H 1025 4125 30 0001 C CNN
546 | F 2 "" H 1025 4225 60 0000 C CNN
547 | F 3 "" H 1025 4225 60 0000 C CNN
548 | 1 1025 4225
549 | 1 0 0 -1
550 | $EndComp
551 | Wire Wire Line
552 | 1025 4225 1575 4225
553 | Connection ~ 1125 4225
554 | $Comp
555 | L VCC #VCC09
556 | U 1 1 537801FC
557 | P 775 4300
558 | F 0 "#VCC09" H 775 4250 30 0001 C CNN
559 | F 1 "VCC" H 775 4425 30 0000 C CNN
560 | F 2 "" H 775 4300 60 0000 C CNN
561 | F 3 "" H 775 4300 60 0000 C CNN
562 | 1 775 4300
563 | 1 0 0 -1
564 | $EndComp
565 | $Comp
566 | L GND #GND010
567 | U 1 1 53780460
568 | P 1425 5100
569 | F 0 "#GND010" H 1425 5050 30 0001 C CNN
570 | F 1 "GND" H 1425 5000 30 0001 C CNN
571 | F 2 "" H 1425 5100 60 0000 C CNN
572 | F 3 "" H 1425 5100 60 0000 C CNN
573 | 1 1425 5100
574 | 1 0 0 -1
575 | $EndComp
576 | Wire Wire Line
577 | 1425 4925 1425 5100
578 | Wire Wire Line
579 | 1425 4925 1575 4925
580 | Connection ~ 1425 4925
581 | Wire Wire Line
582 | 775 4825 1575 4825
583 | Connection ~ 1425 4825
584 | Wire Wire Line
585 | 1575 4725 1425 4725
586 | Wire Wire Line
587 | 1425 4725 1425 4825
588 | Wire Wire Line
589 | 3750 1300 4175 1300
590 | $Comp
591 | L JACK-F-MONO-SWITCH J2
592 | U 1 1 537811AB
593 | P 7100 1275
594 | F 0 "J2" H 7175 1450 30 0000 C CNN
595 | F 1 "AUDIO OUT" H 7175 1400 30 0000 C CNN
596 | F 2 "" H 6950 1275 60 0000 C CNN
597 | F 3 "" H 6950 1275 60 0000 C CNN
598 | 1 7100 1275
599 | 1 0 0 -1
600 | $EndComp
601 | $Comp
602 | L CE C6
603 | U 1 1 537811C9
604 | P 6150 1200
605 | F 0 "C6" H 6200 1325 30 0000 R CNN
606 | F 1 "10u" H 6125 1275 30 0000 L CNN
607 | F 2 "" H 6300 1400 60 0000 C CNN
608 | F 3 "" H 6300 1400 60 0000 C CNN
609 | 1 6150 1200
610 | 1 0 0 -1
611 | $EndComp
612 | $Comp
613 | L R R21
614 | U 1 1 537811D6
615 | P 6525 1375
616 | F 0 "R21" V 6550 1250 31 0000 L BNN
617 | F 1 "100k" V 6600 1325 31 0000 R BNN
618 | F 2 "" H 6725 1375 60 0000 C CNN
619 | F 3 "" H 6725 1375 60 0000 C CNN
620 | 1 6525 1375
621 | 0 1 1 0
622 | $EndComp
623 | Wire Wire Line
624 | 6525 1200 6525 1250
625 | $Comp
626 | L GND #GND011
627 | U 1 1 537812B3
628 | P 6525 1550
629 | F 0 "#GND011" H 6525 1500 30 0001 C CNN
630 | F 1 "GND" H 6525 1450 30 0001 C CNN
631 | F 2 "" H 6525 1550 60 0000 C CNN
632 | F 3 "" H 6525 1550 60 0000 C CNN
633 | 1 6525 1550
634 | 1 0 0 -1
635 | $EndComp
636 | Wire Wire Line
637 | 6525 1550 6525 1500
638 | Connection ~ 6525 1200
639 | Wire Wire Line
640 | 6800 1350 6750 1350
641 | Wire Wire Line
642 | 6750 1350 6750 1550
643 | $Comp
644 | L GND #GND012
645 | U 1 1 53781618
646 | P 6750 1550
647 | F 0 "#GND012" H 6750 1500 30 0001 C CNN
648 | F 1 "GND" H 6750 1450 30 0001 C CNN
649 | F 2 "" H 6750 1550 60 0000 C CNN
650 | F 3 "" H 6750 1550 60 0000 C CNN
651 | 1 6750 1550
652 | 1 0 0 -1
653 | $EndComp
654 | Wire Wire Line
655 | 775 4325 1575 4325
656 | Connection ~ 1525 4325
657 | Connection ~ 1525 4225
658 | $Comp
659 | L R R9
660 | U 1 1 53781CBC
661 | P 2000 1525
662 | F 0 "R9" V 2025 1400 31 0000 L BNN
663 | F 1 "1M" V 2075 1450 31 0000 R BNN
664 | F 2 "" H 2200 1525 60 0000 C CNN
665 | F 3 "" H 2200 1525 60 0000 C CNN
666 | 1 2000 1525
667 | 0 1 1 0
668 | $EndComp
669 | $Comp
670 | L R R8
671 | U 1 1 53781CC2
672 | P 1825 1350
673 | F 0 "R8" H 1800 1225 31 0000 L BNN
674 | F 1 "100k" H 1875 1275 31 0000 R BNN
675 | F 2 "" H 2025 1350 60 0000 C CNN
676 | F 3 "" H 2025 1350 60 0000 C CNN
677 | 1 1825 1350
678 | -1 0 0 1
679 | $EndComp
680 | $Comp
681 | L R R7
682 | U 1 1 53781CC8
683 | P 2250 950
684 | F 0 "R7" V 2275 825 31 0000 L BNN
685 | F 1 "10k" V 2325 900 31 0000 R BNN
686 | F 2 "" H 2450 950 60 0000 C CNN
687 | F 3 "" H 2450 950 60 0000 C CNN
688 | 1 2250 950
689 | 0 1 1 0
690 | $EndComp
691 | Wire Wire Line
692 | 2250 1075 2250 1175
693 | Wire Wire Line
694 | 1950 1350 2050 1350
695 | Wire Wire Line
696 | 2000 1400 2000 1350
697 | Connection ~ 2000 1350
698 | $Comp
699 | L GND #GND013
700 | U 1 1 53781E45
701 | P 2000 1700
702 | F 0 "#GND013" H 2000 1650 30 0001 C CNN
703 | F 1 "GND" H 2000 1600 30 0001 C CNN
704 | F 2 "" H 2000 1700 60 0000 C CNN
705 | F 3 "" H 2000 1700 60 0000 C CNN
706 | 1 2000 1700
707 | 1 0 0 -1
708 | $EndComp
709 | $Comp
710 | L GND #GND014
711 | U 1 1 53781E4B
712 | P 2250 1700
713 | F 0 "#GND014" H 2250 1650 30 0001 C CNN
714 | F 1 "GND" H 2250 1600 30 0001 C CNN
715 | F 2 "" H 2250 1700 60 0000 C CNN
716 | F 3 "" H 2250 1700 60 0000 C CNN
717 | 1 2250 1700
718 | 1 0 0 -1
719 | $EndComp
720 | Wire Wire Line
721 | 2250 1525 2250 1700
722 | Wire Wire Line
723 | 2000 1650 2000 1700
724 | Wire Wire Line
725 | 2250 1125 2750 1125
726 | Connection ~ 2250 1125
727 | Wire Wire Line
728 | 2250 825 2250 775
729 | $Comp
730 | L JACK-F-MONO-SWITCH J1
731 | U 1 1 53782108
732 | P 1300 1425
733 | F 0 "J1" H 1375 1600 30 0000 C CNN
734 | F 1 "TRIG IN" H 1375 1550 30 0000 C CNN
735 | F 2 "" H 1150 1425 60 0000 C CNN
736 | F 3 "" H 1150 1425 60 0000 C CNN
737 | 1 1300 1425
738 | -1 0 0 -1
739 | $EndComp
740 | $Comp
741 | L GND #GND015
742 | U 1 1 5378210E
743 | P 1650 1700
744 | F 0 "#GND015" H 1650 1650 30 0001 C CNN
745 | F 1 "GND" H 1650 1600 30 0001 C CNN
746 | F 2 "" H 1650 1700 60 0000 C CNN
747 | F 3 "" H 1650 1700 60 0000 C CNN
748 | 1 1650 1700
749 | 1 0 0 -1
750 | $EndComp
751 | Wire Wire Line
752 | 1600 1350 1700 1350
753 | Wire Wire Line
754 | 1600 1500 1650 1500
755 | Wire Wire Line
756 | 1650 1425 1650 1700
757 | Text Label 925 3425 0 30 ~ 0
758 | AUDIO PWM OUT
759 | Text Label 3775 1300 0 30 ~ 0
760 | AUDIO PWM OUT
761 | Text Label 2775 4025 0 30 ~ 0
762 | TRIGGER INPUT
763 | Text Label 2400 1125 0 30 ~ 0
764 | TRIGGER INPUT
765 | $Comp
766 | L VCC #VCC016
767 | U 1 1 53782362
768 | P 6550 2200
769 | F 0 "#VCC016" H 6550 2150 30 0001 C CNN
770 | F 1 "VCC" H 6550 2325 30 0000 C CNN
771 | F 2 "" H 6550 2200 60 0000 C CNN
772 | F 3 "" H 6550 2200 60 0000 C CNN
773 | 1 6550 2200
774 | 1 0 0 -1
775 | $EndComp
776 | Wire Wire Line
777 | 4850 2425 4650 2425
778 | Wire Wire Line
779 | 2675 3825 3125 3825
780 | $Comp
781 | L GND #GND017
782 | U 1 1 537838FF
783 | P 1000 2775
784 | F 0 "#GND017" H 1000 2725 30 0001 C CNN
785 | F 1 "GND" H 1000 2675 30 0001 C CNN
786 | F 2 "" H 1000 2775 60 0000 C CNN
787 | F 3 "" H 1000 2775 60 0000 C CNN
788 | 1 1000 2775
789 | 1 0 0 -1
790 | $EndComp
791 | Connection ~ 1000 2675
792 | $Comp
793 | L AVRISP6 J4
794 | U 1 1 53783A06
795 | P 6850 4275
796 | F 0 "J4" H 6850 4575 30 0000 C CNN
797 | F 1 "AVRISP6" H 6850 4525 30 0000 C CNN
798 | F 2 "" H 6650 4075 60 0000 C CNN
799 | F 3 "" H 6650 4075 60 0000 C CNN
800 | 1 6850 4275
801 | -1 0 0 -1
802 | $EndComp
803 | $Comp
804 | L GND #GND018
805 | U 1 1 53783A2C
806 | P 6550 4475
807 | F 0 "#GND018" H 6550 4425 30 0001 C CNN
808 | F 1 "GND" H 6550 4375 30 0001 C CNN
809 | F 2 "" H 6550 4475 60 0000 C CNN
810 | F 3 "" H 6550 4475 60 0000 C CNN
811 | 1 6550 4475
812 | 1 0 0 -1
813 | $EndComp
814 | $Comp
815 | L VCC #VCC019
816 | U 1 1 53783A32
817 | P 6550 4075
818 | F 0 "#VCC019" H 6550 4025 30 0001 C CNN
819 | F 1 "VCC" H 6550 4200 30 0000 C CNN
820 | F 2 "" H 6550 4075 60 0000 C CNN
821 | F 3 "" H 6550 4075 60 0000 C CNN
822 | 1 6550 4075
823 | 1 0 0 -1
824 | $EndComp
825 | Wire Wire Line
826 | 6550 4075 6550 4125
827 | Wire Wire Line
828 | 6550 4125 6600 4125
829 | Wire Wire Line
830 | 6550 4475 6550 4425
831 | Wire Wire Line
832 | 6550 4425 6600 4425
833 | Wire Wire Line
834 | 7100 4125 7600 4125
835 | Text Label 7275 4125 0 30 ~ 0
836 | AVRISP RESET
837 | Wire Wire Line
838 | 7100 4225 7600 4225
839 | Wire Wire Line
840 | 7100 4325 7600 4325
841 | Wire Wire Line
842 | 7100 4425 7600 4425
843 | Text Label 7275 4425 0 30 ~ 0
844 | AVRISP SCK
845 | Text Label 7275 4325 0 30 ~ 0
846 | AVRISP MISO
847 | Text Label 7275 4225 0 30 ~ 0
848 | AVRISP MOSI
849 | $Comp
850 | L 7805 U3
851 | U 1 1 53780062
852 | P 4975 3525
853 | F 0 "U3" H 4975 3675 60 0000 C CNN
854 | F 1 "7805" H 4975 3525 60 0000 C CNN
855 | F 2 "" H 4975 3525 60 0000 C CNN
856 | F 3 "" H 4975 3525 60 0000 C CNN
857 | 1 4975 3525
858 | 1 0 0 -1
859 | $EndComp
860 | $Comp
861 | L CE C11
862 | U 1 1 53780071
863 | P 5575 3650
864 | F 0 "C11" V 5575 3775 30 0000 R CNN
865 | F 1 "220u" V 5625 3700 30 0000 L CNN
866 | F 2 "" H 5725 3850 60 0000 C CNN
867 | F 3 "" H 5725 3850 60 0000 C CNN
868 | 1 5575 3650
869 | 0 1 1 0
870 | $EndComp
871 | $Comp
872 | L C C10
873 | U 1 1 53780080
874 | P 5275 3575
875 | F 0 "C10" V 5225 3550 30 0000 R CNN
876 | F 1 "100n" V 5175 3450 30 0000 L CNN
877 | F 2 "" H 5425 3775 60 0000 C CNN
878 | F 3 "" H 5425 3775 60 0000 C CNN
879 | 1 5275 3575
880 | 0 -1 -1 0
881 | $EndComp
882 | $Comp
883 | L C C9
884 | U 1 1 5378008D
885 | P 4675 3575
886 | F 0 "C9" V 4625 3700 30 0000 R CNN
887 | F 1 "330n" V 4575 3600 30 0000 L CNN
888 | F 2 "" H 4825 3775 60 0000 C CNN
889 | F 3 "" H 4825 3775 60 0000 C CNN
890 | 1 4675 3575
891 | 0 -1 -1 0
892 | $EndComp
893 | Wire Wire Line
894 | 5275 3475 5275 3525
895 | Wire Wire Line
896 | 4675 3475 4675 3525
897 | Wire Wire Line
898 | 4975 3875 4975 3725
899 | Wire Wire Line
900 | 5575 3475 5575 3600
901 | Connection ~ 5275 3475
902 | Wire Wire Line
903 | 5575 3875 5575 3700
904 | Connection ~ 4975 3875
905 | Connection ~ 4675 3475
906 | Wire Wire Line
907 | 5275 3725 5275 3625
908 | Wire Wire Line
909 | 4675 3725 5275 3725
910 | Wire Wire Line
911 | 4675 3625 4675 3725
912 | Connection ~ 4975 3725
913 | Connection ~ 5575 3875
914 | Connection ~ 5575 3475
915 | $Comp
916 | L GND #GND020
917 | U 1 1 5378084E
918 | P 6050 3925
919 | F 0 "#GND020" H 6050 3875 30 0001 C CNN
920 | F 1 "GND" H 6050 3825 30 0001 C CNN
921 | F 2 "" H 6050 3925 60 0000 C CNN
922 | F 3 "" H 6050 3925 60 0000 C CNN
923 | 1 6050 3925
924 | 1 0 0 -1
925 | $EndComp
926 | $Comp
927 | L VCC #VCC021
928 | U 1 1 53780854
929 | P 6050 3450
930 | F 0 "#VCC021" H 6050 3400 30 0001 C CNN
931 | F 1 "VCC" H 6050 3600 30 0000 C CNN
932 | F 2 "" H 6050 3450 60 0000 C CNN
933 | F 3 "" H 6050 3450 60 0000 C CNN
934 | 1 6050 3450
935 | 1 0 0 -1
936 | $EndComp
937 | Wire Wire Line
938 | 3975 3875 6050 3875
939 | $Comp
940 | L C C12
941 | U 1 1 53781880
942 | P 5850 3650
943 | F 0 "C12" V 5800 3625 30 0000 R CNN
944 | F 1 "100n" V 5750 3525 30 0000 L CNN
945 | F 2 "" H 6000 3850 60 0000 C CNN
946 | F 3 "" H 6000 3850 60 0000 C CNN
947 | 1 5850 3650
948 | 0 -1 -1 0
949 | $EndComp
950 | Wire Wire Line
951 | 5225 3475 6050 3475
952 | Wire Wire Line
953 | 6050 3875 6050 3925
954 | Wire Wire Line
955 | 6050 3475 6050 3450
956 | Wire Wire Line
957 | 5850 3600 5850 3475
958 | Connection ~ 5850 3475
959 | Wire Wire Line
960 | 5850 3700 5850 3875
961 | Connection ~ 5850 3875
962 | Wire Wire Line
963 | 1575 4525 1175 4525
964 | Wire Wire Line
965 | 775 4300 775 4825
966 | Wire Wire Line
967 | 775 4525 925 4525
968 | Connection ~ 775 4325
969 | Connection ~ 775 4525
970 | Wire Wire Line
971 | 4850 2125 4850 2925
972 | Connection ~ 4850 2225
973 | Connection ~ 4850 2325
974 | Connection ~ 4850 2425
975 | Connection ~ 4850 2525
976 | Connection ~ 4850 2625
977 | Connection ~ 4850 2725
978 | Connection ~ 4850 2825
979 | $Comp
980 | L R R13
981 | U 1 1 53783400
982 | P 3775 2125
983 | F 0 "R13" H 3700 2150 31 0000 L BNN
984 | F 1 "1k" H 3800 2100 31 0000 R BNN
985 | F 2 "" H 3975 2125 60 0000 C CNN
986 | F 3 "" H 3975 2125 60 0000 C CNN
987 | 1 3775 2125
988 | 1 0 0 -1
989 | $EndComp
990 | $Comp
991 | L R R14
992 | U 1 1 53783412
993 | P 4025 2225
994 | F 0 "R14" H 3950 2250 31 0000 L BNN
995 | F 1 "1k" H 4050 2200 31 0000 R BNN
996 | F 2 "" H 4225 2225 60 0000 C CNN
997 | F 3 "" H 4225 2225 60 0000 C CNN
998 | 1 4025 2225
999 | 1 0 0 -1
1000 | $EndComp
1001 | $Comp
1002 | L R R15
1003 | U 1 1 53783418
1004 | P 4275 2325
1005 | F 0 "R15" H 4200 2350 31 0000 L BNN
1006 | F 1 "1k" H 4300 2300 31 0000 R BNN
1007 | F 2 "" H 4475 2325 60 0000 C CNN
1008 | F 3 "" H 4475 2325 60 0000 C CNN
1009 | 1 4275 2325
1010 | 1 0 0 -1
1011 | $EndComp
1012 | $Comp
1013 | L R R16
1014 | U 1 1 5378341E
1015 | P 4525 2425
1016 | F 0 "R16" H 4450 2450 31 0000 L BNN
1017 | F 1 "1k" H 4550 2400 31 0000 R BNN
1018 | F 2 "" H 4725 2425 60 0000 C CNN
1019 | F 3 "" H 4725 2425 60 0000 C CNN
1020 | 1 4525 2425
1021 | 1 0 0 -1
1022 | $EndComp
1023 | $Comp
1024 | L R R17
1025 | U 1 1 53783424
1026 | P 3775 2525
1027 | F 0 "R17" H 3700 2550 31 0000 L BNN
1028 | F 1 "1k" H 3800 2500 31 0000 R BNN
1029 | F 2 "" H 3975 2525 60 0000 C CNN
1030 | F 3 "" H 3975 2525 60 0000 C CNN
1031 | 1 3775 2525
1032 | 1 0 0 -1
1033 | $EndComp
1034 | $Comp
1035 | L R R18
1036 | U 1 1 5378342A
1037 | P 4025 2625
1038 | F 0 "R18" H 3950 2650 31 0000 L BNN
1039 | F 1 "1k" H 4050 2600 31 0000 R BNN
1040 | F 2 "" H 4225 2625 60 0000 C CNN
1041 | F 3 "" H 4225 2625 60 0000 C CNN
1042 | 1 4025 2625
1043 | 1 0 0 -1
1044 | $EndComp
1045 | $Comp
1046 | L R R19
1047 | U 1 1 53783430
1048 | P 4275 2725
1049 | F 0 "R19" H 4200 2750 31 0000 L BNN
1050 | F 1 "1k" H 4300 2700 31 0000 R BNN
1051 | F 2 "" H 4475 2725 60 0000 C CNN
1052 | F 3 "" H 4475 2725 60 0000 C CNN
1053 | 1 4275 2725
1054 | 1 0 0 -1
1055 | $EndComp
1056 | $Comp
1057 | L R R20
1058 | U 1 1 53783436
1059 | P 4525 2825
1060 | F 0 "R20" H 4450 2850 31 0000 L BNN
1061 | F 1 "1k" H 4550 2800 31 0000 R BNN
1062 | F 2 "" H 4725 2825 60 0000 C CNN
1063 | F 3 "" H 4725 2825 60 0000 C CNN
1064 | 1 4525 2825
1065 | 1 0 0 -1
1066 | $EndComp
1067 | Wire Wire Line
1068 | 2900 2125 3300 2125
1069 | Wire Wire Line
1070 | 2900 2225 3300 2225
1071 | Wire Wire Line
1072 | 2900 2325 3300 2325
1073 | Wire Wire Line
1074 | 2900 2425 3300 2425
1075 | Wire Wire Line
1076 | 2900 2525 3300 2525
1077 | Wire Wire Line
1078 | 2900 2625 3300 2625
1079 | Wire Wire Line
1080 | 2900 2725 3300 2725
1081 | Wire Wire Line
1082 | 2900 2825 3300 2825
1083 | $Comp
1084 | L R R5
1085 | U 1 1 53906C5A
1086 | P 1050 4525
1087 | F 0 "R5" H 1025 4400 31 0000 L BNN
1088 | F 1 "10k" H 1100 4450 31 0000 R BNN
1089 | F 2 "" H 1250 4525 60 0000 C CNN
1090 | F 3 "" H 1250 4525 60 0000 C CNN
1091 | 1 1050 4525
1092 | -1 0 0 1
1093 | $EndComp
1094 | $Comp
1095 | L C C4
1096 | U 1 1 53906C6A
1097 | P 1425 4875
1098 | F 0 "C4" V 1425 5000 30 0000 R CNN
1099 | F 1 "100n" V 1375 4950 30 0000 L CNN
1100 | F 2 "" H 1575 5075 60 0000 C CNN
1101 | F 3 "" H 1575 5075 60 0000 C CNN
1102 | 1 1425 4875
1103 | 0 -1 -1 0
1104 | $EndComp
1105 | $Comp
1106 | L C C3
1107 | U 1 1 53906C93
1108 | P 1525 4275
1109 | F 0 "C3" V 1425 4300 30 0000 R CNN
1110 | F 1 "100n" V 1375 4200 30 0000 L CNN
1111 | F 2 "" H 1675 4475 60 0000 C CNN
1112 | F 3 "" H 1675 4475 60 0000 C CNN
1113 | 1 1525 4275
1114 | 0 -1 -1 0
1115 | $EndComp
1116 | $Comp
1117 | L C C1
1118 | U 1 1 53906CB2
1119 | P 1125 4125
1120 | F 0 "C1" V 1150 4250 30 0000 R CNN
1121 | F 1 "22p" V 1100 4175 30 0000 L CNN
1122 | F 2 "" H 1275 4325 60 0000 C CNN
1123 | F 3 "" H 1275 4325 60 0000 C CNN
1124 | 1 1125 4125
1125 | 0 -1 -1 0
1126 | $EndComp
1127 | $Comp
1128 | L C C2
1129 | U 1 1 53906CD6
1130 | P 1425 4125
1131 | F 0 "C2" V 1450 4050 30 0000 R CNN
1132 | F 1 "22p" V 1400 3975 30 0000 L CNN
1133 | F 2 "" H 1575 4325 60 0000 C CNN
1134 | F 3 "" H 1575 4325 60 0000 C CNN
1135 | 1 1425 4125
1136 | 0 -1 -1 0
1137 | $EndComp
1138 | $Comp
1139 | L SWITCH SW6
1140 | U 1 1 5390802A
1141 | P 7225 2725
1142 | F 0 "SW6" H 7175 2675 30 0000 R CNN
1143 | F 1 "CLICK SWITCH" H 7275 2825 30 0000 L CNN
1144 | F 2 "" H 7225 2725 60 0000 C CNN
1145 | F 3 "" H 7225 2725 60 0000 C CNN
1146 | 1 7225 2725
1147 | 1 0 0 -1
1148 | $EndComp
1149 | $Comp
1150 | L VCC #VCC022
1151 | U 1 1 53908074
1152 | P 6975 2400
1153 | F 0 "#VCC022" H 6975 2350 30 0001 C CNN
1154 | F 1 "VCC" H 6975 2525 30 0000 C CNN
1155 | F 2 "" H 6975 2400 60 0000 C CNN
1156 | F 3 "" H 6975 2400 60 0000 C CNN
1157 | 1 6975 2400
1158 | 1 0 0 -1
1159 | $EndComp
1160 | $Comp
1161 | L GND #GND023
1162 | U 1 1 5390807F
1163 | P 7500 2800
1164 | F 0 "#GND023" H 7500 2750 30 0001 C CNN
1165 | F 1 "GND" H 7500 2700 30 0001 C CNN
1166 | F 2 "" H 7500 2800 60 0000 C CNN
1167 | F 3 "" H 7500 2800 60 0000 C CNN
1168 | 1 7500 2800
1169 | 1 0 0 -1
1170 | $EndComp
1171 | Wire Wire Line
1172 | 7375 2775 7500 2775
1173 | Wire Wire Line
1174 | 7500 2775 7500 2800
1175 | $Comp
1176 | L EURO10pin J5
1177 | U 1 1 53932EEC
1178 | P 3875 3925
1179 | F 0 "J5" H 3700 4500 30 0000 C CNN
1180 | F 1 "EURO10pin" H 3725 4450 30 0000 C CNN
1181 | F 2 "" H 3875 3925 60 0000 C CNN
1182 | F 3 "" H 3875 3925 60 0000 C CNN
1183 | 1 3875 3925
1184 | 1 0 0 -1
1185 | $EndComp
1186 | Wire Wire Line
1187 | 4075 3675 4075 4175
1188 | Wire Wire Line
1189 | 4075 4175 3975 4175
1190 | Wire Wire Line
1191 | 3975 4075 4075 4075
1192 | Connection ~ 4075 4075
1193 | Wire Wire Line
1194 | 3975 3975 4075 3975
1195 | Connection ~ 4075 3975
1196 | Connection ~ 4075 3875
1197 | Wire Wire Line
1198 | 3975 3775 4075 3775
1199 | Connection ~ 4075 3775
1200 | Wire Wire Line
1201 | 3975 3475 4225 3475
1202 | Wire Wire Line
1203 | 4075 3475 4075 3575
1204 | Wire Wire Line
1205 | 4075 3575 3975 3575
1206 | Wire Wire Line
1207 | 3975 4275 4075 4275
1208 | Wire Wire Line
1209 | 4075 4275 4075 4375
1210 | Wire Wire Line
1211 | 4075 4375 3975 4375
1212 | Connection ~ 4075 3475
1213 | Connection ~ 4375 3875
1214 | Connection ~ 4075 3675
1215 | $Comp
1216 | L DIODE D10
1217 | U 1 1 53933C97
1218 | P 4325 3475
1219 | F 0 "D10" H 4350 3600 30 0000 L CNN
1220 | F 1 "4001" H 4450 3550 30 0000 R CNN
1221 | F 2 "" H 4875 3725 60 0000 C CNN
1222 | F 3 "" H 4875 3725 60 0000 C CNN
1223 | 1 4325 3475
1224 | 1 0 0 -1
1225 | $EndComp
1226 | Wire Wire Line
1227 | 4475 3475 4725 3475
1228 | Wire Wire Line
1229 | 3975 3675 4075 3675
1230 | Wire Wire Line
1231 | 925 3325 1575 3325
1232 | Wire Wire Line
1233 | 1575 3425 925 3425
1234 | Wire Wire Line
1235 | 925 3525 1575 3525
1236 | Wire Wire Line
1237 | 925 3625 1575 3625
1238 | Wire Wire Line
1239 | 925 3725 1575 3725
1240 | Wire Wire Line
1241 | 925 3825 1575 3825
1242 | Wire Wire Line
1243 | 2675 4025 3125 4025
1244 | Wire Wire Line
1245 | 2675 4125 3125 4125
1246 | Wire Wire Line
1247 | 2675 4225 3125 4225
1248 | Wire Wire Line
1249 | 2675 4325 3125 4325
1250 | Wire Wire Line
1251 | 2675 4525 3125 4525
1252 | Wire Wire Line
1253 | 2675 4425 3125 4425
1254 | Wire Wire Line
1255 | 2675 4625 3125 4625
1256 | Wire Wire Line
1257 | 2675 4725 3125 4725
1258 | Text Label 925 3825 0 30 ~ 0
1259 | LEDSINE
1260 | Text Label 2925 2825 0 30 ~ 0
1261 | LEDSINE
1262 | Text Label 925 3725 0 30 ~ 0
1263 | LEDSQUARE
1264 | Text Label 925 3625 0 30 ~ 0
1265 | LEDSAW
1266 | Text Label 925 3525 0 30 ~ 0
1267 | LEDNOISE
1268 | Text Label 2925 2725 0 30 ~ 0
1269 | LEDSQUARE
1270 | Text Label 2925 2625 0 30 ~ 0
1271 | LEDSAW
1272 | Text Label 2925 2525 0 30 ~ 0
1273 | LEDNOISE
1274 | Text Label 5575 2725 0 30 ~ 0
1275 | SWCLICK
1276 | Wire Wire Line
1277 | 2675 3725 3125 3725
1278 | Wire Wire Line
1279 | 2675 3625 3125 3625
1280 | Wire Wire Line
1281 | 2675 3525 3125 3525
1282 | Wire Wire Line
1283 | 2675 3425 3125 3425
1284 | Wire Wire Line
1285 | 2675 3325 3125 3325
1286 | Text Label 5575 2625 0 30 ~ 0
1287 | POT1
1288 | Text Label 5575 2525 0 30 ~ 0
1289 | POT2
1290 | Text Label 5575 2425 0 30 ~ 0
1291 | POT3
1292 | Text Label 5575 2325 0 30 ~ 0
1293 | POT4
1294 | Text Label 2925 3325 0 30 ~ 0
1295 | SWCLICK
1296 | Text Label 3000 3825 0 30 ~ 0
1297 | POT1
1298 | Text Label 3000 3725 0 30 ~ 0
1299 | POT2
1300 | Text Label 3000 3625 0 30 ~ 0
1301 | POT3
1302 | Text Label 3000 3525 0 30 ~ 0
1303 | POT4
1304 | Text Label 1875 2175 0 30 ~ 0
1305 | TRIG
1306 | Text Label 1875 2375 0 30 ~ 0
1307 | WAVE
1308 | Text Label 1875 2475 0 30 ~ 0
1309 | VOICE1
1310 | Text Label 1875 2575 0 30 ~ 0
1311 | VOICE2
1312 | Text Label 1875 2675 0 30 ~ 0
1313 | VOICE3
1314 | Text Label 3000 3425 0 30 ~ 0
1315 | WAVE
1316 | Text Label 2975 2125 0 30 ~ 0
1317 | LEDVOICE1
1318 | Text Label 2975 2225 0 30 ~ 0
1319 | LEDVOICE2
1320 | Text Label 2975 2325 0 30 ~ 0
1321 | LEDVOICE3
1322 | Text Label 2975 2425 0 30 ~ 0
1323 | LEDOUTPUT
1324 | Text Label 2875 4125 0 30 ~ 0
1325 | LEDVOICE1
1326 | Text Label 2875 4325 0 30 ~ 0
1327 | LEDVOICE2
1328 | Text Label 2875 4625 0 30 ~ 0
1329 | LEDVOICE3
1330 | Text Label 2950 4225 0 30 ~ 0
1331 | VOICE1
1332 | Text Label 2950 4525 0 30 ~ 0
1333 | VOICE2
1334 | Text Label 925 3325 0 30 ~ 0
1335 | VOICE3
1336 | Text Label 3000 4425 0 30 ~ 0
1337 | TRIG
1338 | Text Label 2875 4725 0 30 ~ 0
1339 | LEDOUTPUT
1340 | $Comp
1341 | L R R6
1342 | U 1 1 53A22D9E
1343 | P 6975 2525
1344 | F 0 "R6" V 7000 2400 31 0000 L BNN
1345 | F 1 "10k" V 7050 2475 31 0000 R BNN
1346 | F 2 "" H 7175 2525 60 0000 C CNN
1347 | F 3 "" H 7175 2525 60 0000 C CNN
1348 | 1 6975 2525
1349 | 0 1 1 0
1350 | $EndComp
1351 | Wire Wire Line
1352 | 6975 2650 6975 2725
1353 | Connection ~ 6975 2725
1354 | $Comp
1355 | L JUMPER JP1
1356 | U 1 1 53D83D2D
1357 | P 6150 950
1358 | F 0 "JP1" H 6350 1050 30 0000 R CNN
1359 | F 1 "AC-DC" H 6225 1000 30 0000 L CNN
1360 | F 2 "" H 6300 1150 60 0000 C CNN
1361 | F 3 "" H 6300 1150 60 0000 C CNN
1362 | 1 6150 950
1363 | 1 0 0 -1
1364 | $EndComp
1365 | Wire Wire Line
1366 | 6050 950 6000 950
1367 | Wire Wire Line
1368 | 6000 950 6000 1200
1369 | Connection ~ 6000 1200
1370 | Wire Wire Line
1371 | 6250 950 6300 950
1372 | Wire Wire Line
1373 | 6300 950 6300 1200
1374 | Connection ~ 6300 1200
1375 | Wire Wire Line
1376 | 6200 1200 6800 1200
1377 | Wire Wire Line
1378 | 1600 1425 1650 1425
1379 | Connection ~ 1650 1500
1380 | Connection ~ 6000 2575
1381 | Wire Wire Line
1382 | 6000 2275 6000 2800
1383 | Wire Wire Line
1384 | 5425 950 5425 850
1385 | $EndSCHEMATC
1386 |
--------------------------------------------------------------------------------
/dredrum-KiCad/dredrum.sch:
--------------------------------------------------------------------------------
1 | EESchema Schematic File Version 2
2 | LIBS:dredrum-cache
3 | LIBS:dredrum-cache
4 | EELAYER 27 0
5 | EELAYER END
6 | $Descr User 8268 5906
7 | encoding utf-8
8 | Sheet 1 1
9 | Title "DREDRUM"
10 | Date "20 nov 2014"
11 | Rev "oct2014"
12 | Comp "BURANELECTRIX"
13 | Comment1 "this schematic is released under cc-by-sa 3.0 license"
14 | Comment2 ""
15 | Comment3 ""
16 | Comment4 ""
17 | $EndDescr
18 | $Comp
19 | L XTAL X?1
20 | U 1 1 5377C860
21 | P 1275 4025
22 | F 0 "X?1" H 1225 4150 30 0001 L CNN
23 | F 1 "20MHz" H 1350 3925 30 0000 R CNN
24 | F 2 "" H 1325 4025 60 0000 C CNN
25 | F 3 "" H 1325 4025 60 0000 C CNN
26 | 1 1275 4025
27 | 1 0 0 -1
28 | $EndComp
29 | $Comp
30 | L ATMEGA328-LOG U1
31 | U 1 1 5377E048
32 | P 2125 4075
33 | F 0 "U1" H 1725 3075 30 0000 C CNN
34 | F 1 "ATMEGA48-PA" H 2375 3075 30 0000 C CNN
35 | F 2 "" H 1325 5725 60 0000 C CNN
36 | F 3 "" H 1325 5725 60 0000 C CNN
37 | 1 2125 4075
38 | 1 0 0 -1
39 | $EndComp
40 | Text Label 1250 4525 0 30 ~ 0
41 | AVRISP RESET
42 | $Comp
43 | L NPN T1
44 | U 1 1 5377DC58
45 | P 2250 1350
46 | F 0 "T1" H 2400 1375 30 0000 C CNN
47 | F 1 "BC549" H 2400 1325 30 0000 C CNN
48 | F 2 "" H 2800 2150 60 0000 C CNN
49 | F 3 "" H 2800 2150 60 0000 C CNN
50 | 1 2250 1350
51 | 1 0 0 -1
52 | $EndComp
53 | $Comp
54 | L POT R1
55 | U 1 1 5377DD46
56 | P 6275 2575
57 | F 0 "R1" H 6200 2575 31 0001 L BNN
58 | F 1 "10k" H 6400 2575 30 0000 L BNN
59 | F 2 "" H 6475 2575 60 0000 C CNN
60 | F 3 "" H 6475 2575 60 0000 C CNN
61 | 1 6275 2575
62 | 1 0 0 -1
63 | $EndComp
64 | $Comp
65 | L POT R4
66 | U 1 1 5377DD53
67 | P 6275 2275
68 | F 0 "R4" H 6200 2250 31 0001 L BNN
69 | F 1 "10k" H 6400 2275 30 0000 L BNN
70 | F 2 "" H 6475 2275 60 0000 C CNN
71 | F 3 "" H 6475 2275 60 0000 C CNN
72 | 1 6275 2275
73 | 1 0 0 -1
74 | $EndComp
75 | $Comp
76 | L POT R2
77 | U 1 1 5377DD59
78 | P 6275 2475
79 | F 0 "R2" H 6200 2450 31 0001 L BNN
80 | F 1 "10k" H 6400 2475 30 0000 L BNN
81 | F 2 "" H 6475 2475 60 0000 C CNN
82 | F 3 "" H 6475 2475 60 0000 C CNN
83 | 1 6275 2475
84 | 1 0 0 -1
85 | $EndComp
86 | $Comp
87 | L POT R3
88 | U 1 1 5377DD5F
89 | P 6275 2375
90 | F 0 "R3" H 6200 2350 31 0001 L BNN
91 | F 1 "10k" H 6400 2375 30 0000 L BNN
92 | F 2 "" H 6475 2375 60 0000 C CNN
93 | F 3 "" H 6475 2375 60 0000 C CNN
94 | 1 6275 2375
95 | 1 0 0 -1
96 | $EndComp
97 | $Comp
98 | L VCC #VCC01
99 | U 1 1 5377E319
100 | P 2250 775
101 | F 0 "#VCC01" H 2250 725 30 0001 C CNN
102 | F 1 "VCC" H 2250 925 30 0000 C CNN
103 | F 2 "" H 2250 775 60 0000 C CNN
104 | F 3 "" H 2250 775 60 0000 C CNN
105 | 1 2250 775
106 | 1 0 0 -1
107 | $EndComp
108 | $Comp
109 | L GND #GND02
110 | U 1 1 5377E378
111 | P 6000 2800
112 | F 0 "#GND02" H 6000 2750 30 0001 C CNN
113 | F 1 "GND" H 6000 2700 30 0001 C CNN
114 | F 2 "" H 6000 2800 60 0000 C CNN
115 | F 3 "" H 6000 2800 60 0000 C CNN
116 | 1 6000 2800
117 | 1 0 0 -1
118 | $EndComp
119 | $Comp
120 | L LED D1
121 | U 1 1 5377E3EE
122 | P 3400 2125
123 | F 0 "D1" H 3300 2150 30 0000 L CNN
124 | F 1 "VOICE1" H 3650 2150 30 0001 R CNN
125 | F 2 "" H 3950 2375 60 0000 C CNN
126 | F 3 "" H 3950 2375 60 0000 C CNN
127 | 1 3400 2125
128 | 1 0 0 -1
129 | $EndComp
130 | $Comp
131 | L LED D2
132 | U 1 1 5377E405
133 | P 3400 2225
134 | F 0 "D2" H 3300 2250 30 0000 L CNN
135 | F 1 "VOICE2" H 3650 2250 30 0001 R CNN
136 | F 2 "" H 3950 2475 60 0000 C CNN
137 | F 3 "" H 3950 2475 60 0000 C CNN
138 | 1 3400 2225
139 | 1 0 0 -1
140 | $EndComp
141 | $Comp
142 | L LED D3
143 | U 1 1 5377E415
144 | P 3400 2325
145 | F 0 "D3" H 3300 2350 30 0000 L CNN
146 | F 1 "VOICE3" H 3650 2350 30 0001 R CNN
147 | F 2 "" H 3950 2575 60 0000 C CNN
148 | F 3 "" H 3950 2575 60 0000 C CNN
149 | 1 3400 2325
150 | 1 0 0 -1
151 | $EndComp
152 | $Comp
153 | L LED D4
154 | U 1 1 5377E41B
155 | P 3400 2425
156 | F 0 "D4" H 3300 2450 30 0000 L CNN
157 | F 1 "OUTPUT" H 3650 2450 30 0001 R CNN
158 | F 2 "" H 3950 2675 60 0000 C CNN
159 | F 3 "" H 3950 2675 60 0000 C CNN
160 | 1 3400 2425
161 | 1 0 0 -1
162 | $EndComp
163 | $Comp
164 | L LED D5
165 | U 1 1 5377E421
166 | P 3400 2525
167 | F 0 "D5" H 3300 2550 30 0000 L CNN
168 | F 1 "NOISE" H 3650 2550 30 0001 R CNN
169 | F 2 "" H 3950 2775 60 0000 C CNN
170 | F 3 "" H 3950 2775 60 0000 C CNN
171 | 1 3400 2525
172 | 1 0 0 -1
173 | $EndComp
174 | $Comp
175 | L LED D6
176 | U 1 1 5377E427
177 | P 3400 2625
178 | F 0 "D6" H 3300 2650 30 0000 L CNN
179 | F 1 "SAW" H 3600 2650 30 0001 R CNN
180 | F 2 "" H 3950 2875 60 0000 C CNN
181 | F 3 "" H 3950 2875 60 0000 C CNN
182 | 1 3400 2625
183 | 1 0 0 -1
184 | $EndComp
185 | $Comp
186 | L LED D7
187 | U 1 1 5377E42D
188 | P 3400 2725
189 | F 0 "D7" H 3300 2750 30 0000 L CNN
190 | F 1 "SQUARE" H 3700 2750 30 0001 R CNN
191 | F 2 "" H 3950 2975 60 0000 C CNN
192 | F 3 "" H 3950 2975 60 0000 C CNN
193 | 1 3400 2725
194 | 1 0 0 -1
195 | $EndComp
196 | $Comp
197 | L LED D8
198 | U 1 1 5377E433
199 | P 3400 2825
200 | F 0 "D8" H 3300 2850 30 0000 L CNN
201 | F 1 "SINE" H 3600 2850 30 0001 R CNN
202 | F 2 "" H 3950 3075 60 0000 C CNN
203 | F 3 "" H 3950 3075 60 0000 C CNN
204 | 1 3400 2825
205 | 1 0 0 -1
206 | $EndComp
207 | $Comp
208 | L GND #GND03
209 | U 1 1 5377E7DF
210 | P 4850 2925
211 | F 0 "#GND03" H 4850 2875 30 0001 C CNN
212 | F 1 "GND" H 4850 2825 30 0001 C CNN
213 | F 2 "" H 4850 2925 60 0000 C CNN
214 | F 3 "" H 4850 2925 60 0000 C CNN
215 | 1 4850 2925
216 | 1 0 0 -1
217 | $EndComp
218 | Wire Wire Line
219 | 1350 4025 1575 4025
220 | Wire Wire Line
221 | 1425 4075 1425 4025
222 | Connection ~ 1425 4025
223 | Wire Wire Line
224 | 1125 3925 1125 4075
225 | Wire Wire Line
226 | 1125 4025 1200 4025
227 | Wire Wire Line
228 | 1125 4225 1125 4175
229 | Wire Wire Line
230 | 1425 4225 1425 4175
231 | Connection ~ 1425 4225
232 | Wire Wire Line
233 | 1575 3925 1125 3925
234 | Connection ~ 1125 4025
235 | Wire Wire Line
236 | 5550 2325 6150 2325
237 | Wire Wire Line
238 | 5550 2425 6150 2425
239 | Wire Wire Line
240 | 5550 2525 6150 2525
241 | Wire Wire Line
242 | 5550 2625 6150 2625
243 | Wire Wire Line
244 | 6000 2275 6150 2275
245 | Wire Wire Line
246 | 6000 2575 6150 2575
247 | Wire Wire Line
248 | 6000 2475 6150 2475
249 | Connection ~ 6000 2475
250 | Wire Wire Line
251 | 6000 2375 6150 2375
252 | Connection ~ 6000 2375
253 | Wire Wire Line
254 | 6400 2275 6550 2275
255 | Wire Wire Line
256 | 6550 2200 6550 2575
257 | Wire Wire Line
258 | 6550 2575 6400 2575
259 | Wire Wire Line
260 | 6400 2475 6550 2475
261 | Connection ~ 6550 2475
262 | Wire Wire Line
263 | 6400 2375 6550 2375
264 | Connection ~ 6550 2375
265 | Connection ~ 6550 2275
266 | Wire Wire Line
267 | 4850 2825 4650 2825
268 | Wire Wire Line
269 | 4850 2725 4400 2725
270 | Wire Wire Line
271 | 4850 2625 4150 2625
272 | Wire Wire Line
273 | 4850 2525 3900 2525
274 | Wire Wire Line
275 | 3550 2425 4400 2425
276 | Wire Wire Line
277 | 4850 2325 4400 2325
278 | Wire Wire Line
279 | 4150 2225 4850 2225
280 | Wire Wire Line
281 | 3900 2125 4850 2125
282 | Wire Wire Line
283 | 5550 2725 7075 2725
284 | $Comp
285 | L BUTTON SW1
286 | U 1 1 5377ED1B
287 | P 1300 2175
288 | F 0 "SW1" H 1200 2200 30 0000 R CNN
289 | F 1 "TRIG" H 1475 2200 30 0000 L CNN
290 | F 2 "" H 1300 2175 60 0000 C CNN
291 | F 3 "" H 1300 2175 60 0000 C CNN
292 | 1 1300 2175
293 | 1 0 0 -1
294 | $EndComp
295 | $Comp
296 | L BUTTON SW2
297 | U 1 1 5377ED7A
298 | P 1300 2375
299 | F 0 "SW2" H 1200 2400 30 0000 R CNN
300 | F 1 "WAVE" H 1475 2400 30 0000 L CNN
301 | F 2 "" H 1300 2375 60 0000 C CNN
302 | F 3 "" H 1300 2375 60 0000 C CNN
303 | 1 1300 2375
304 | 1 0 0 -1
305 | $EndComp
306 | $Comp
307 | L BUTTON SW3
308 | U 1 1 5377ED80
309 | P 1300 2575
310 | F 0 "SW3" H 1200 2600 30 0000 R CNN
311 | F 1 "VOICE2" H 1475 2600 30 0000 L CNN
312 | F 2 "" H 1300 2575 60 0000 C CNN
313 | F 3 "" H 1300 2575 60 0000 C CNN
314 | 1 1300 2575
315 | 1 0 0 -1
316 | $EndComp
317 | $Comp
318 | L BUTTON SW4
319 | U 1 1 5377ED86
320 | P 1300 2475
321 | F 0 "SW4" H 1200 2500 30 0000 R CNN
322 | F 1 "VOICE1" H 1475 2500 30 0000 L CNN
323 | F 2 "" H 1300 2475 60 0000 C CNN
324 | F 3 "" H 1300 2475 60 0000 C CNN
325 | 1 1300 2475
326 | 1 0 0 -1
327 | $EndComp
328 | $Comp
329 | L BUTTON SW5
330 | U 1 1 5377ED8C
331 | P 1300 2675
332 | F 0 "SW5" H 1200 2700 30 0000 R CNN
333 | F 1 "VOICE3" H 1475 2700 30 0000 L CNN
334 | F 2 "" H 1300 2675 60 0000 C CNN
335 | F 3 "" H 1300 2675 60 0000 C CNN
336 | 1 1300 2675
337 | 1 0 0 -1
338 | $EndComp
339 | Wire Wire Line
340 | 1000 2175 1150 2175
341 | Wire Wire Line
342 | 1000 2175 1000 2775
343 | Wire Wire Line
344 | 1000 2675 1150 2675
345 | Wire Wire Line
346 | 1000 2575 1150 2575
347 | Connection ~ 1000 2575
348 | Wire Wire Line
349 | 1000 2475 1150 2475
350 | Connection ~ 1000 2475
351 | Wire Wire Line
352 | 1000 2375 1150 2375
353 | Connection ~ 1000 2375
354 | Wire Wire Line
355 | 1450 2175 2050 2175
356 | Wire Wire Line
357 | 1450 2375 2050 2375
358 | Wire Wire Line
359 | 1450 2475 2050 2475
360 | Wire Wire Line
361 | 1450 2575 2050 2575
362 | Wire Wire Line
363 | 1450 2675 2050 2675
364 | Wire Wire Line
365 | 3550 2125 3650 2125
366 | Wire Wire Line
367 | 3550 2225 3900 2225
368 | Wire Wire Line
369 | 3550 2325 4150 2325
370 | Wire Wire Line
371 | 3550 2525 3650 2525
372 | Wire Wire Line
373 | 3550 2625 3900 2625
374 | Wire Wire Line
375 | 3550 2725 4150 2725
376 | Wire Wire Line
377 | 3550 2825 4400 2825
378 | Text Label 1250 3625 0 30 ~ 0
379 | AVRISP MOSI
380 | Text Label 1250 3725 0 30 ~ 0
381 | AVRISP MISO
382 | Text Label 1275 3825 0 30 ~ 0
383 | AVRISP SCK
384 | $Comp
385 | L R R10
386 | U 1 1 5377FA48
387 | P 4300 1300
388 | F 0 "R10" H 4275 1400 31 0000 L BNN
389 | F 1 "16k" H 4350 1350 31 0000 R BNN
390 | F 2 "" H 4500 1300 60 0000 C CNN
391 | F 3 "" H 4500 1300 60 0000 C CNN
392 | 1 4300 1300
393 | 1 0 0 -1
394 | $EndComp
395 | $Comp
396 | L R R11
397 | U 1 1 5377FA55
398 | P 4650 1300
399 | F 0 "R11" H 4625 1400 31 0000 L BNN
400 | F 1 "100k" H 4700 1350 31 0000 R BNN
401 | F 2 "" H 4850 1300 60 0000 C CNN
402 | F 3 "" H 4850 1300 60 0000 C CNN
403 | 1 4650 1300
404 | 1 0 0 -1
405 | $EndComp
406 | $Comp
407 | L R R12
408 | U 1 1 5377FA5B
409 | P 5000 1300
410 | F 0 "R12" H 4975 1400 31 0000 L BNN
411 | F 1 "33k" H 5050 1350 31 0000 R BNN
412 | F 2 "" H 5200 1300 60 0000 C CNN
413 | F 3 "" H 5200 1300 60 0000 C CNN
414 | 1 5000 1300
415 | 1 0 0 -1
416 | $EndComp
417 | $Comp
418 | L C C7
419 | U 1 1 5377FA63
420 | P 4475 1400
421 | F 0 "C7" V 4500 1525 30 0000 R CNN
422 | F 1 "1n" V 4450 1450 30 0000 L CNN
423 | F 2 "" H 4625 1600 60 0000 C CNN
424 | F 3 "" H 4625 1600 60 0000 C CNN
425 | 1 4475 1400
426 | 0 -1 -1 0
427 | $EndComp
428 | $Comp
429 | L C C8
430 | U 1 1 5377FA70
431 | P 5175 1400
432 | F 0 "C8" V 5200 1525 30 0000 R CNN
433 | F 1 "100p" V 5150 1450 30 0000 L CNN
434 | F 2 "" H 5325 1600 60 0000 C CNN
435 | F 3 "" H 5325 1600 60 0000 C CNN
436 | 1 5175 1400
437 | 0 -1 -1 0
438 | $EndComp
439 | $Comp
440 | L C C5
441 | U 1 1 5377FA76
442 | P 5000 900
443 | F 0 "C5" H 5025 825 30 0000 R CNN
444 | F 1 "680p" H 4950 775 30 0000 L CNN
445 | F 2 "" H 5150 1100 60 0000 C CNN
446 | F 3 "" H 5150 1100 60 0000 C CNN
447 | 1 5000 900
448 | 1 0 0 -1
449 | $EndComp
450 | $Comp
451 | L OPAMP2 U2
452 | U 1 1 5377FA7E
453 | P 5475 1200
454 | F 0 "U2" H 5425 1225 30 0000 C CNN
455 | F 1 "MCP6002" H 5450 1175 30 0000 C CNN
456 | F 2 "" H 5475 1200 60 0000 C CNN
457 | F 3 "" H 5475 1200 60 0000 C CNN
458 | 1 5475 1200
459 | 1 0 0 -1
460 | $EndComp
461 | Wire Wire Line
462 | 5225 1100 5175 1100
463 | Wire Wire Line
464 | 5175 1100 5175 900
465 | Wire Wire Line
466 | 5050 900 5825 900
467 | Wire Wire Line
468 | 5825 900 5825 1200
469 | Wire Wire Line
470 | 5775 1200 6100 1200
471 | Wire Wire Line
472 | 5125 1300 5225 1300
473 | Wire Wire Line
474 | 5175 1350 5175 1300
475 | Connection ~ 5175 1300
476 | Connection ~ 5175 900
477 | Wire Wire Line
478 | 4825 1300 4825 900
479 | Wire Wire Line
480 | 4825 900 4950 900
481 | Wire Wire Line
482 | 4775 1300 4875 1300
483 | Connection ~ 4825 1300
484 | Wire Wire Line
485 | 4425 1300 4525 1300
486 | Wire Wire Line
487 | 4475 1350 4475 1300
488 | Connection ~ 4475 1300
489 | $Comp
490 | L GND #GND04
491 | U 1 1 5377FDA5
492 | P 4475 1550
493 | F 0 "#GND04" H 4475 1500 30 0001 C CNN
494 | F 1 "GND" H 4475 1450 30 0001 C CNN
495 | F 2 "" H 4475 1550 60 0000 C CNN
496 | F 3 "" H 4475 1550 60 0000 C CNN
497 | 1 4475 1550
498 | 1 0 0 -1
499 | $EndComp
500 | $Comp
501 | L GND #GND05
502 | U 1 1 5377FDB2
503 | P 5175 1550
504 | F 0 "#GND05" H 5175 1500 30 0001 C CNN
505 | F 1 "GND" H 5175 1450 30 0001 C CNN
506 | F 2 "" H 5175 1550 60 0000 C CNN
507 | F 3 "" H 5175 1550 60 0000 C CNN
508 | 1 5175 1550
509 | 1 0 0 -1
510 | $EndComp
511 | $Comp
512 | L GND #GND06
513 | U 1 1 5377FDB8
514 | P 5425 1550
515 | F 0 "#GND06" H 5425 1500 30 0001 C CNN
516 | F 1 "GND" H 5425 1450 30 0001 C CNN
517 | F 2 "" H 5425 1550 60 0000 C CNN
518 | F 3 "" H 5425 1550 60 0000 C CNN
519 | 1 5425 1550
520 | 1 0 0 -1
521 | $EndComp
522 | Wire Wire Line
523 | 5425 1450 5425 1550
524 | Wire Wire Line
525 | 5175 1450 5175 1550
526 | Wire Wire Line
527 | 4475 1450 4475 1550
528 | $Comp
529 | L VCC #VCC07
530 | U 1 1 53780008
531 | P 5425 850
532 | F 0 "#VCC07" H 5425 800 30 0001 C CNN
533 | F 1 "VCC" H 5425 1000 30 0000 C CNN
534 | F 2 "" H 5425 850 60 0000 C CNN
535 | F 3 "" H 5425 850 60 0000 C CNN
536 | 1 5425 850
537 | 1 0 0 -1
538 | $EndComp
539 | Connection ~ 5825 1200
540 | $Comp
541 | L GND #GND08
542 | U 1 1 53780187
543 | P 1025 4225
544 | F 0 "#GND08" H 1025 4175 30 0001 C CNN
545 | F 1 "GND" H 1025 4125 30 0001 C CNN
546 | F 2 "" H 1025 4225 60 0000 C CNN
547 | F 3 "" H 1025 4225 60 0000 C CNN
548 | 1 1025 4225
549 | 1 0 0 -1
550 | $EndComp
551 | Wire Wire Line
552 | 1025 4225 1575 4225
553 | Connection ~ 1125 4225
554 | $Comp
555 | L VCC #VCC09
556 | U 1 1 537801FC
557 | P 775 4300
558 | F 0 "#VCC09" H 775 4250 30 0001 C CNN
559 | F 1 "VCC" H 775 4425 30 0000 C CNN
560 | F 2 "" H 775 4300 60 0000 C CNN
561 | F 3 "" H 775 4300 60 0000 C CNN
562 | 1 775 4300
563 | 1 0 0 -1
564 | $EndComp
565 | $Comp
566 | L GND #GND010
567 | U 1 1 53780460
568 | P 1425 5100
569 | F 0 "#GND010" H 1425 5050 30 0001 C CNN
570 | F 1 "GND" H 1425 5000 30 0001 C CNN
571 | F 2 "" H 1425 5100 60 0000 C CNN
572 | F 3 "" H 1425 5100 60 0000 C CNN
573 | 1 1425 5100
574 | 1 0 0 -1
575 | $EndComp
576 | Wire Wire Line
577 | 1425 4925 1425 5100
578 | Wire Wire Line
579 | 1425 4925 1575 4925
580 | Connection ~ 1425 4925
581 | Wire Wire Line
582 | 775 4825 1575 4825
583 | Connection ~ 1425 4825
584 | Wire Wire Line
585 | 1575 4725 1425 4725
586 | Wire Wire Line
587 | 1425 4725 1425 4825
588 | Wire Wire Line
589 | 3750 1300 4175 1300
590 | $Comp
591 | L JACK-F-MONO-SWITCH J2
592 | U 1 1 537811AB
593 | P 7100 1275
594 | F 0 "J2" H 7175 1450 30 0000 C CNN
595 | F 1 "AUDIO OUT" H 7175 1400 30 0000 C CNN
596 | F 2 "" H 6950 1275 60 0000 C CNN
597 | F 3 "" H 6950 1275 60 0000 C CNN
598 | 1 7100 1275
599 | 1 0 0 -1
600 | $EndComp
601 | $Comp
602 | L CE C6
603 | U 1 1 537811C9
604 | P 6150 1200
605 | F 0 "C6" H 6200 1325 30 0000 R CNN
606 | F 1 "10u" H 6125 1275 30 0000 L CNN
607 | F 2 "" H 6300 1400 60 0000 C CNN
608 | F 3 "" H 6300 1400 60 0000 C CNN
609 | 1 6150 1200
610 | 1 0 0 -1
611 | $EndComp
612 | $Comp
613 | L R R21
614 | U 1 1 537811D6
615 | P 6525 1375
616 | F 0 "R21" V 6550 1250 31 0000 L BNN
617 | F 1 "100k" V 6600 1325 31 0000 R BNN
618 | F 2 "" H 6725 1375 60 0000 C CNN
619 | F 3 "" H 6725 1375 60 0000 C CNN
620 | 1 6525 1375
621 | 0 1 1 0
622 | $EndComp
623 | Wire Wire Line
624 | 6525 1200 6525 1250
625 | $Comp
626 | L GND #GND011
627 | U 1 1 537812B3
628 | P 6525 1550
629 | F 0 "#GND011" H 6525 1500 30 0001 C CNN
630 | F 1 "GND" H 6525 1450 30 0001 C CNN
631 | F 2 "" H 6525 1550 60 0000 C CNN
632 | F 3 "" H 6525 1550 60 0000 C CNN
633 | 1 6525 1550
634 | 1 0 0 -1
635 | $EndComp
636 | Wire Wire Line
637 | 6525 1550 6525 1500
638 | Connection ~ 6525 1200
639 | Wire Wire Line
640 | 6800 1350 6750 1350
641 | Wire Wire Line
642 | 6750 1350 6750 1550
643 | $Comp
644 | L GND #GND012
645 | U 1 1 53781618
646 | P 6750 1550
647 | F 0 "#GND012" H 6750 1500 30 0001 C CNN
648 | F 1 "GND" H 6750 1450 30 0001 C CNN
649 | F 2 "" H 6750 1550 60 0000 C CNN
650 | F 3 "" H 6750 1550 60 0000 C CNN
651 | 1 6750 1550
652 | 1 0 0 -1
653 | $EndComp
654 | Wire Wire Line
655 | 775 4325 1575 4325
656 | Connection ~ 1525 4325
657 | Connection ~ 1525 4225
658 | $Comp
659 | L R R9
660 | U 1 1 53781CBC
661 | P 2000 1525
662 | F 0 "R9" V 2025 1400 31 0000 L BNN
663 | F 1 "1M" V 2075 1450 31 0000 R BNN
664 | F 2 "" H 2200 1525 60 0000 C CNN
665 | F 3 "" H 2200 1525 60 0000 C CNN
666 | 1 2000 1525
667 | 0 1 1 0
668 | $EndComp
669 | $Comp
670 | L R R8
671 | U 1 1 53781CC2
672 | P 1825 1350
673 | F 0 "R8" H 1800 1225 31 0000 L BNN
674 | F 1 "100k" H 1875 1275 31 0000 R BNN
675 | F 2 "" H 2025 1350 60 0000 C CNN
676 | F 3 "" H 2025 1350 60 0000 C CNN
677 | 1 1825 1350
678 | -1 0 0 1
679 | $EndComp
680 | $Comp
681 | L R R7
682 | U 1 1 53781CC8
683 | P 2250 950
684 | F 0 "R7" V 2275 825 31 0000 L BNN
685 | F 1 "10k" V 2325 900 31 0000 R BNN
686 | F 2 "" H 2450 950 60 0000 C CNN
687 | F 3 "" H 2450 950 60 0000 C CNN
688 | 1 2250 950
689 | 0 1 1 0
690 | $EndComp
691 | Wire Wire Line
692 | 2250 1075 2250 1175
693 | Wire Wire Line
694 | 1950 1350 2050 1350
695 | Wire Wire Line
696 | 2000 1400 2000 1350
697 | Connection ~ 2000 1350
698 | $Comp
699 | L GND #GND013
700 | U 1 1 53781E45
701 | P 2000 1700
702 | F 0 "#GND013" H 2000 1650 30 0001 C CNN
703 | F 1 "GND" H 2000 1600 30 0001 C CNN
704 | F 2 "" H 2000 1700 60 0000 C CNN
705 | F 3 "" H 2000 1700 60 0000 C CNN
706 | 1 2000 1700
707 | 1 0 0 -1
708 | $EndComp
709 | $Comp
710 | L GND #GND014
711 | U 1 1 53781E4B
712 | P 2250 1700
713 | F 0 "#GND014" H 2250 1650 30 0001 C CNN
714 | F 1 "GND" H 2250 1600 30 0001 C CNN
715 | F 2 "" H 2250 1700 60 0000 C CNN
716 | F 3 "" H 2250 1700 60 0000 C CNN
717 | 1 2250 1700
718 | 1 0 0 -1
719 | $EndComp
720 | Wire Wire Line
721 | 2250 1525 2250 1700
722 | Wire Wire Line
723 | 2000 1650 2000 1700
724 | Wire Wire Line
725 | 2250 1125 2750 1125
726 | Connection ~ 2250 1125
727 | Wire Wire Line
728 | 2250 825 2250 775
729 | $Comp
730 | L JACK-F-MONO-SWITCH J1
731 | U 1 1 53782108
732 | P 1300 1425
733 | F 0 "J1" H 1375 1600 30 0000 C CNN
734 | F 1 "TRIG IN" H 1375 1550 30 0000 C CNN
735 | F 2 "" H 1150 1425 60 0000 C CNN
736 | F 3 "" H 1150 1425 60 0000 C CNN
737 | 1 1300 1425
738 | -1 0 0 -1
739 | $EndComp
740 | $Comp
741 | L GND #GND015
742 | U 1 1 5378210E
743 | P 1650 1700
744 | F 0 "#GND015" H 1650 1650 30 0001 C CNN
745 | F 1 "GND" H 1650 1600 30 0001 C CNN
746 | F 2 "" H 1650 1700 60 0000 C CNN
747 | F 3 "" H 1650 1700 60 0000 C CNN
748 | 1 1650 1700
749 | 1 0 0 -1
750 | $EndComp
751 | Wire Wire Line
752 | 1600 1350 1700 1350
753 | Wire Wire Line
754 | 1600 1500 1650 1500
755 | Wire Wire Line
756 | 1650 1425 1650 1700
757 | Text Label 925 3425 0 30 ~ 0
758 | AUDIO PWM OUT
759 | Text Label 3775 1300 0 30 ~ 0
760 | AUDIO PWM OUT
761 | Text Label 2775 4025 0 30 ~ 0
762 | TRIGGER INPUT
763 | Text Label 2400 1125 0 30 ~ 0
764 | TRIGGER INPUT
765 | $Comp
766 | L VCC #VCC016
767 | U 1 1 53782362
768 | P 6550 2200
769 | F 0 "#VCC016" H 6550 2150 30 0001 C CNN
770 | F 1 "VCC" H 6550 2325 30 0000 C CNN
771 | F 2 "" H 6550 2200 60 0000 C CNN
772 | F 3 "" H 6550 2200 60 0000 C CNN
773 | 1 6550 2200
774 | 1 0 0 -1
775 | $EndComp
776 | Wire Wire Line
777 | 4850 2425 4650 2425
778 | Wire Wire Line
779 | 2675 3825 3125 3825
780 | $Comp
781 | L GND #GND017
782 | U 1 1 537838FF
783 | P 1000 2775
784 | F 0 "#GND017" H 1000 2725 30 0001 C CNN
785 | F 1 "GND" H 1000 2675 30 0001 C CNN
786 | F 2 "" H 1000 2775 60 0000 C CNN
787 | F 3 "" H 1000 2775 60 0000 C CNN
788 | 1 1000 2775
789 | 1 0 0 -1
790 | $EndComp
791 | Connection ~ 1000 2675
792 | $Comp
793 | L AVRISP6 J4
794 | U 1 1 53783A06
795 | P 6850 4275
796 | F 0 "J4" H 6850 4575 30 0000 C CNN
797 | F 1 "AVRISP6" H 6850 4525 30 0000 C CNN
798 | F 2 "" H 6650 4075 60 0000 C CNN
799 | F 3 "" H 6650 4075 60 0000 C CNN
800 | 1 6850 4275
801 | -1 0 0 -1
802 | $EndComp
803 | $Comp
804 | L GND #GND018
805 | U 1 1 53783A2C
806 | P 6550 4475
807 | F 0 "#GND018" H 6550 4425 30 0001 C CNN
808 | F 1 "GND" H 6550 4375 30 0001 C CNN
809 | F 2 "" H 6550 4475 60 0000 C CNN
810 | F 3 "" H 6550 4475 60 0000 C CNN
811 | 1 6550 4475
812 | 1 0 0 -1
813 | $EndComp
814 | $Comp
815 | L VCC #VCC019
816 | U 1 1 53783A32
817 | P 6550 4075
818 | F 0 "#VCC019" H 6550 4025 30 0001 C CNN
819 | F 1 "VCC" H 6550 4200 30 0000 C CNN
820 | F 2 "" H 6550 4075 60 0000 C CNN
821 | F 3 "" H 6550 4075 60 0000 C CNN
822 | 1 6550 4075
823 | 1 0 0 -1
824 | $EndComp
825 | Wire Wire Line
826 | 6550 4075 6550 4125
827 | Wire Wire Line
828 | 6550 4125 6600 4125
829 | Wire Wire Line
830 | 6550 4475 6550 4425
831 | Wire Wire Line
832 | 6550 4425 6600 4425
833 | Wire Wire Line
834 | 7100 4125 7600 4125
835 | Text Label 7275 4125 0 30 ~ 0
836 | AVRISP RESET
837 | Wire Wire Line
838 | 7100 4225 7600 4225
839 | Wire Wire Line
840 | 7100 4325 7600 4325
841 | Wire Wire Line
842 | 7100 4425 7600 4425
843 | Text Label 7275 4425 0 30 ~ 0
844 | AVRISP SCK
845 | Text Label 7275 4325 0 30 ~ 0
846 | AVRISP MISO
847 | Text Label 7275 4225 0 30 ~ 0
848 | AVRISP MOSI
849 | $Comp
850 | L 7805 U3
851 | U 1 1 53780062
852 | P 4975 3525
853 | F 0 "U3" H 4975 3675 60 0000 C CNN
854 | F 1 "7805" H 4975 3525 60 0000 C CNN
855 | F 2 "" H 4975 3525 60 0000 C CNN
856 | F 3 "" H 4975 3525 60 0000 C CNN
857 | 1 4975 3525
858 | 1 0 0 -1
859 | $EndComp
860 | $Comp
861 | L CE C11
862 | U 1 1 53780071
863 | P 5575 3650
864 | F 0 "C11" V 5575 3775 30 0000 R CNN
865 | F 1 "220u" V 5625 3700 30 0000 L CNN
866 | F 2 "" H 5725 3850 60 0000 C CNN
867 | F 3 "" H 5725 3850 60 0000 C CNN
868 | 1 5575 3650
869 | 0 1 1 0
870 | $EndComp
871 | $Comp
872 | L C C10
873 | U 1 1 53780080
874 | P 5275 3575
875 | F 0 "C10" V 5225 3550 30 0000 R CNN
876 | F 1 "100n" V 5175 3450 30 0000 L CNN
877 | F 2 "" H 5425 3775 60 0000 C CNN
878 | F 3 "" H 5425 3775 60 0000 C CNN
879 | 1 5275 3575
880 | 0 -1 -1 0
881 | $EndComp
882 | $Comp
883 | L C C9
884 | U 1 1 5378008D
885 | P 4675 3575
886 | F 0 "C9" V 4625 3700 30 0000 R CNN
887 | F 1 "330n" V 4575 3600 30 0000 L CNN
888 | F 2 "" H 4825 3775 60 0000 C CNN
889 | F 3 "" H 4825 3775 60 0000 C CNN
890 | 1 4675 3575
891 | 0 -1 -1 0
892 | $EndComp
893 | Wire Wire Line
894 | 5275 3475 5275 3525
895 | Wire Wire Line
896 | 4675 3475 4675 3525
897 | Wire Wire Line
898 | 4975 3875 4975 3725
899 | Wire Wire Line
900 | 5575 3475 5575 3600
901 | Connection ~ 5275 3475
902 | Wire Wire Line
903 | 5575 3875 5575 3700
904 | Connection ~ 4975 3875
905 | Connection ~ 4675 3475
906 | Wire Wire Line
907 | 5275 3725 5275 3625
908 | Wire Wire Line
909 | 4675 3725 5275 3725
910 | Wire Wire Line
911 | 4675 3625 4675 3725
912 | Connection ~ 4975 3725
913 | Connection ~ 5575 3875
914 | Connection ~ 5575 3475
915 | $Comp
916 | L GND #GND020
917 | U 1 1 5378084E
918 | P 6050 3925
919 | F 0 "#GND020" H 6050 3875 30 0001 C CNN
920 | F 1 "GND" H 6050 3825 30 0001 C CNN
921 | F 2 "" H 6050 3925 60 0000 C CNN
922 | F 3 "" H 6050 3925 60 0000 C CNN
923 | 1 6050 3925
924 | 1 0 0 -1
925 | $EndComp
926 | $Comp
927 | L VCC #VCC021
928 | U 1 1 53780854
929 | P 6050 3450
930 | F 0 "#VCC021" H 6050 3400 30 0001 C CNN
931 | F 1 "VCC" H 6050 3600 30 0000 C CNN
932 | F 2 "" H 6050 3450 60 0000 C CNN
933 | F 3 "" H 6050 3450 60 0000 C CNN
934 | 1 6050 3450
935 | 1 0 0 -1
936 | $EndComp
937 | Wire Wire Line
938 | 3975 3875 6050 3875
939 | $Comp
940 | L C C12
941 | U 1 1 53781880
942 | P 5850 3650
943 | F 0 "C12" V 5800 3625 30 0000 R CNN
944 | F 1 "100n" V 5750 3525 30 0000 L CNN
945 | F 2 "" H 6000 3850 60 0000 C CNN
946 | F 3 "" H 6000 3850 60 0000 C CNN
947 | 1 5850 3650
948 | 0 -1 -1 0
949 | $EndComp
950 | Wire Wire Line
951 | 5225 3475 6050 3475
952 | Wire Wire Line
953 | 6050 3875 6050 3925
954 | Wire Wire Line
955 | 6050 3475 6050 3450
956 | Wire Wire Line
957 | 5850 3600 5850 3475
958 | Connection ~ 5850 3475
959 | Wire Wire Line
960 | 5850 3700 5850 3875
961 | Connection ~ 5850 3875
962 | Wire Wire Line
963 | 1575 4525 1175 4525
964 | Wire Wire Line
965 | 775 4300 775 4825
966 | Wire Wire Line
967 | 775 4525 925 4525
968 | Connection ~ 775 4325
969 | Connection ~ 775 4525
970 | Wire Wire Line
971 | 4850 2125 4850 2925
972 | Connection ~ 4850 2225
973 | Connection ~ 4850 2325
974 | Connection ~ 4850 2425
975 | Connection ~ 4850 2525
976 | Connection ~ 4850 2625
977 | Connection ~ 4850 2725
978 | Connection ~ 4850 2825
979 | $Comp
980 | L R R13
981 | U 1 1 53783400
982 | P 3775 2125
983 | F 0 "R13" H 3700 2150 31 0000 L BNN
984 | F 1 "1k" H 3800 2100 31 0000 R BNN
985 | F 2 "" H 3975 2125 60 0000 C CNN
986 | F 3 "" H 3975 2125 60 0000 C CNN
987 | 1 3775 2125
988 | 1 0 0 -1
989 | $EndComp
990 | $Comp
991 | L R R14
992 | U 1 1 53783412
993 | P 4025 2225
994 | F 0 "R14" H 3950 2250 31 0000 L BNN
995 | F 1 "1k" H 4050 2200 31 0000 R BNN
996 | F 2 "" H 4225 2225 60 0000 C CNN
997 | F 3 "" H 4225 2225 60 0000 C CNN
998 | 1 4025 2225
999 | 1 0 0 -1
1000 | $EndComp
1001 | $Comp
1002 | L R R15
1003 | U 1 1 53783418
1004 | P 4275 2325
1005 | F 0 "R15" H 4200 2350 31 0000 L BNN
1006 | F 1 "1k" H 4300 2300 31 0000 R BNN
1007 | F 2 "" H 4475 2325 60 0000 C CNN
1008 | F 3 "" H 4475 2325 60 0000 C CNN
1009 | 1 4275 2325
1010 | 1 0 0 -1
1011 | $EndComp
1012 | $Comp
1013 | L R R16
1014 | U 1 1 5378341E
1015 | P 4525 2425
1016 | F 0 "R16" H 4450 2450 31 0000 L BNN
1017 | F 1 "1k" H 4550 2400 31 0000 R BNN
1018 | F 2 "" H 4725 2425 60 0000 C CNN
1019 | F 3 "" H 4725 2425 60 0000 C CNN
1020 | 1 4525 2425
1021 | 1 0 0 -1
1022 | $EndComp
1023 | $Comp
1024 | L R R17
1025 | U 1 1 53783424
1026 | P 3775 2525
1027 | F 0 "R17" H 3700 2550 31 0000 L BNN
1028 | F 1 "1k" H 3800 2500 31 0000 R BNN
1029 | F 2 "" H 3975 2525 60 0000 C CNN
1030 | F 3 "" H 3975 2525 60 0000 C CNN
1031 | 1 3775 2525
1032 | 1 0 0 -1
1033 | $EndComp
1034 | $Comp
1035 | L R R18
1036 | U 1 1 5378342A
1037 | P 4025 2625
1038 | F 0 "R18" H 3950 2650 31 0000 L BNN
1039 | F 1 "1k" H 4050 2600 31 0000 R BNN
1040 | F 2 "" H 4225 2625 60 0000 C CNN
1041 | F 3 "" H 4225 2625 60 0000 C CNN
1042 | 1 4025 2625
1043 | 1 0 0 -1
1044 | $EndComp
1045 | $Comp
1046 | L R R19
1047 | U 1 1 53783430
1048 | P 4275 2725
1049 | F 0 "R19" H 4200 2750 31 0000 L BNN
1050 | F 1 "1k" H 4300 2700 31 0000 R BNN
1051 | F 2 "" H 4475 2725 60 0000 C CNN
1052 | F 3 "" H 4475 2725 60 0000 C CNN
1053 | 1 4275 2725
1054 | 1 0 0 -1
1055 | $EndComp
1056 | $Comp
1057 | L R R20
1058 | U 1 1 53783436
1059 | P 4525 2825
1060 | F 0 "R20" H 4450 2850 31 0000 L BNN
1061 | F 1 "1k" H 4550 2800 31 0000 R BNN
1062 | F 2 "" H 4725 2825 60 0000 C CNN
1063 | F 3 "" H 4725 2825 60 0000 C CNN
1064 | 1 4525 2825
1065 | 1 0 0 -1
1066 | $EndComp
1067 | Wire Wire Line
1068 | 2900 2125 3300 2125
1069 | Wire Wire Line
1070 | 2900 2225 3300 2225
1071 | Wire Wire Line
1072 | 2900 2325 3300 2325
1073 | Wire Wire Line
1074 | 2900 2425 3300 2425
1075 | Wire Wire Line
1076 | 2900 2525 3300 2525
1077 | Wire Wire Line
1078 | 2900 2625 3300 2625
1079 | Wire Wire Line
1080 | 2900 2725 3300 2725
1081 | Wire Wire Line
1082 | 2900 2825 3300 2825
1083 | $Comp
1084 | L R R5
1085 | U 1 1 53906C5A
1086 | P 1050 4525
1087 | F 0 "R5" H 1025 4400 31 0000 L BNN
1088 | F 1 "10k" H 1100 4450 31 0000 R BNN
1089 | F 2 "" H 1250 4525 60 0000 C CNN
1090 | F 3 "" H 1250 4525 60 0000 C CNN
1091 | 1 1050 4525
1092 | -1 0 0 1
1093 | $EndComp
1094 | $Comp
1095 | L C C4
1096 | U 1 1 53906C6A
1097 | P 1425 4875
1098 | F 0 "C4" V 1425 5000 30 0000 R CNN
1099 | F 1 "100n" V 1375 4950 30 0000 L CNN
1100 | F 2 "" H 1575 5075 60 0000 C CNN
1101 | F 3 "" H 1575 5075 60 0000 C CNN
1102 | 1 1425 4875
1103 | 0 -1 -1 0
1104 | $EndComp
1105 | $Comp
1106 | L C C3
1107 | U 1 1 53906C93
1108 | P 1525 4275
1109 | F 0 "C3" V 1425 4300 30 0000 R CNN
1110 | F 1 "100n" V 1375 4200 30 0000 L CNN
1111 | F 2 "" H 1675 4475 60 0000 C CNN
1112 | F 3 "" H 1675 4475 60 0000 C CNN
1113 | 1 1525 4275
1114 | 0 -1 -1 0
1115 | $EndComp
1116 | $Comp
1117 | L C C1
1118 | U 1 1 53906CB2
1119 | P 1125 4125
1120 | F 0 "C1" V 1150 4250 30 0000 R CNN
1121 | F 1 "22p" V 1100 4175 30 0000 L CNN
1122 | F 2 "" H 1275 4325 60 0000 C CNN
1123 | F 3 "" H 1275 4325 60 0000 C CNN
1124 | 1 1125 4125
1125 | 0 -1 -1 0
1126 | $EndComp
1127 | $Comp
1128 | L C C2
1129 | U 1 1 53906CD6
1130 | P 1425 4125
1131 | F 0 "C2" V 1450 4050 30 0000 R CNN
1132 | F 1 "22p" V 1400 3975 30 0000 L CNN
1133 | F 2 "" H 1575 4325 60 0000 C CNN
1134 | F 3 "" H 1575 4325 60 0000 C CNN
1135 | 1 1425 4125
1136 | 0 -1 -1 0
1137 | $EndComp
1138 | $Comp
1139 | L SWITCH SW6
1140 | U 1 1 5390802A
1141 | P 7225 2725
1142 | F 0 "SW6" H 7175 2675 30 0000 R CNN
1143 | F 1 "CLICK SWITCH" H 7275 2825 30 0000 L CNN
1144 | F 2 "" H 7225 2725 60 0000 C CNN
1145 | F 3 "" H 7225 2725 60 0000 C CNN
1146 | 1 7225 2725
1147 | 1 0 0 -1
1148 | $EndComp
1149 | $Comp
1150 | L VCC #VCC022
1151 | U 1 1 53908074
1152 | P 6975 2400
1153 | F 0 "#VCC022" H 6975 2350 30 0001 C CNN
1154 | F 1 "VCC" H 6975 2525 30 0000 C CNN
1155 | F 2 "" H 6975 2400 60 0000 C CNN
1156 | F 3 "" H 6975 2400 60 0000 C CNN
1157 | 1 6975 2400
1158 | 1 0 0 -1
1159 | $EndComp
1160 | $Comp
1161 | L GND #GND023
1162 | U 1 1 5390807F
1163 | P 7500 2800
1164 | F 0 "#GND023" H 7500 2750 30 0001 C CNN
1165 | F 1 "GND" H 7500 2700 30 0001 C CNN
1166 | F 2 "" H 7500 2800 60 0000 C CNN
1167 | F 3 "" H 7500 2800 60 0000 C CNN
1168 | 1 7500 2800
1169 | 1 0 0 -1
1170 | $EndComp
1171 | Wire Wire Line
1172 | 7375 2775 7500 2775
1173 | Wire Wire Line
1174 | 7500 2775 7500 2800
1175 | $Comp
1176 | L EURO10pin J5
1177 | U 1 1 53932EEC
1178 | P 3875 3925
1179 | F 0 "J5" H 3700 4500 30 0000 C CNN
1180 | F 1 "EURO10pin" H 3725 4450 30 0000 C CNN
1181 | F 2 "" H 3875 3925 60 0000 C CNN
1182 | F 3 "" H 3875 3925 60 0000 C CNN
1183 | 1 3875 3925
1184 | 1 0 0 -1
1185 | $EndComp
1186 | Wire Wire Line
1187 | 4075 3675 4075 4175
1188 | Wire Wire Line
1189 | 4075 4175 3975 4175
1190 | Wire Wire Line
1191 | 3975 4075 4075 4075
1192 | Connection ~ 4075 4075
1193 | Wire Wire Line
1194 | 3975 3975 4075 3975
1195 | Connection ~ 4075 3975
1196 | Connection ~ 4075 3875
1197 | Wire Wire Line
1198 | 3975 3775 4075 3775
1199 | Connection ~ 4075 3775
1200 | Wire Wire Line
1201 | 3975 3475 4225 3475
1202 | Wire Wire Line
1203 | 4075 3475 4075 3575
1204 | Wire Wire Line
1205 | 4075 3575 3975 3575
1206 | Wire Wire Line
1207 | 3975 4275 4075 4275
1208 | Wire Wire Line
1209 | 4075 4275 4075 4375
1210 | Wire Wire Line
1211 | 4075 4375 3975 4375
1212 | Connection ~ 4075 3475
1213 | Connection ~ 4375 3875
1214 | Connection ~ 4075 3675
1215 | $Comp
1216 | L DIODE D10
1217 | U 1 1 53933C97
1218 | P 4325 3475
1219 | F 0 "D10" H 4350 3600 30 0000 L CNN
1220 | F 1 "4001" H 4450 3550 30 0000 R CNN
1221 | F 2 "" H 4875 3725 60 0000 C CNN
1222 | F 3 "" H 4875 3725 60 0000 C CNN
1223 | 1 4325 3475
1224 | 1 0 0 -1
1225 | $EndComp
1226 | Wire Wire Line
1227 | 4475 3475 4725 3475
1228 | Wire Wire Line
1229 | 3975 3675 4075 3675
1230 | Wire Wire Line
1231 | 925 3325 1575 3325
1232 | Wire Wire Line
1233 | 1575 3425 925 3425
1234 | Wire Wire Line
1235 | 925 3525 1575 3525
1236 | Wire Wire Line
1237 | 925 3625 1575 3625
1238 | Wire Wire Line
1239 | 925 3725 1575 3725
1240 | Wire Wire Line
1241 | 925 3825 1575 3825
1242 | Wire Wire Line
1243 | 2675 4025 3125 4025
1244 | Wire Wire Line
1245 | 2675 4125 3125 4125
1246 | Wire Wire Line
1247 | 2675 4225 3125 4225
1248 | Wire Wire Line
1249 | 2675 4325 3125 4325
1250 | Wire Wire Line
1251 | 2675 4525 3125 4525
1252 | Wire Wire Line
1253 | 2675 4425 3125 4425
1254 | Wire Wire Line
1255 | 2675 4625 3125 4625
1256 | Wire Wire Line
1257 | 2675 4725 3125 4725
1258 | Text Label 925 3825 0 30 ~ 0
1259 | LEDSINE
1260 | Text Label 2925 2825 0 30 ~ 0
1261 | LEDSINE
1262 | Text Label 925 3725 0 30 ~ 0
1263 | LEDSQUARE
1264 | Text Label 925 3625 0 30 ~ 0
1265 | LEDSAW
1266 | Text Label 925 3525 0 30 ~ 0
1267 | LEDNOISE
1268 | Text Label 2925 2725 0 30 ~ 0
1269 | LEDSQUARE
1270 | Text Label 2925 2625 0 30 ~ 0
1271 | LEDSAW
1272 | Text Label 2925 2525 0 30 ~ 0
1273 | LEDNOISE
1274 | Text Label 5575 2725 0 30 ~ 0
1275 | SWCLICK
1276 | Wire Wire Line
1277 | 2675 3725 3125 3725
1278 | Wire Wire Line
1279 | 2675 3625 3125 3625
1280 | Wire Wire Line
1281 | 2675 3525 3125 3525
1282 | Wire Wire Line
1283 | 2675 3425 3125 3425
1284 | Wire Wire Line
1285 | 2675 3325 3125 3325
1286 | Text Label 5575 2625 0 30 ~ 0
1287 | POT1
1288 | Text Label 5575 2525 0 30 ~ 0
1289 | POT2
1290 | Text Label 5575 2425 0 30 ~ 0
1291 | POT3
1292 | Text Label 5575 2325 0 30 ~ 0
1293 | POT4
1294 | Text Label 2925 3325 0 30 ~ 0
1295 | SWCLICK
1296 | Text Label 3000 3825 0 30 ~ 0
1297 | POT1
1298 | Text Label 3000 3725 0 30 ~ 0
1299 | POT2
1300 | Text Label 3000 3625 0 30 ~ 0
1301 | POT3
1302 | Text Label 3000 3525 0 30 ~ 0
1303 | POT4
1304 | Text Label 1875 2175 0 30 ~ 0
1305 | TRIG
1306 | Text Label 1875 2375 0 30 ~ 0
1307 | WAVE
1308 | Text Label 1875 2475 0 30 ~ 0
1309 | VOICE1
1310 | Text Label 1875 2575 0 30 ~ 0
1311 | VOICE2
1312 | Text Label 1875 2675 0 30 ~ 0
1313 | VOICE3
1314 | Text Label 3000 3425 0 30 ~ 0
1315 | WAVE
1316 | Text Label 2975 2125 0 30 ~ 0
1317 | LEDVOICE1
1318 | Text Label 2975 2225 0 30 ~ 0
1319 | LEDVOICE2
1320 | Text Label 2975 2325 0 30 ~ 0
1321 | LEDVOICE3
1322 | Text Label 2975 2425 0 30 ~ 0
1323 | LEDOUTPUT
1324 | Text Label 2875 4125 0 30 ~ 0
1325 | LEDVOICE1
1326 | Text Label 2875 4325 0 30 ~ 0
1327 | LEDVOICE2
1328 | Text Label 2875 4625 0 30 ~ 0
1329 | LEDVOICE3
1330 | Text Label 2950 4225 0 30 ~ 0
1331 | VOICE1
1332 | Text Label 2950 4525 0 30 ~ 0
1333 | VOICE2
1334 | Text Label 925 3325 0 30 ~ 0
1335 | VOICE3
1336 | Text Label 3000 4425 0 30 ~ 0
1337 | TRIG
1338 | Text Label 2875 4725 0 30 ~ 0
1339 | LEDOUTPUT
1340 | $Comp
1341 | L R R6
1342 | U 1 1 53A22D9E
1343 | P 6975 2525
1344 | F 0 "R6" V 7000 2400 31 0000 L BNN
1345 | F 1 "10k" V 7050 2475 31 0000 R BNN
1346 | F 2 "" H 7175 2525 60 0000 C CNN
1347 | F 3 "" H 7175 2525 60 0000 C CNN
1348 | 1 6975 2525
1349 | 0 1 1 0
1350 | $EndComp
1351 | Wire Wire Line
1352 | 6975 2650 6975 2725
1353 | Connection ~ 6975 2725
1354 | $Comp
1355 | L JUMPER JP1
1356 | U 1 1 53D83D2D
1357 | P 6150 950
1358 | F 0 "JP1" H 6350 1050 30 0000 R CNN
1359 | F 1 "AC-DC" H 6225 1000 30 0000 L CNN
1360 | F 2 "" H 6300 1150 60 0000 C CNN
1361 | F 3 "" H 6300 1150 60 0000 C CNN
1362 | 1 6150 950
1363 | 1 0 0 -1
1364 | $EndComp
1365 | Wire Wire Line
1366 | 6050 950 6000 950
1367 | Wire Wire Line
1368 | 6000 950 6000 1200
1369 | Connection ~ 6000 1200
1370 | Wire Wire Line
1371 | 6250 950 6300 950
1372 | Wire Wire Line
1373 | 6300 950 6300 1200
1374 | Connection ~ 6300 1200
1375 | Wire Wire Line
1376 | 6200 1200 6800 1200
1377 | Wire Wire Line
1378 | 1600 1425 1650 1425
1379 | Connection ~ 1650 1500
1380 | Connection ~ 6000 2575
1381 | Wire Wire Line
1382 | 6000 2275 6000 2800
1383 | Wire Wire Line
1384 | 5425 950 5425 850
1385 | $EndSCHEMATC
1386 |
--------------------------------------------------------------------------------