Your SlideShare is downloading. ×

Spacebrew & Arduino Yún

1,363

Published on

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

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

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,363
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Spacebrew & Yun Thursday, October 17, 13
  • 2. Thursday, October 17, 13
  • 3. Thursday, October 17, 13
  • 4. Thursday, October 17, 13
  • 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. 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. Spacebrew A Toolkit For Choreographing Interactive Spaces Thursday, October 17, 13
  • 8. Client & Server Model Thursday, October 17, 13
  • 9. Spacebrew Client Client Client Client Clients can Subscribe to data and or Publish data Thursday, October 17, 13
  • 10. Data Types • • • • Thursday, October 17, 13 True or False values Integer values between 0 & 1023 Text strings Custom data
  • 11. Demo Thursday, October 17, 13
  • 12. Web based interface Thursday, October 17, 13
  • 13. Arduino Yún ATmega32u4 & Atheros AR9331 Thursday, October 17, 13
  • 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. “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. “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. 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. 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. Yún & Spacebrew https://github.com/julioterra/yunSpacebrew Thursday, October 17, 13
  • 20. Shipped with Yún Thursday, October 17, 13
  • 21. Needs a patch https://groups.google.com/forum/#!msg/spacebrew-cc/zRFZhHvxquY/l8h-CvQtnLgJ Thursday, October 17, 13
  • 22. Demo Thursday, October 17, 13
  • 23. Thank You johan@expandedactivities.com @johanni Thursday, October 17, 13

×