hardware.js

martin schuhfuss
m.schuhfuss@gmail.com

@usefulthink

welcome to the playground.

about me

martin schuhfuss
m.schuhfuss@gmail.com

@usefulthink

  • research & development at ubilabs
  • background in electronics and computer-engineering
  • background in professional lighting

this session

this is an experiment – i have no idea if it will work :)

I brought stuff for you to play with – what will happen in the next three hours is up to you.

this session

i brought my own WiFi, just because.

ESSID: "hardware.js"

WPA2-PSK: "passphrase for hardware.js"

over this network you can connect to the different devices (sorry, no WAN access)

this session

i brought my own WiFi, just because.

192.168.0.31 – raspberry-pi: 10x10 pixel matrix

192.168.0.32 – raspberry-pi 2: dmx-interface

192.168.0.80 – http-powerstrip

192.168.0.81 – rgb-cube

this session

how it should work

  1. you need to work in teams
  2. i will quickly introduce you to the things I brought
  3. discuss what you want to build
  4. I will do my best to help and fill you in with background-information as we go.

the quick introduction

Professional lighting

  • DMX512
  • USB-Interface based on Arduino and some custom electronics
  • hosted by a raspberry-pi 2
  • can be controlled from your browser over websockets.
  • ...more details later

LED Canvas

  • 10x10 matrix of ws2812 RGB LEDs, all individually controllable
  • controlled using the raspberry-pi GPIO
  • pixel-data can be sent to 192.168.0.31 on port 7890 using the openpixelcontrol protocol.

RGB Cube

  • A single cube with 3 high-power RGB-LEDs
  • run by a ESP8266 WiFi microcontroller
  • also controlled using openpixelcontrol, 192.168.0.81, port 7890

Powerstrip

  • simple switching powersockets
  • controlled by a ESP8266 microcontroller
  • HTML-"user interface" at 192.168.0.80 (port 80)
  • switch on/off via HTTP-Requests (sorry, no CORS, so you need to proxy requests)
  • currently, no devices are connected, but maybe we'll find something

Leap motion

  • 3D hand-motion sensor
  • two calibrated infrared-cameras and sophisticated drivers that interpret the data
  • can be used in the browser and nodejs using the "leapjs"-module (internally over websockets)
https://www.leapmotion.com/setup

drivers needed:

SpaceNavigator

  • 3D mouse
  • yaw, pitch, roll and x/y/z translate movement
  • when drivers are installed it can be used in the browser using the gamepad-API (as a six-axis / two buttons gamepad)
http://www.3dconnexion.de/service/drivers.html

drivers needed:

launchpad mini

  • USB MIDI controller
  • 8x8 Trigger-Pads with red/green background-lighting
  • node-libraries make using it really convenient

AKAI LPD8

  • USB MIDI controller
  • 8 Trigger-Pads and 8 Pontetiometers
  • can be used with web-midi API and node-midi modules

so... more Ideas?

two more things

you will need to share resources, so either join teams or talk to each other.

I'll do my best, but currently there's only one of me.

lets go! Have fun :)

hardware.js

By Martin Schuhfuss

hardware.js

  • 1,248