Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Nuggets

Rob Hruska
September 06, 2013

 Nuggets

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

Rob Hruska

September 06, 2013
Tweet

Other Decks in Programming

Transcript

  1. 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. “
  2. 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
  3. 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
  4. nugget |_ client |_ server |_ user |_ datasources |_

    displays |_ resources |_ server-config.json |_ datasources |_ datasource-name.js |_ ... |_ displays |_ display-name.css |_ display-name.js |_ display-name.html |_ ...
  5. socket.io event handler / emitter system-time System Time subscribe: time

    socket.io client time node.js browser current-time time
  6. nugget |_ client |_ server |_ user |_ datasources |_

    displays |_ resources |_ server-config.json |_ datasources |_ server-time.js |_ ... |_ displays |_ current-time.css |_ current-time.js |_ current-time.html |_ ...
  7. socket.io event handler / emitter current-users Chartbeat subscribe: current-users socket.io

    client current-users node.js browser current-users current-users Splunk
  8. Edimax EW-7811Un - $10 Rosewill RPM-MP0010 - $35 2.1A USB

    wall charger - $10 4-port powered USB hub - $15
  9. 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
  10. Make Your Own Awesome What’s important to you and your

    organization? • Current users • GitHub commits • Items purchased • Videos watched • App downloads
  11. Resources • @robhruska / [email protected] • 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/