File: readme.txt

Recommend this page to a friend!
  Classes of Marco Sillano  >  IRP Classes  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: IRP Classes
Send and receive infrared commands via serial port
Author: By
Last change:
Date: 3 years ago
Size: 1,486 bytes
 

Contents

Class file image Download
The irp_classes.php implements the core algorithms required for working with IR remote control, i.e. encode and decode RAW IR commands.
This is an implementation of 'IRP Execution Model' (see http://www.hifi-remote.com/wiki/index.php?title=IRP_Execution_Model) using php.
The  irp_classes.pnp contains also methods to handle IR strems without IRP, using 'learn and repeat' strategy.
It make easy to build IR applications whit data base and WEB interface.
In this dir, with irp_classes.php, you can found also 2 example applications:
 1) full-test, a test-case for irp_classes.php, showing all main features of the library using many IRP.
 2) decode-test, to decode IR data, recorded or live, using an Arduino IR receiver and a php serial extension.
A more complex example can be found in 'remoteDB', a demo application using MySQL database. (https://github.com/msillano/remoteDB)
-------------
Copy all in the web area of your server: e.g. ' ...\apache\htdocs\www\phpIRPlib'.
------------- optional
If you have Arduino-uno and an IR receiver:
         See the dir Arduino
------------- optional
Serial communications php-Arduino in windows:
         Download and install 'PHP Serial extension' free from http://www.thebyteworks.com (with some limits).
-------------
note:
The 'decode-test' demo can run without Arduino IR HW and serial extension, using recorded IR data.
If you have some different IR HW, modify irp_rxtxArduino.php to receive RAW data from your HW.

For more information send a message to info at phpclasses dot org.