Nuggets

Ffffa52ae8108fdeb2559d804051556e?s=47 Rob Hruska
September 06, 2013

 Nuggets

Building real-time projector dashboards with node.js, Socket.IO, and Raspberry Pi.

Ffffa52ae8108fdeb2559d804051556e?s=128

Rob Hruska

September 06, 2013
Tweet

Transcript

  1. 4.
  2. 5.
  3. 6.
  4. 7.
  5. 8.
  6. 9.
  7. 11.
  8. 12.
  9. 14.

    Communal Dashboards With the growing interest in data analytics and

    visualizations, we're seeing more effort put into interesting visualizations that allow people to draw insight from data floating around in an organization. Most of these dashboards are aimed at individual usage, but there is a growing tendency to use them for a more communal purpose. “ martinfowler.com/bliki/CommunalDashboard.html ...creating an emotional engagement with how the business is running. “ ...a form information radiator. “
  10. 16.

    This is less about helping people make decisions, more about

    educating people about what's happening, providing background information and context for their regular work. “ Communal Dashboards martinfowler.com/bliki/CommunalDashboard.html
  11. 21.
  12. 22.
  13. 26.
  14. 28.

    socket.io event handler / emitter Datasource External API subscribe: stat

    socket.io client stat node.js browser Display stat Display Datasource stat stat subscribe: stat
  15. 29.

    nugget |_ client |_ server |_ user |_ datasources |_

    displays |_ resources |_ server-config.json |_ datasources |_ datasource-name.js |_ ... |_ displays |_ display-name.css |_ display-name.js |_ display-name.html |_ ...
  16. 31.

    socket.io event handler / emitter system-time System Time subscribe: time

    socket.io client time node.js browser current-time time
  17. 32.

    nugget |_ client |_ server |_ user |_ datasources |_

    displays |_ resources |_ server-config.json |_ datasources |_ server-time.js |_ ... |_ displays |_ current-time.css |_ current-time.js |_ current-time.html |_ ...
  18. 38.

    socket.io event handler / emitter current-users Chartbeat subscribe: current-users socket.io

    client current-users node.js browser current-users current-users Splunk
  19. 42.
  20. 46.
  21. 47.
  22. 48.
  23. 50.

    Edimax EW-7811Un - $10 Rosewill RPM-MP0010 - $35 2.1A USB

    wall charger - $10 4-port powered USB hub - $15
  24. 53.
  25. 55.
  26. 57.

    Images: http://sparkfun.com IR LED 850nm $0.95 x 3 100g leaded

    solder $5.95 10k Ohm resistor $0.25 1" ProtoBoard (2) $2.50 30W soldering iron $9.95 12" M/F Jumper (10) $4.50 PN2222 Transistor (10) $1.95
  27. 58.
  28. 59.
  29. 60.
  30. 61.

    Make Your Own Awesome What’s important to you and your

    organization? • Current users • GitHub commits • Items purchased • Videos watched • App downloads
  31. 63.
  32. 64.

    Resources • @robhruska / robhruska@gmail.com • http://github.com/hudl/nugget • http://github.com/hudl/nugget-hudl •

    http://elinux.org/RPi_VerifiedPeripherals • http://nodejs.org/ • http://socket.io/ • http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/
  33. 65.