You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/TODO.md
+10-19Lines changed: 10 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@
3
3
# User journey
4
4
5
5
- Level 0a. Run a pretrained example/demo in the browser
6
-
- Level 0b. Run a pretrained example/demo on a board
6
+
- Level 0b. Run a pretrained example/demo on PC/host
7
+
- Level 0c. Run a pretrained example/demo on a board
7
8
- Level 1. Train custom model on-device
8
9
- Level 2. Collect a dataset, do training on PC, deploy back to microcontroller
9
10
- Level 3. Bake the custom model into the firmware
@@ -20,33 +21,21 @@
20
21
21
22
sequence. On-device training demo
22
23
23
-
- Record piezo data with ADC. 100 Hz?
24
-
Typical taps. Slower pushes. Handling noises.
25
-
- Setup event detection for piezo.
26
-
In its own module.
27
-
Threshold on delta and level?
28
-
- Create emliir module, use for piezo detection
24
+
- Use accelerometer instead of piezo. On M5StickC, for example
25
+
- Compute impulsive-ness feature. Magnitude, RMS, exponential smooth, then Delta * times level ?
26
+
- Alternative: Use IIR for knock detection
29
27
- Maybe blink during unlocked state
30
28
- Add a blink to each event. For user feedback
31
29
- Make demo video
30
+
- Add some documentation / README
32
31
- Make state diagram
33
32
- Make timing diagram. Highlight distances/features
34
-
- Add some documentation / README
35
-
36
-
Learnings.
37
-
38
-
- Putting piezo on small thin plate worked well.
39
-
On table not working, no response.
40
-
Hitting direct not so good either, rise of finger causes change. Double-trigger. Also tricky to hit in right place.
41
-
- LEDs as protection diodes worked well. Both red and green can be used. Lights up on direct hits, if placed by piezo.
42
-
- Analog RC filter is beneficial for piezo connections. Using 10k+100nF, has 160 Hz cutoff. Should maybe move it to 80Hz? Since only sampling at 100 Hz.
43
-
- Only direct hits can reach trigger levels on 3.3V I/O. Need ADC for other cases. But am seing some 100mV when placed on small plate
44
33
45
-
Examples
34
+
#### Examples
46
35
47
36
- Add a novelty detection example?
48
37
49
-
Benchmarks
38
+
#### Benchmarks
50
39
51
40
- Add FLASH and RAM usage
52
41
- Test gzip compression of .csv model for trees
@@ -56,3 +45,5 @@ Benchmarks
56
45
In-browser demo
57
46
58
47
- Test MicroPython build for WASM/browser
48
+
- Test getting audio input into MicroPython Webassembly
0 commit comments