I´m working on a project in which I want to send sensor data from Arduino via Serial Communication to PHP.
Unfortunately I can not read the Serial Port in PHP. However the other direction (PHP to Arduino) works perfectly. I´m using the php_serial.class.php from Rémy Sanchez, modified by Rizwan Kassim. I´m dependant from the readPort() - function.
I´m working with an Arduino UNO and Apache WAMP-Server on Mac OS X. I should realise the serial connection without Ethernet shield. In further steps I have to save the received data from the serial port in a MySql database. I have indeed seen a couple of entries covering this issue, but they don´t really help me. I have tried so much. I´m sure, someone has some working codes and can upload them. What am I doing wrong? I hope someone will post the code or has a tip!
By the way, here is a video from a guy who succeeded. But I can´t get the codes.... Thanks in advance for your advice!
Greets Fab