PHP Classes
elePHPant
Icontem

PHP TCP Arduino: Communicate with a Arduino device via TCP IP

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-10-29 (14 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 15 This week: 8All time: 9,743 This week: 33Up
Version License PHP version Categories
phptcparduino 1.0MIT/X Consortium ...5Networking, PHP 5, Console, Hardware
Description Author

This class can communicate with a Arduino device via TCP IP.

It reads values from the command line arguments like the host address, the port, or the connection timeout value.

The class can connect to given Arduino host via TCP and listens to the responses.

It also displays the received message to the console terminal and sends the message back to the current server.

Innovation Award
PHP Programming Innovation award nominee
October 2019
Nominee
Vote
Arduino is a popular platform for developing electronic devices that can be controlled remotely using networking chips such as those that provide connection capabilities via WiFi.

This package can be used to connect to a Arduino device using a TCP based protocol, so it can control the device remotely using PHP code.

Manuel Lemos
  Performance   Level  
Name: Natanael Augusto Viana ... <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 28
All time rank: 3118232 in Brazil Brazil
Week rank: 44 Up1 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

 

Details

PhpTCPArduino

Usage

php TCPArduino.php host port [timeout]
  Files folder image Files  
File Role Description
Accessible without login Plain text file README.md Doc. Documentation
Plain text file TCPArduino.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:15
This week:8
All time:9,743
This week:33Up