PHP Classes
Icontem

Class: PHP Serial


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rémy Sanchez  >  PHP Serial  >  Download  >  Support forum Support forum (14)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Serial Support forum
Base name: php_serial
Description: Communicate with a serial port
Related top rated classes: , ,
Version: 0.2
Required PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 3999 users
All time rank: 403
Week users: 35 users
Week rank: 131
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependents   Trackback   Applications   Related links   Files Files  

Author

Picture of Rémy Sanchez
Name: Rémy Sanchez is available for providing paid consulting. Contact Rémy Sanchez .
Published packages: 4 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: http://hyperthese.net/
Age: 19
All time rank: 357
Week rank: 163

Innovation Award

PHP Programming Innovation award nominee
February 2007
Number 2
Serial ports are often used to communicate with peripheral devices, such as: modems, POS terminals, special printers, etc..

This class can be used to communicate and configure peripherals connected to a serial port under Linux, simplifying the development of applications that need access serial devices.

Manuel Lemos

Groups

Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes
Group folder image Hardware Communicate with computer hardware and peripheral devices View top rated classes

Detailed description

This class can be used to communicate with a serial port under Linux or Windows.

It takes the path (like "/dev/ttyS0" for linux or "COM1" for windows) of serial device and checks whether it is valid before opening a connection to it.

Once the connection is opened, it can send data to the serial port, and read answers (reading is only implemented for linux).

The class may also change connection parameters for the given serial device.

==> /!\ WARNING /!\ : it's working with linux for r/w, but with windows i've only been able to make write working. If you're a windows user, try to access the serial port through network with serproxy instead.
The class have been reported to work fine with Mac OS X, but i've not tested it, so I've left the OS test in the sourcecode, but feel free to add macos in it.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (90.0%)
Good (85.0%)
-
Good (85.0%)
-
-
Sufficient (62.0%)
522
Month:
Not yet rated by the users

Packages that need this class

Class Dependency Why it is needed
Citizen C2202-PD Control Class
Required
Uses PHPSerial to communicate with the device

Trackback links

Link Description
Comunicación con los puertos serie en PHP Hace tiempo nos preguntaban como leer de los puertos serie desde PHP, y ahora acabo de encontrar eso mismo y además cómo hacerlo para Windows y para Linux...
Controlar puertos serie desde php Existen dos extensiones para conseguir comunicarnos con los puertos series del equipo en el que corre nuestra aplicación php...
Escribe mensajes en un display desde cualquier parte del mundo Hoy, navegando me encontré con una página muy interesante, es un proyecto muy “geek”...
Escribiendo mensajes en un display, a Km de distancia! Es una curiosa idea que vi hace tiempo y dejé pasar, pero ahora le he visto por tantos blogs que no podía dejar de escribir aquí de ella. Un chico joven ha conectado un display de leds de 120×7pixels y tricolor a un ordenador por el puerto serie (RS232)....
Interfacing PHP with the Arduino (with a splash OS X) A while ago I bought an Arduino Diecimila, which is an open-source electronics prototyping platform...
Nouvelle version de phpSerial Vous pourrez trouver la nouvelle version de phpSerial, ma classe pour lire/écrire sur le port série depuis linux ou windows (sauf que windows gère pas la lecture) en PHP sur le site PHP Classes.
PHP and Serial Ports Last month there were at least two enquiries at the Bangalore PHP UG on how to get PHP to communicate with the server’s serial port...
PHP and Serial Ports In a recent post to his blog, Vinu Thomas posted about a PHP extension that allows your scripts to directly interact with the serial ports on the web server its running on...
PHP and the Arduino - Followup I’ve had a bit of interest on the original entry, asking for more detail on the code used in the video demonstation at the end...
PHP ve Serial Port -
PHP ve Serial Port vakti zamaninda kendim yazmıstim ama ticari bir is oldugu için o kodları koyamiyorum buraya... ama altta verdigim classin çalistıgını biliyorum.
PHP: Your imagination is your limit Do you think PHP was only developed for write Web-Sites?...
Possible way to control Parallel port through ID php Possible, use this class...
Tarificador de llamadas telefónicas en PHP Se me ocurren dos soluciones: Puedes usar una clase llamada PHP Serial que creo seria la mejor forma...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Setserial Homesite of setserial, used by phpSerial

Files

File Role Description
Accessible without login Plain text file php_serial.class.php Class The class itself
Accessible without login Plain text file example.php Example A small example
Download all files: php_serial.tar.gz php_serial.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products