SlideShare a Scribd company logo
1 of 34
Download to read offline
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
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
Arduino
                          Overview of the Arduino Platform




Monday, 18 January 2010
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
Arduino IDE

Monday, 18 January 2010
Led Shield Demo

Monday, 18 January 2010
Issues
                   • Debugging can be hard
                   • Memory, power and speed limits
                   • Helps to have a little electronic knowledge




Monday, 18 January 2010
Connecting
                          Arduinos to the Web
                          How Arduinos can communicate with
                          the outside world.




Monday, 18 January 2010
Connection Methods
                   •      Direct to computer
                   •      Wireless (XBee modems)
                   •      Ethernet or WiFi
                   •      “The Cloud”




Monday, 18 January 2010
Supported Languages
                   •      Flash and Flex
                   •      Processing
                   •      Python
                   •      Ruby
                   •      Java
                   •      C, C++, C# and Objective C
                   •      .NET




Monday, 18 January 2010
Direct Connection
                          How to communicate with Arduinos
                          via a computer




Monday, 18 January 2010
Direct Communication
                   • Most languages can’t talk USB
                   • Solution: Socket to USB proxy




Monday, 18 January 2010
Layers of Communication
                   • Code Library
                   • Proxy to USB
                   • Program on arduino to USB




Monday, 18 January 2010
Firmata Protocal
                   •      Standard Arduino library
                   •      Simple binary protocol
                   •      Based on MIDI
                   •      Easy to extend




Monday, 18 January 2010
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
Firmata Demo

Monday, 18 January 2010
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
Ethernet
                          Using Arduino Ethernet Shields




Monday, 18 January 2010
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
Ethernet Shields

Monday, 18 January 2010
Ethernet Arduino Code
                   • Web server code
                   • Easy to modify




Monday, 18 January 2010
Ethernet Demo

Monday, 18 January 2010
Pachube
                          An easier way to connect Arduinos




Monday, 18 January 2010
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
Pachube

Monday, 18 January 2010
Pachube Arduino Code
                   • Runs on Arduino with an ethernet shield
                   • Sends values to Pachube
                   • Request values via Pachube




Monday, 18 January 2010
Pachube API
                   •      Communicates over HTTP
                   •      Plain text (csv), XML or Jason
                   •      REST based
                   •      Large base of supported languages




Monday, 18 January 2010
Pachube Triggers
                   • Pachube can call an URL on value change
                   • The URL can be a dynamic




Monday, 18 January 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




Monday, 18 January 2010
It’s Fun!

Monday, 18 January 2010
Useful Sites
                          List of useful hardware and software
                          sites




Monday, 18 January 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/




Monday, 18 January 2010
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
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

More Related Content

Viewers also liked

Viewers also liked (6)

ColdFusion Security and Risk Management
ColdFusion Security and Risk ManagementColdFusion Security and Risk Management
ColdFusion Security and Risk Management
 
Edge Of The Web
Edge Of The WebEdge Of The Web
Edge Of The Web
 
Corso Security Manager
Corso Security ManagerCorso Security Manager
Corso Security Manager
 
ColdFusion Security and Risk Management
ColdFusion Security and Risk ManagementColdFusion Security and Risk Management
ColdFusion Security and Risk Management
 
Brochure 11352
Brochure 11352Brochure 11352
Brochure 11352
 
What's the Right Messaging Standard for the IoT?
What's the Right Messaging  Standard for the IoT?What's the Right Messaging  Standard for the IoT?
What's the Right Messaging Standard for the IoT?
 

Similar to Putting your device in a browser or on the web

A brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) ThingA brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) ThingTinamousSteve
 
Build IoT Applications with C#
Build IoT Applications with C#Build IoT Applications with C#
Build IoT Applications with C#Ken Samson, MISM
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot surveyMatt Haines
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoPreet Sangha
 
Unit 6 - PART2.pptx
Unit 6 - PART2.pptxUnit 6 - PART2.pptx
Unit 6 - PART2.pptxBLACKSPAROW
 
Arduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeArduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeJustin Grammens
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
IoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical worldIoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical worldIvo Andreev
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Piyeokm1
 
Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...
Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...
Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...WithTheBest
 
2.2. Introduction to Arduino
2.2. Introduction to Arduino2.2. Introduction to Arduino
2.2. Introduction to Arduinodefconmoscow
 
MicroPython&electronics prezentācija
MicroPython&electronics prezentācija MicroPython&electronics prezentācija
MicroPython&electronics prezentācija CRImier
 
Os hardware meets os software
Os hardware meets os softwareOs hardware meets os software
Os hardware meets os softwarePaul Tanner
 
Hacking Meatspace with Arduino and pyFirmata
Hacking Meatspace with Arduino and pyFirmataHacking Meatspace with Arduino and pyFirmata
Hacking Meatspace with Arduino and pyFirmataChes Martin
 

Similar to Putting your device in a browser or on the web (20)

A brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) ThingA brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) Thing
 
Build IoT Applications with C#
Build IoT Applications with C#Build IoT Applications with C#
Build IoT Applications with C#
 
IoT: An introduction
IoT: An introductionIoT: An introduction
IoT: An introduction
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot survey
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Unit 6 - PART2.pptx
Unit 6 - PART2.pptxUnit 6 - PART2.pptx
Unit 6 - PART2.pptx
 
Arduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeArduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things Landscape
 
Hubduino
HubduinoHubduino
Hubduino
 
IoT Session Thomas More
IoT Session Thomas MoreIoT Session Thomas More
IoT Session Thomas More
 
Cc internet of things @ Thomas More
Cc internet of things @ Thomas MoreCc internet of things @ Thomas More
Cc internet of things @ Thomas More
 
Arduino for developers by Steve Robinson
Arduino for developers by Steve RobinsonArduino for developers by Steve Robinson
Arduino for developers by Steve Robinson
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
IoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical worldIoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical world
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Pi
 
Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...
Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...
Prototyping IoT- Easy Tools to Start Demonstrating Your Hardware Ideas- Santh...
 
2.2. Introduction to Arduino
2.2. Introduction to Arduino2.2. Introduction to Arduino
2.2. Introduction to Arduino
 
IoT Presentation slides
IoT Presentation slidesIoT Presentation slides
IoT Presentation slides
 
MicroPython&electronics prezentācija
MicroPython&electronics prezentācija MicroPython&electronics prezentācija
MicroPython&electronics prezentācija
 
Os hardware meets os software
Os hardware meets os softwareOs hardware meets os software
Os hardware meets os software
 
Hacking Meatspace with Arduino and pyFirmata
Hacking Meatspace with Arduino and pyFirmataHacking Meatspace with Arduino and pyFirmata
Hacking Meatspace with Arduino and pyFirmata
 

Recently uploaded

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Recently uploaded (20)

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Putting your device in a browser or on the web

  • 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
  • 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
  • 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