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.
| 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... |
No application links were specified for this class.