• Home
Name Date Size #Lines LOC

..--

enclosure/03-May-2024-7,1237,121

kicad/03-May-2024-3,3693,322

README.mdD03-May-20244 KiB6750

WALT_bom_r07.tsvD03-May-20241.1 KiB1514

WALT_bom_r09.tsvD03-May-20241.1 KiB1514

WALT_schematic.pdfD03-May-202447.1 KiB

WALT_schematic_simplified.pngD03-May-2024205.6 KiB

README.md

1## Hardware assembly ##
2Depending on your specific needs, you may want to introduce some variations.
3In most cases it's possible to assemble a device with partial functionality (e.g. only for audio latency) on a solderless breadboard.
4
5### List of suggested parts ###
6
7 * USB OTG cable like
8   [this](http://www.amazon.com/Generic-Micro-Cable-Cellphone-Tablet/dp/B00AYPEL56)
9   (or a USB Type-C to A adapter)
10   for connecting WALT to your phone or tablet
11 * Microcontroller board - [Teensy LC](https://www.pjrc.com/teensy/teensyLC.html)
12 * Photodiodes - [BPW34](http://www.digikey.com/product-detail/en/osram-opto-semiconductors-inc/BPW34/475-1070-ND/607274) (3 units)
13 * Laser - any laser pointer will do, ~1 mW is just fine (5 mW is ok, but avoid stronger ones)
14 * Accelerometer board [Adafruit ADXL335](https://www.adafruit.com/product/163) **with filter capacitors removed**.
15   It's very important to remove the filter capacitors, otherwise they smooth out the abrupt shock we are looking for.
16   Alternatively use the ADXL335 chip directly without the breakout board, but it's rather difficult to solder manually.
17 * Some resistors and capacitors - see schematics
18 * TRRS connector or wire for audio measurements
19 * Clipboard, like [this one](https://upload.wikimedia.org/wikipedia/commons/c/c0/Wood-clipboard.jpg)
20
21### Schematic ###
22The current hardware version we use (r0.7) can be found as KiCAD project in this directory.
23 * [PDF](WALT_schematic.pdf)
24 * Blank PCBs can be ordered directly via [this shared project on OSH Park](https://oshpark.com/shared_projects/M5Z8fYCX)
25 * List of parts for version r0.7 - [BOM as a tsv file](WALT_bom_r07.tsv)
26
27 ![WALT r0.7 photo](../docs/WALT_r07_photo.jpg)
28
29
30### Microcontroller code ###
31
32Important pin numbers from the code listed below, defined in [walt.ino](../arduino/walt/walt.ino)
33
34 * PD_LASER_PIN 14 - Photodiode that looks at the laser
35 * G_PIN 15 // Same as A1 - Accelerometer for detecting when touch probe hits the screen
36 * PD_SCREEN_PIN 20 // Same as A6 - Photodiode that looks at the screen
37 * AUDIO_PIN 22 // Same as A8 - Detects audio signal from headphones output
38 * MIC_PIN 23 // Same as A9 - uses PWM to generate a tone for measuring microphone latency.
39
40### Schematic - older version ###
41An older version can be found
42[here on Upverter](https://upverter.com/kamrik/8af1f3b04e47ab78/WALT_w_audio/)
43
44![Slightly simplified WALT Schematic](WALT_schematic_simplified.png)
45
46
47### More electronics notes ###
48
49 * If using Teensy 3.1 instead of LC, it won’t be able to directly read
50   the screen photodiodes - a buffer opamp will be needed. The screen photodiodes
51   are bundled as a couple to produce more current, a single photodiode with 1.5M
52   resistor should provide the same result, but might be at the limit of what the
53   teensy can measure (input impedance), and again, an opamp will be needed.
54 * BPW34 photodiode has a small protrusion on the cathode pin (cathode marker).
55   Anode has a white dot near it.
56 * Note the different setup of the laser and screen photodiode. The laser one
57   uses internal pullup resistor (about 20k), enabled by pinMode(PD_LASER_PIN,
58   INPUT_PULLUP);
59
60## Mechanical ##
61
62Enclosure must be made from a non conductive and non transparent material.
63
64* The enclosure used for r0.7 production run is available in this repo as [STL](enclosure/WALT_recessed_enclosure.stl) and [STEP](enclosure/WALT_recessed_enclosure.step) files. It also used four M3x6 screws (McMaster-Carr PN 92000A116) and M3 hex nuts (McMaster-Carr PN 91828A211)
65* A slightly simpler enclosure suitable for printing on a desktop 3D printer is available as a [public OnShape project](https://cad.onshape.com/documents/6410a1ac7964cb29c4a5ba41/v/32bc78539f48ab7f514eeb31/e/fa513fcc84a825e97020c8b3) and [STL](enclosure/WALT_3DP_enclosure_v7.stl) file
66* A minimal enclosure suitable for 2D cutting from any 5 to 8 mm thick substrate is available as a [public OnShape project](https://cad.onshape.com/documents/5d7f21c8877ea8961bc499ef/v/84a66f3baf5f4a8f41be3bd7/e/e2a23559efbeb63be3916123)
67