Login   Register  
spacer
Login
Register
spacer
spacer
spacer

PHP Serial: Communicate with a serial port

Recommend this page to a friend!
spacer Stumble It! spacer Bookmark in del.icio.us

  spacer Author  
spacer
Rmy Sanchez
Name: Rmy Sanchez is available for providing paid consulting. Contact Rmy Sanchez .
Classes: 4 packages by Rmy Sanchez
Country: spacer France
Age: 25
All time rank: 1279 in France spacer
Week rank: 34 spacer 2 in France spacer spacer
Innovation award
spacer
Nominee: 3x

Winner: 1x


  Detailed description   spacer Download .zip .tar.gz   spacer Install with Composer  
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.

The class is working with Linux for read and write operations, but under Windows it only works for write operations. Under Windiws try accessing the serial port through network with serproxy instead.

The class have been reported to work fine with Mac OS X, but it was not tested it.

  Classes of Rmy Sanchez  >  PHP Serial  >  spacer Download .zip .tar.gz  >  spacer Support forum (36)  >  spacer Blog  >  spacer spacer Latest changes  
Name: PHP Serial
spacer Support forum
Base name: php_serial
Description: Communicate with a serial port
Version: 1.1
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 13201 users
All time rank: 74
Week users: 28 users
Week rank: 28 spacer
 
  Groups   spacer User ratings   Dependents  
  Trackback   Applications   Related pages   spacer Files  

  Groups  
spacer Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes
spacer Windows Use of capabilities specific of the Windows operating systems View top rated classes
spacer Mac OS Use of capabilities specific of Apple Mac operating systems View top rated classes
spacer Hardware Communicate with computer hardware and peripheral devices View top rated classes


  Recommendations  

What is the best PHP serial connection class?
Create serial connection


  Innovation Award  
spacer
February 2007
Number 2


Prize: One downloadable copy of Komodo Pro
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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (79%) Sufficient (75%) - Sufficient (75%) - - Not sure (54%) 1329
Month: Not yet rated by the users

  Other classes that need this package  
Class Why it is needed Dependency
Citizen C2202-PD Control Class Uses PHPSerial to communicate with the device Required

  Pages that reference this package  
Arduino has slowed me down!
Arduino has slowed me down! Posted on August 11th, 2009 in Arduino, August, Electronics, Hobbies Sorry folks, I know Ive been pretty slow to update the site, its just that I bought an Arduino Duemilanove development board , an Ethernet shield from sparkfun electronics and some MegaBrite, ShiftBrite and OctoBrite modules from MaceTech...
Comunicacin 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 adems cmo 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 aplicacin php...
Escribe mensajes en un display desde cualquier parte del mundo
Hoy, navegando me encontr con una pgina 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 poda dejar de escribir aqu de ella. Un chico joven ha conectado un display de leds de 1207pixels y tricolor a un ordenador por el puerto serie (RS232)....
Handy Link: PHP Serial Class
Need a way to talk to your serial devices (Arduino, PIC Micro, etc) using PHP?...
Howto Send/Read SMSs using a GSM modem, AT+ commands and PHP
I need to send/read SMS with PHP...
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...
Leer y escribir el puerto serie con php
Buenas, aca hay algo muchachos pero por lo q v, con esa clase, en windows se puede escribir noms el puerto, pero en linux se puede escribir y leer el puerto serie...
Nouvelle version de phpSerial
Vous pourrez trouver la nouvelle version de phpSerial, ma classe pour lire/crire sur le port srie depuis linux ou windows (sauf que windows gre 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 servers 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
Ive 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 ile COM balantysy
Asagıda ki linkleri bir incele istersen...
PHP Serial Class for OSX
Below is an archive of my PHP Serial Class page from my old site.
PHP Serial port
Just searching for php serial port class came up with this link.
PHP ve Serial Port
-
PHP ve Serial Port
vakti zamaninda kendim yazmıstim ama ticari bir is oldugu iin 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 telefnicas en PHP
Se me ocurren dos soluciones: Puedes usar una clase llamada PHP Serial que creo seria la mejor forma...

spacer Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.

spacer If you know an application of this package, send a message to the author to add a link here.


  Related pages  
Setserial
Homesite of setserial, used by phpSerial

  spacer Files  
File Role Description
spacer examples (3 files)
spacer src (1 file)
spacer spacer php_serial.class.php Class The class itself
spacer composer.json Data Sync with GitHub
spacer CONTRIBUTORS Data Sync with GitHub
spacer COPYING Data Sync with GitHub
spacer
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.