Open Source Developers' Conference 2005 OSDC Logo



Making Things Move: Finding Inappropriate Uses For Scripting Languages

To add a paper, Login.

Most software developers work with on-screen systems, where the only external interaction they have is through traditional devices like the keyboard and screen. However, it's easier than you may think to connect real-world devices to your computer for control and data collection, and scripting languages like PHP, Perl and Python are ideal for rapid development of control or data logging software.

The presentation will begin with a demonstration of connecting to the parallel port using a trivial C program that provides a simple interface to be called by a script, making it possible to access the port even from languages without native parallel port support. Language specific modules and extensions that allow more flexibility will also be mentioned. Use of the parallel port to control devices and collect data will then be demonstrated, including a letterbox sensor to detect when (physical) mail has been delivered, control of home lighting, and control of other devices such as fans and electric curtains using a web interface driven by PHP.

Other interface options including USB, PS/2, and regular serial ports will then be discussed, and other devices including a home-made RFID reader and electric door strike will be demonstrated. Surgically implantable RFID tags will also be demonstrated.

Finally integration with the GNOKII SMS tools will be demonstrated, showing how scripting languages can provide the glue that allows things such as:

- Delivery of physical mail to a letterbox generating an SMS.
- Sending an SMS to unlock a door.
- Unlocking a door, opening curtains and turning on lights when an RFID token is read.

Attendees will end the session with an appreciation for the flexibility of scripting languages as general-purpose glue for binding together assorted subsystems, and the ways computers can be used to interract with the real world.

Keywords: PHP, robotics, serial, parallel, rfid, interface, automation
Stream: PHP
Presentation Type: Keynote Presentation in English
Paper: A paper has not yet been submitted.

Jonathan Oxer

Technical Director, Internet Vision Technologies

Jonathan is a Debian GNU/Linux developer, and organised Debian Miniconf 2 in Perth in January 2003, Debian Miniconf 3 in Adelaide in January 2004, and Debian Miniconf 4 in Canberra in April 2005 in association with where he also presented technical papers. He has also spoken on various Internet-related topics at both corporate and government seminars and has been a guest on radio station RRR's Byte Into It segment. He sits on the Advisory Group of Swinburne University's Centre for Collaborative Business Innovation, responsible for researching and formulating future IT-related post-graduate curriculum strategies, and on the Australian Federal government's e-Research Coordinating Committee Reference Group. Jonathan is President of Linux Australia, the national organisation for Linux users, developers and vendors, and is also a Committee Member and regular speaker at the Melbourne PHP User Group. He has been a regular contributor to the Australian Linux magazine linmagau with a column titled The Debian Universe, is the author of How To Build A Website And Stay Sane, provided technical input to Linux Desktop Hacks, and is already hard at work on his next three books: Web-Based Business Intelligence, Disaster Proofing For Small Networks, and The Debian Universe, which is based on his writings for linmagau. He also writes regularly for The Age and Sydney Morning Herald IT sections.

Ref: OS5P0030

Melbourne Perl Mongers DList
Digital Dimensions
Copyright © 2005
OSDC 2005 hosted by Melbourne Perl Mongers
For futher information contact Scott Penrose
Hosting provided by Digital Dimensions and DList
Web site and logo design by Amanda Penrose