From 33a2af7c697cc21a37e73907d725f3caec217057 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 20 Aug 2020 16:19:29 +0100 Subject: the other board --- wiring.rst.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 wiring.rst.txt (limited to 'wiring.rst.txt') diff --git a/wiring.rst.txt b/wiring.rst.txt new file mode 100644 index 0000000..9280536 --- /dev/null +++ b/wiring.rst.txt @@ -0,0 +1,41 @@ +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 aM aM aM aM cN cN cN cN cN + 14 14 14 14 14 14 14 14 14 14 … + 23 23 23 23 23 23 23 23 23 23 … + Mb Mb Mb Mb Mb Nd Nd Nd Nd Nd + + + /---------- input1 + a -+-10kΩ--+- output1 + b ---220Ω--/ + + /---------- input2 + c -+-10kΩ--+- output2 + d ---220Ω--/ + + … + … + + M ------------ output6 + N ------------ output7 + + +.. `see SparkFun`: + https://learn.sparkfun.com/tutorials/qrd1114-optical-detector-hookup-guide/all -- cgit v1.2.3