lizziezeemer Posted December 1, 2016 Share Posted December 1, 2016 Hello all! I'm having a hell of a time trying to figure out this problem, because I haven't worked with PHP before (although I'm anxious to learn more) and I figured you all would be the best people to ask.I'm trying to connect a signal (laser detection) from an arduino board to the computer, where it will go through my website and run a cURL code (the code submits a message to the Slack app, and is currently run using a button on my site). I have my cURL code finished, as well as my arduino IDE code, but I'm having a major disconnect between the two. I know that I have to connect the arduino to the site using a serial port, but I'm pretty out of my league. A colleague gave me a 700-line code called PhpSerial that I was told to include on the code for my site to "open the ports, keep them open and constantly scan for input", but I've had no luck with it at all. I'm increasingly frustrated and could use any advice you could give me! Keep in mind I am completely new at PHP and a lot of what I've researched for the last 2 weeks has gone over my head! Quote Link to comment https://forums.phpfreaks.com/topic/302651-connecting-arduino-to-php/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.