~/talk

Coffee.js - How I hacked my coffee machine using JavaScript

Talkat View Source 2017 · on Friday, 2017-10-27· [javascript, embedded-and-hardware]
slides:none on file

Takes apart a capsule coffee machine, traces an 8‑pin ribbon and finds pins 1–3 are power, 4–6 drive LEDs and 7–8 read buttons, and proves it by measuring resistances and toggling voltages. Builds a controller on Tessel 2 using Johnny‑Five and uses three relays to emulate the on/espresso/regular switches so pressing timing matches the machine’s behavior. Adds an HTTP API that implements the RFC 2324 brew method and Alexa auth; the hack brews reliably though the server needs occasional restarts. Code and wiring are on GitHub.

AI-written summary · about

  1. 0:00Motivation for the project
  2. 2:24Choosing JavaScript hardware
  3. 4:21Hardware platform selection
  4. 7:38Reverse engineering the unit
  5. 16:17Implementing relay controls
  6. 18:27HTCPCP protocol integration
  7. 21:49Final demo and execution
  8. 26:40Lessons learned and conclusions
~/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.