~/talk

Using Actors for the Internet of (Lego) Trains

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [iot]
slides:none on file

Built a remote actor control system for Lego trains running on Raspberry Pi A+ with Wi‑Fi and IR transmitter, camera, RFID, speaker, automated switches, NeoPixel LEDs and Particle Photons; code uses Scala, Akka, Akka HTTP and AngularJS. Remote actors replace REST for inter-Pi messaging and show big perf gains in tests: one student measures ~600 users for REST versus ~3,300 for remote actors; jar sizes ~8MB local, ~11–12MB remote, +~10MB when adding HTTP. Hardware works but hits A+ memory limits, flaky conference Wi‑Fi, RFID range and battery quirks, and a few Pis get damaged.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Why this project
  3. 4:55Architecture
  4. 6:34Wireless
  5. 7:30Remote Control
  6. 9:09Components
  7. 9:50Camera
  8. 10:53Track switches
  9. 11:38Ferris wheel
  10. 12:24Particle cloud
  11. 14:10Demo
  12. 19:00Actors
  13. 19:34Remote Actors
  14. 20:22Message Protocol
  15. 21:43Advantages
  16. 22:19HP
  17. 22:44Size
  18. 23:24Performance
  19. 27:05Challenges
  20. 27:58Raspberry Pi A
  21. 28:42Batteries
  22. 29:04RFID
  23. 29:38Wifi
  24. 30:06Troubleshooting
  25. 30:34Documentation
  26. 31:35Time
  27. 34:40code
  28. 35:30Raspberry Pi OS
~/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.