Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Spacebrew & Yun

Thursday, October 17, 13
Thursday, October 17, 13
Thursday, October 17, 13
Thursday, October 17, 13
OSC/WS/? to WS
Event Server
Client

Client
Client

Client

Clients can Subscribe to data and or Publish data
Thursday, Oct...
config = {
    "name"
    "type"
    "osc_address"
    "ws_events"
    "description"

"Tap",
"osc_to_ws",
"/sink",
["sink"...
Spacebrew
A Toolkit For Choreographing Interactive Spaces

Thursday, October 17, 13
Client & Server Model

Thursday, October 17, 13
Spacebrew
Client

Client
Client

Client

Clients can Subscribe to data and or Publish data

Thursday, October 17, 13
Data Types
•
•
•
•
Thursday, October 17, 13

True or False values
Integer values between 0 & 1023
Text strings
Custom data
Demo

Thursday, October 17, 13
Web based interface

Thursday, October 17, 13
Arduino Yún
ATmega32u4 & Atheros AR9331

Thursday, October 17, 13
“The Atheros processor supports a Linux distribution based on
OpenWRT named Linino. The board has built-in Ethernet and
Wi...
“The Atheros processor supports a Linux distribution based on
OpenWRT named Linino. The board has built-in Ethernet and
Wi...
“The Atheros processor supports a Linux distribution based on
OpenWRT named Linino. The board has built-in Ethernet and
Wi...
Process
WiFi Status Example
void loop() {
Process wifiCheck;

// initialize a new process

// command you want to run
wifi...
Bridge
Bridge Example
$ curl -X GET http://russo.local/arduino/digital/13/
Pin D13 set to 1
$ curl -X GET http://russo.loc...
Yún & Spacebrew
https://github.com/julioterra/yunSpacebrew

Thursday, October 17, 13
Shipped with Yún

Thursday, October 17, 13
Needs a patch
https://groups.google.com/forum/#!msg/spacebrew-cc/zRFZhHvxquY/l8h-CvQtnLgJ

Thursday, October 17, 13
Demo

Thursday, October 17, 13
Thank You
johan@expandedactivities.com
@johanni

Thursday, October 17, 13
Upcoming SlideShare
Loading in …5
×

Spacebrew & Arduino Yún

2,279 views

Published on

Presentation at IoT Sthlm: On making connected objects, http://www.meetup.com/IoTStockholm/events/143274302/

Published in: Technology, News & Politics
  • Be the first to comment

Spacebrew & Arduino Yún

  1. 1. Spacebrew & Yun Thursday, October 17, 13
  2. 2. Thursday, October 17, 13
  3. 3. Thursday, October 17, 13
  4. 4. Thursday, October 17, 13
  5. 5. OSC/WS/? to WS Event Server Client Client Client Client Clients can Subscribe to data and or Publish data Thursday, October 17, 13
  6. 6. config = {     "name"     "type"     "osc_address"     "ws_events"     "description" "Tap", "osc_to_ws", "/sink", ["sink"], "Turning the tap on and off effects the movement and shape of the liquid on the monitors Visual - turns into stream of liquid across 3 screens when tap is turned on.",     "send_function" : send_function,     "transform_function": transform_function } Thursday, October 17, 13 : : : : :
  7. 7. Spacebrew A Toolkit For Choreographing Interactive Spaces Thursday, October 17, 13
  8. 8. Client & Server Model Thursday, October 17, 13
  9. 9. Spacebrew Client Client Client Client Clients can Subscribe to data and or Publish data Thursday, October 17, 13
  10. 10. Data Types • • • • Thursday, October 17, 13 True or False values Integer values between 0 & 1023 Text strings Custom data
  11. 11. Demo Thursday, October 17, 13
  12. 12. Web based interface Thursday, October 17, 13
  13. 13. Arduino Yún ATmega32u4 & Atheros AR9331 Thursday, October 17, 13
  14. 14. “The Atheros processor supports a Linux distribution based on OpenWRT named Linino. The board has built-in Ethernet and WiFisupport, a USB-A port, micro-SD card slot, 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, an ICSP header, and a 3 reset buttons.” – http://arduino.cc/en/Main/ArduinoBoardYun Thursday, October 17, 13
  15. 15. “The Atheros processor supports a Linux distribution based on OpenWRT named Linino. The board has built-in Ethernet and WiFisupport, a USB-A port, micro-SD card slot, 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, an ICSP header, and a 3 reset buttons.” – http://arduino.cc/en/Main/ArduinoBoardYun Thursday, October 17, 13
  16. 16. “The Atheros processor supports a Linux distribution based on OpenWRT named Linino. The board has built-in Ethernet and WiFisupport, a USB-A port, micro-SD card slot, 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, an ICSP header, and a 3 reset buttons.” – http://arduino.cc/en/Main/ArduinoBoardYun Thursday, October 17, 13
  17. 17. Process WiFi Status Example void loop() { Process wifiCheck; // initialize a new process // command you want to run wifiCheck.runShellCommand("/usr/bin/pretty-wifi-info.lua"); // while there's any characters coming back from the // process, print them to the serial monitor: while (wifiCheck.available() > 0) { char c = wifiCheck.read(); Serial.print(c); } Serial.println(); delay(5000); } Thursday, October 17, 13
  18. 18. Bridge Bridge Example $ curl -X GET http://russo.local/arduino/digital/13/ Pin D13 set to 1 $ curl -X GET http://russo.local/arduino/digital/13/0 Pin D13 set to 0 $ curl -X GET http://russo.local/arduino/digital/13/ Pin D13 set to 0 $ curl -X GET http://russo.local/arduino/digital/13/1 Pin D13 set to 1 Thursday, October 17, 13
  19. 19. Yún & Spacebrew https://github.com/julioterra/yunSpacebrew Thursday, October 17, 13
  20. 20. Shipped with Yún Thursday, October 17, 13
  21. 21. Needs a patch https://groups.google.com/forum/#!msg/spacebrew-cc/zRFZhHvxquY/l8h-CvQtnLgJ Thursday, October 17, 13
  22. 22. Demo Thursday, October 17, 13
  23. 23. Thank You johan@expandedactivities.com @johanni Thursday, October 17, 13

×