![]() ![]() This list is not exhaustive, but at this point I decided to abandon the entire idea. This option might be your best bet on Windows, but obviously makes things more complicated. In PHP, you’d simply connect to the socket provided by the proxy (careful, some are unidirectional). They are written in languages better suited for the task (well some of them are) and act as intermediaries between serial and network connections. You’ll find many of these proxies on Arduino Playground, including useful descriptions. On Windows, “it seems to be working for some people, not working for some others.” Good luck. On a Linux system, according to what I’ve read, the DIO extension is probably the best way to use a serial port with PHP. The following article contains instructions on how to install and use it: How do I control a serial port using PHP? The required php_dio.dll file is available for PHP up to version 5.6, though the PHP manual says that the DLL is “ currently unavailable” (which is true if you’re using PHP 7). The DIO functions have not been bundled with PHP for years, but you can download the DIO Package here (it’s still in beta). After briefly looking into it, I wouldn’t recommend it for production systems. ![]() ![]() Unlike Flash or JavaScript, PHP is not sandboxed and might therefore look like an acceptable choice when trying to communicate over RS-232. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |