Designed for data-logging applications (weather, hydroponics, greenhouses, aquariums, home automation, power consumpion, solar or wind generators etc.), this solution can be useful also in alarms and burglar.
Now you can develop MySQL and web enabled Arduino applications only working on Arduino and PHP.
To keep ligth the Arduino Sketch, you can port all not realtime logic to PHP side.
At the end your application will works on XQ+Arduino UNO even 24/7 with only 20 Watt AC power, and can be controlled by smartphone via WiFi or from Internet using some free dynamic IP.
What more?
Enjoy.
Sources in github https://github.com/msillano/USBphpTunnel
Preconditions:
MXQ + Palapa Web server, Arduino UNO
Install:
- Download USBphpTunnel11_d.apk and the full test_files dir
- See file /test_files/readme.txt
Features
- Send and receive data from Arduino until 115200 baud
- Call php pages on palapa web server
- On terminal debug messages from Arduino and PHP
- Autostarts when Arduino is plugged to USB
- Standalone, only 20 Watt (MXQ+Arduino UNO)
- Ver. 1.1 MXQ starts with Arduino plugged
- Ver. 1.1 MXQ reboots (optional) every 24h