1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>virtual sqrls hardware</title>
<style type="text/css">
table {
border-collapse: collapse; }
table th,td {
padding: 3px;
border: 1px black solid; }
</style>
</head>
<body style="margin: 25px; font-family: helvetica;">
<h1 style="border-bottom: 2px solid;">
virtual sqrls hardware</h1>
<i><a href="http://bnewbold.net">bnewbold</a>, <a href="http://git.bnewbold.net/?p=pysqrls.git;a=summary">git repository</a></i><br />
<h2>Basic Design</h2>
Arduino microcontrollers output audio via PWM method (see links). Signal is
amplified by audio amp then output to speaker over variable length cables. 4
potentiometers per board allow adjustment of volume, timing, and two
software adjustments. There are two amps/speakers for each arduino and 5
arduinos total. Each board/package is powered by a 5v wall wart.
<h2>Notes</h2>
<p />
Arduinos and protoboards were chosen in the interest of time and reusability;
the cost will be about $37 each for those units (could drive at least 4
speakers each if they had to?); chosing cheaper components like PICs and
plain grid boards could bring the cost down to $10-15 but would require a lot
of design, assembly, debuging, and would not be as easily reused afterwards.
<p />
The number of power supplies could be reduced if we ran power wires between
the units.
<p />
The amount of "power wire" will depend on the physical situation, but this
should be super cheap and we could get more at a hardware store last minute.
<p />
This all assumes tools and consumables like solder are availble (I have plenty).
<h2>Parts list</h2>
<p />
N is the number of distinct microcontoller "units" (5?); M is the
number of speakers with distinct outputs (5?). I say +1 on the cheap stuff in
case something breaks or gets lost.
<table>
<tr /><th>How many</th><th>What</th><th>Specific Part</th>
<th>Cost Each (rounded)</th>
<th>From where</th>
<tr style="color:grey;" /><td />5
<td />Motion Sensors
<td />Parallax PIR Sensor Module<br />#555-28027
<td />
<td />Mouser <br />(already purchased)</i>
<tr /><td />5
<td />Arduino Pro Board
<td />328 5v/16MHz DEV-08943 <br />(sparkfun version)
<td />$20
<td />Sparkfun (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9219">link</a>)
<tr /><td />5
<td />Arduino Protoboard
<td />DEV-07914 <br />(sparkfun version)
<td />$17
<td />Sparkfun (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=7914">link</a>)
<tr /><td />5
<td />Straight Pin Headers, 40x1
<td />PRT-00116<br />(sparkfun version)
<td />$2.50
<td />Sparkfun (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=116">link</a>)
<tr /><td />1
<td />FTDI-USB Breakout (Programming)
<td />DEV-09115
<td />$14
<td />Sparkfun (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9115">link</a>)
<tr /><td />5
<td />Wall Power supply (AC to 5v DC)
<td />EPS050100-P5RP
<td />$7.25
<td />Digikey(<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=T1038-P5RP-ND">link</a>)
<tr /><td />??ft
<td />Power wire (high gauge)
<td />
<td />
<td />Radioshack?
<tr /><td />10
<td />Speaker
<td />4ohm 3watt<br />COM-09149 (sparkfun)
<td />$2.50
<td />Sparkfun (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9149">link</a>)
<tr /><td />11
<td />Audio Amp (5v)
<td />5w stereo 12pin<br />Panasonic AN17822A
<td />$2.25
<td />Digikey (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=AN17822A-ND">link</a>)
<tr /><td />21
<td />Adjustment Potentiometers
<td />10k Ohm through-hole mount<br />EVN-D8AA03B14
<td />$0.40
<td />Digikey (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=D4AA14-ND">link</a>)
<tr /><td />3
<td />Rolls of stranded wire
<td />25ft each of Black, Red, White, 22awg
<td />$2.50
<td />Sparkfun (<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8867">link</a>)
</table>
<p /><b>Total cost estimate: $300</b>
<h2>Useful Links</h2>
<ul>
<li />http://www.arduino.cc/en/Main/ArduinoBoardPro
<li />http://www.sparkfun.com/commerce/product_info.php?products_id=9219
<li />http://www.uchobby.com/index.php/2007/11/11/arduino-sound-part-1/
<li />http://www.k9spud.com/traxmod/pwmdac.php
<li />http://www.arduino.cc/playground/Code/PCMAudio
</ul>
<h2>Helpful Emails</h2>
<blockquoteha>haha there are none!</blockquote>
<!--
<h2>[[[section]]]</h2>
<b>[[[todo-item]]]</b>
<span style="font-weight:bold; color:#00CC00;">([[[todo-status]]))</span>
<br />lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
<br /><br />
<b>[[[todo-item]]]</b>
<span style="font-weight:bold; color:#orange;">([[[todo-status]]))</span>
<br />lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
<br /><br />
<b>[[[todo-item]]]</b>
<span style="font-weight:bold; color:#red;">([[[todo-status]]))</span>
<br />lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
<br /><br />
-->
</body>
</html>
|