Handy Link: PHP Serial Class

{lang: 'en-GB'}

Need a way to talk to your serial devices (Arduino, PIC Micro, etc) using PHP? This nifty new Serial PHP Class written by Rémy Sanchez should scratch your itch! It currently works with Windows and Linux systems.

As of the time this post was written, you will need a Linux system to use the full (that is, Read AND Write) functionality of the Serial Class.  If you are using it under Windows, you will only have Write access to the serial port, but as you can still do quite a lot with just write access as far as projects are concerned I don’t see that as a major drawback.

If you want to see a practical example of the PHP Serial Class in use, the guys at Hak5 have used it to control a Garage door via a Web interface. You can view the full episode here.