Hi friends, I'm working on a relay control via web and am experiencing some problems with our udoo. PHP simply does not recognize the door / dev/ttymxc3 that the fopen command. me no access to the relay when I try to test the page. I test it directly on the Arduino serial monitor my code works perfectly. I did tests with Windows using COM port and it works too! I'll post the code here so they can take a look and maybe they find a course for my situation. Arduino PHP/HTML I hope you can help! Leandro
The problem could be that you don't have permission for the /dev/ttymxc3, you can use the command chmod 777 /dev/ttymxc3 and retry to connect via php. if you want use more settings there is a php library to set up the serial, it works correctly.
Yes, I had the same problem with PHP, setting up permissions on the serial solved it Code: sudo chmod 777 /dev/ttymxc3
Hi Everyone, I´m new on this and need some help about a Project that I´m working. I´m working with a ULTRASONIC sensor and I can´t communicate with PD. I´m using the Patch "Smart Theremin" : I don´t understand how to fix with PHP... I´m new in this,,, Someone can help me Please? There is the error on PD: [comport] opening serial port 0 failed! Opening /dev/ttymxc3 [comport]: could not open device /dev/ttymxc3: failure(3) ERROR_PATH_NOT_FOUND The arduino patch show the comport 3, I try to change to comport 3 on PD and doesn´t work... Thanks Ana