~/talk

Eco-friendly hardware hacking with android

Talkat Droidcon Italy 2017 · 2017-04-06..04-07· [android]
links:none on file
slides:none on file

Uses a regular Android phone/tablet plus plain Java and an OTG adapter to control scrap hardware no firmware just Java and USB OTG keyboard LED via control transfer — writes to endpoint 0 (HID set_report) to toggle keyboard LEDs, measures roughly 1 kHz signal (≈2000 API calls/sec for on+off) but with jitter, adds a scavenged optocoupler for galvanic isolation and drives an ATX PS_ON line to switch 12 V to a motor, digital inputs come from keyboard matrix scan codes, and the build works with caveats about charging and noise.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Code in Movies
  3. 0:33Super Heroes
  4. 1:53mission
  5. 3:35Choices, choices...
  6. 4:55LEDs in common USB scraps
  7. 5:39And the winner is.
  8. 7:09OTG Adapter (make or buy)
  9. 10:20The software side
  10. 11:47The missing endpoint
  11. 14:227.2.2 SET REPORT
  12. 15:16For LEDs / Keyboards
  13. 16:03Sending the report
  14. 17:02Sketch of the code
  15. 23:36Kill the noise
  16. 24:58Conclusions from detour
  17. 27:41The ubiquitous optoisolator
  18. 28:33A small step forward
  19. 28:49A level of indirection...
  20. 29:48ATX is your best friend
  21. 30:11ATX starts in stand-by
  22. 32:46What about inputs??
  23. 33:22Relevant code
  24. 35:35Missing galvanic isolation!
  25. 36:26Charging while in host mode
  26. 37:57May or may not work for you
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.