1 / 22

Phidgets and the programming framework

Phidgets and the programming framework. HMI Seminar Tangible User Interfaces F. Evequoz 23.12.2005. summary ::. traditional physical UI examples problems phidgets goals definition architecture API java API programming applications references bibliography programming resources.

jens
Download Presentation

Phidgets and the programming framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Phidgets and the programming framework HMI Seminar Tangible User Interfaces F. Evequoz 23.12.2005 DIVA Group – University of Fribourg

  2. summary :: • traditional physical UI • examples • problems • phidgets • goals • definition • architecture • API • java API • programming • applications • references • bibliography • programming resources DIVA Group – University of Fribourg

  3. traditional physical UI ::examples Walking pad (DIUF) DIVA Group – University of Fribourg

  4. traditional physical UI ::examples Lego Mindstorms DIVA Group – University of Fribourg

  5. traditional physical UI ::examples SmartHome DIVA Group – University of Fribourg

  6. traditional physical UI ::problems • electronics • missing API • unsuited API • commercial target • lack of simulation capabilities DIVA Group – University of Fribourg

  7. phidgets ::goals • simple devices • easy to program … just as widgets make GUIs easy to develop, so could phidgets make the new generation of physical user interfaces easy to develop. DIVA Group – University of Fribourg

  8. phidgets ::definition • widget • (1931) small mechanical device • (today) ‘windows gadget’ • phidget (aka phydget) • ‘physical widget’ DIVA Group – University of Fribourg

  9. phidgets ::definition Phidgets™, or physical widgets, are building blocks that help a developer construct physical user interfaces. DIVA Group – University of Fribourg

  10. phidgets ::architecture Phidget DIVA Group – University of Fribourg

  11. phidgets ::architecture API Simulation Device Device manager DIVA Group – University of Fribourg

  12. phidgets ::API Phidget-specific properties, e.g. NumMotors Phidget-specific events, e.g. OnTag Specific phidget DeviceType IsAttached SerialNumber Generic phidget Int Count Phidget[] Item OnAttach() OnDetach() OnError() Phidgets manager DIVA Group – University of Fribourg

  13. phidgets ::java API DIVA Group – University of Fribourg

  14. phidgets ::java API DIVA Group – University of Fribourg

  15. phidgets ::programming (output) opens Phidget COM Object Device sets creates sets Application DIVA Group – University of Fribourg

  16. phidgets ::programming (input) opens Phidget COM Object Device starts creates fire events reads Listener Application DIVA Group – University of Fribourg

  17. phidgets ::programming Extend adapter Implement OnEvent methods Create COM Object Attach Listener Open connection to device Start listening DIVA Group – University of Fribourg

  18. phidgets ::applications DIVA Group – University of Fribourg

  19. phidgets ::applications DIVA Group – University of Fribourg

  20. phidgets ::applications DIVA Group – University of Fribourg

  21. references ::bibliography • Greenberg S. and Fitchet C., Phidgets : Easy developement of physical interfaces through physical widgets. Proceedings of the ACM UIST 2001 Symposium. • Greenberg S. and Boyle M., Customizable physical interfaces for interacting with conventional applications. Proceedings of the ACM UIST 2002 Symposium. • www.phidgets.com, www.phidgetsusa.com • www.wikipedia.org (phidget, widget) • www.smarthome.com, www.legomindstorms.com • Laroussi Bouguila, Evequoz Florian, Michèle Courant, Béat Hirsbrunner. Active Walking Interface for Human-Scale Virtual Environment. HCII’05. DIVA Group – University of Fribourg

  22. references::programming resources • documentation on www.phidgets.com : • C_API_Manual : basic architecture • http://phidgets.com/documentation/C_API_Manual.pdf • COM_API_Manual : object model (VB) • http://phidgets.com/documentation/COM_API_Manual.pdf • Javadoc : java API, quite similar to COM • http://phidgets.com/documentation/JavaDoc.zip • For each particular phidget see its « hardware description » : • Section labelled « Phidgets » on www.phidgets.com >> Documentation • software introduction and tutorials : • www.phidgets.com >> Documentation • http://www.phidgetsusa.com/tutorials/tutorialhome.asp • code examples : • www.phidgets.com >> Download >> Beta >> Examples.zip • www.phidgets.com >> Project / Examples DIVA Group – University of Fribourg

More Related