Your SlideShare is downloading. ×
0
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Putting your device in a browser or on the web
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Putting your device in a browser or on the web

3,491

Published on

Part of the Linux Conference Australia 2010 Arduino mini conference. Explains the various ways you can connect arduinos to the web and the internet.

Part of the Linux Conference Australia 2010 Arduino mini conference. Explains the various ways you can connect arduinos to the web and the internet.

Published in: Technology
2 Comments
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
3,491
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
86
Comments
2
Likes
0
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. Arduino Miniconf Putting your device in a browser or on the web Justin Mclean Web: http://www.classsoftware.com.au Mail: justin@classsoftware.com.au Twitter: justinmclean Monday, 18 January 2010
  • 2. Who am I? • Developing and creating web applications for 15 years • Programming for 25 years • Developer and trainer in Flex and ColdFusion • Based in Sydney Australia Monday, 18 January 2010
  • 3. Arduino Overview of the Arduino Platform Monday, 18 January 2010
  • 4. Arduino Code • Code in a 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 Monday, 18 January 2010
  • 5. Arduino IDE Monday, 18 January 2010
  • 6. Led Shield Demo Monday, 18 January 2010
  • 7. Issues • Debugging can be hard • Memory, power and speed limits • Helps to have a little electronic knowledge Monday, 18 January 2010
  • 8. Connecting Arduinos to the Web How Arduinos can communicate with the outside world. Monday, 18 January 2010
  • 9. Connection Methods • Direct to computer • Wireless (XBee modems) • Ethernet or WiFi • “The Cloud” Monday, 18 January 2010
  • 10. Supported Languages • Flash and Flex • Processing • Python • Ruby • Java • C, C++, C# and Objective C • .NET Monday, 18 January 2010
  • 11. Direct Connection How to communicate with Arduinos via a computer Monday, 18 January 2010
  • 12. Direct Communication • Most languages can’t talk USB • Solution: Socket to USB proxy Monday, 18 January 2010
  • 13. Layers of Communication • Code Library • Proxy to USB • Program on arduino to USB Monday, 18 January 2010
  • 14. Firmata Protocal • Standard Arduino library • Simple binary protocol • Based on MIDI • Easy to extend Monday, 18 January 2010
  • 15. Computer Arduino Application Code Arduino Function Calls and Code Events TCP/IP USB Library USB Proxy Firmata Socket Cable Connection Diagram Monday, 18 January 2010
  • 16. Firmata Demo Monday, 18 January 2010
  • 17. Issues • Works best with a persistent connection • Otherwise startup time and auto reset may be issues • Proxy must be running on computer the Arduino is connected to Monday, 18 January 2010
  • 18. Ethernet Using Arduino Ethernet Shields Monday, 18 January 2010
  • 19. Ethernet Shields • Allow direct internet connection • No computer needed • Can act as web server or client • Shields need a little configuration Monday, 18 January 2010
  • 20. Ethernet Shields Monday, 18 January 2010
  • 21. Ethernet Arduino Code • Web server code • Easy to modify Monday, 18 January 2010
  • 22. Ethernet Demo Monday, 18 January 2010
  • 23. Pachube An easier way to connect Arduinos Monday, 18 January 2010
  • 24. Pachube • Store and share and access realtime sensor data • Simple and secure • API to interact with all data and services • Graphs and maps Monday, 18 January 2010
  • 25. Pachube Monday, 18 January 2010
  • 26. Pachube Arduino Code • Runs on Arduino with an ethernet shield • Sends values to Pachube • Request values via Pachube Monday, 18 January 2010
  • 27. Pachube API • Communicates over HTTP • Plain text (csv), XML or Jason • REST based • Large base of supported languages Monday, 18 January 2010
  • 28. Pachube Triggers • Pachube can call an URL on value change • The URL can be a dynamic Monday, 18 January 2010
  • 29. 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 Monday, 18 January 2010
  • 30. It’s Fun! Monday, 18 January 2010
  • 31. Useful Sites List of useful hardware and software sites Monday, 18 January 2010
  • 32. 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/ Monday, 18 January 2010
  • 33. Hardware Sites • Mind Kits (NZ) http://www.mindkits.co.nz/ • Spark Fun (US) http://www.sparkfun.com/ • Adafruit Industries (US) http:// www.adafruit.com/ • Electronic Goldmine (US) http:// www.goldmine-elec.com/ Monday, 18 January 2010
  • 34. Other Sites • Lady Ada http://www.ladyada.net/ • Evil Mad Scientist http:// www.evilmadscientist.com/ • NY Resistor http://www.nycresistor.com/ • Make Zine http://makezine.com/ Monday, 18 January 2010

×