aboutsummaryrefslogtreecommitdiff
path: root/wiring.rst.txt
blob: a399935f5ba95ff274528ef0494fa62477e06b79 (plain)
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
25 sensors
 
5 rows × 5 columns
 
pins (`see SparkFun`_)::
 
  14
  23
 
1. phototransistor collector, to pull-up for row
2. phototransistor emitter, to ground for column
3. led anode, to limiter for row
4. led cathode, to ground for column
 
so…
 
::
 
   aM aN aO aP aQ cM cN cO cP cQ
   14 14 14 14 14 14 14 14 14 14 …
   23 23 23 23 23 23 23 23 23 23 …
   Mb Nb Ob Pb Qb Md Nd Od Pd Qd
 
 
      /---------- input1
   a -+-10kΩ--+- output1
   b ---220Ω--/
 
      /---------- input2
   c -+-10kΩ--+- output2
   d ---220Ω--/
 
   …
   …
 
   M ------------ output6
   N ------------ output7
   O ------------ output8
   P ------------ output9
   Q ------------ output10
 
 
row outputs: 05 23 19 18 26
 
col outputs: 17 33 16 21 22
 
adc inputs: 02 04 tdi/12 27 tms/14 (adc2 2 0 5 7 6)
 
amp: 25 (dac1) 32 (enable)
 
.. `see SparkFun`:
   https://learn.sparkfun.com/tutorials/qrd1114-optical-detector-hookup-guide/all
 
 
amplifier
https://learn.adafruit.com/stereo-3-7w-class-d-audio-amplifier/assembly
https://forum.arduino.cc/index.php?topic=269972.0
https://www.hackster.io/julianfschroeter/stream-your-audio-on-the-esp32-2e4661