Connecting RIAs and hardware together
Upcoming SlideShare
Loading in...5
×
 

Connecting RIAs and hardware together

on

  • 11,214 views

This session looks at the revolution in low cost, easy to program embedded computing and connecting it to the internet. Focusing on the Arduino open source hardware and software platform and how it ...

This session looks at the revolution in low cost, easy to program embedded computing and connecting it to the internet. Focusing on the Arduino open source hardware and software platform and how it can be easily connected to various RIA platforms – directly, via the ethernet or via the cloud. Topics covered range from digital and analogue input and output to creating your own Arduino web server (in under 20 lines of code). Show that it's easier than you realise to interface with hardware and that with a little knowledge you can do this.

Statistics

Views

Total Views
11,214
Slideshare-icon Views on SlideShare
2,917
Embed Views
8,297

Actions

Likes
4
Downloads
72
Comments
0

35 Embeds 8,297

http://cityray.blogspot.tw 5840
http://cityray.blogspot.com 1570
http://cityray.blogspot.hk 652
http://cityray.blogspot.jp 96
http://www.cityray.blogspot.tw 23
http://www.cityray.blogspot.com 14
http://cityray.blogspot.co.uk 12
http://cityray.blogspot.kr 10
https://cityray.blogspot.com 9
http://cityray.blogspot.com.au 8
http://cityray.blogspot.sg 8
http://cityray.blogspot.ca 7
http://cityray.blogspot.fr 5
http://cityray.blogspot.mx 4
http://cityray.blogspot.co.il 4
http://cityray.blogspot.com.es 4
http://cityray.blogspot.in 3
http://cityray.blogspot.com.br 3
http://cityray.blogspot.ie 3
http://cityray.blogspot.nl 3
http://cityray.blogspot.co.nz 2
http://cityray.blogspot.ch 2
http://cityray.blogspot.ro 2
http://cityray.blogspot.it 2
http://cityray.blogspot.co.at 1
http://cityray.blogspot.be 1
http://cityray.blogspot.ru 1
http://cityray.blogspot.fi 1
http://www.cityray.blogspot.de 1
http://webcache.googleusercontent.com 1
http://cityray.blogspot.hu 1
http://translate.googleusercontent.com 1
http://cityray.blogspot.de 1
http://203.84.192.95 1
http://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Connecting RIAs and hardware together Connecting RIAs and hardware together Presentation Transcript

    • Justin Mclean, Class Software Connecting Hardware to Rich Internet Applications Flex and the Arduino platform Tuesday, 1 June 2010
    • Who am I? Director of Class Software for 10 + years Developing and creating web applications for 15 years Programming for 25 years Adobe community professional in Flex Adobe certified developer and trainer in ColdFusion and Flex Based in Sydney Australia Tuesday, 1 June 2010
    • Electronics Trends Low cost components Small components Complex components with simple standard interfaces Tuesday, 1 June 2010
    • Computing Trends Easier to program Use of high level languages Software tools Open source Tuesday, 1 June 2010
    • Are We There Yet? Low cost fast devices It’s easy to communicate between devices and computers Can build complex systems from off the shelf components Tuesday, 1 June 2010
    • Arduino Overview of the Arduino Platform Tuesday, 1 June 2010
    • Arduino Platform Open source hardware and software platform Easy to program Hardware is flexible, fast, low power and low cost Tuesday, 1 June 2010
    • Arduino Hardware Comes in a number of shapes sizes Low cost Easy to extend Digital inputs/outputs Analog inputs Tuesday, 1 June 2010
    • Arduino Boards Tuesday, 1 June 2010
    • Arduino Boards Tuesday, 1 June 2010
    • Arduino Boards Tuesday, 1 June 2010
    • Arduino Boards Tuesday, 1 June 2010
    • Arduino Shields Tuesday, 1 June 2010
    • Arduino Shields Tuesday, 1 June 2010
    • Arduino Shields Tuesday, 1 June 2010
    • Arduino Shields Tuesday, 1 June 2010
    • Arduino Software Platform Open source cross platform IDE Alpha but very stable Updated frequently Growing and active community Tuesday, 1 June 2010
    • Arduino Code C like high level language Inbuilt functions to read and set digital and analog inputs and outputs Includes libraries to perform common hardware or software tasks Once uploaded programs are permanent Tuesday, 1 June 2010
    • Arduino IDE Tuesday, 1 June 2010
    • Led Shield Demo Tuesday, 1 June 2010
    • Led Shield Demo Tuesday, 1 June 2010
    • Issues Debugging can be hard No simulator Memory, power and speed limits Helps to have a little electronics knowledge Tuesday, 1 June 2010
    • Connecting Arduinos to the Web How Arduinos can communicate with the world Tuesday, 1 June 2010
    • Connection Methods Directto computer (USB) Wireless (XBee modems) Ethernet or WiFi “The Cloud” Tuesday, 1 June 2010
    • Supported Languages Flashand Flex Processing Python Ruby Java C, C++, C# and Objective C .NET Tuesday, 1 June 2010
    • Flex Flex to Arduino direct connection Tuesday, 1 June 2010
    • Layers of Communication Flexto proxy via an Actionscript library Proxy to USB communication USB to arduino Tuesday, 1 June 2010
    • Flex to Arduino Computer Arduino Flex Code Arduino Function Calls and Code Events TCP/IP USB AS3 Glue USB Proxy Firmata Socket Cable Tuesday, 1 June 2010
    • Flex Led Demo Tuesday, 1 June 2010
    • AS3Glue Digital Output Create arduino instance var arduino:Arduino = new Arduino(); Wait for firmware version Set digital pin as output arduino.setPinMode(pin, Arduino.OUTPUT); Turn digital output on arduino.writeDigitalPin(pin, Arduino.HIGH); Tuesday, 1 June 2010
    • Danger Shield Demo Tuesday, 1 June 2010
    • AS3Glue Analog Input Turn on analog reporting arduino.setAnalogPinReporting(pin, Arduino.ON); Listen for changes via event listener arduino.addEventListener (ArduinoEvent.ANALOG_DATA, onReceiveData); public function onReceiveData (event:ArduinoEvent):void { .... } Tuesday, 1 June 2010
    • Ethernet Using Arduino Ethernet Shields Tuesday, 1 June 2010
    • Ethernet Shields Allow direct internet connection No dedicated PC needed Shields need a little config Can act as web server or client Tuesday, 1 June 2010
    • Ethernet Shields Tuesday, 1 June 2010
    • Ethernet Shields Tuesday, 1 June 2010
    • Ethernet Shields Tuesday, 1 June 2010
    • Web Servers Simplerthan you think A web server: Listens for connections Parse requests Send back status messages/resources requested Tuesday, 1 June 2010
    • HTTP Requests Startwith request “GET index.html HTTP/1.1” Optional headers “Accept-Language: en” Empty line Optional message body (POST and other requests) Tuesday, 1 June 2010
    • Ethernet Arduino Code Web server code Easy to modify Tuesday, 1 June 2010
    • Ethernet Demo Tuesday, 1 June 2010
    • Rich Internet Applications Ideas on how and where to use this technology Tuesday, 1 June 2010
    • Environmental Monitoring Indoors or outdoors Wide range of sensors Sleep mode/low power consumption Tuesday, 1 June 2010
    • Home Automation Power and utilities monitoring Controlling Lights and Heating/Cooling Garden watering/monitoring Tuesday, 1 June 2010
    • Security and Safety Security systems Location reporting Bike jackets Tuesday, 1 June 2010
    • Why do this? Expose yourself to new ideas and new ways of solving problems Involves interaction with the real world Encourages creativity Makes you a better programmer Tuesday, 1 June 2010
    • It’s Fun! Tuesday, 1 June 2010
    • Questions? Ask now, see me after session or email justin@classsoftware.com Slides and code can be found at http://blog.classsoftware.com/ Tuesday, 1 June 2010
    • Useful Sites List of useful hardware and software sites Tuesday, 1 June 2010
    • Software Sites Arduino http://www.arduino.cc for software, user forum and playground Ethernet Shields http://arduino.cc/en/Reference/ Ethernet Pachhub http://www.pachube.com/ Tuesday, 1 June 2010
    • Hardware Sites Spark Fun (US) http://www.sparcfun.com/ Adafruit Industries (US) http://www.adafruit.com/ Electronic Goldmine (US) http://www.goldmine- elec.com/ Tuesday, 1 June 2010
    • Other Sites Lady Ada http://www.ladyada.com/ Evil Mad Scientist http://www.evilmadscientist.com/ NY Resistor http://www.nycresistor.com/ Make Zine http://www.makezine.com/ Tuesday, 1 June 2010