Domotic with Arduino + RaspberryPI + PHP + JSON + jQuery.
Opensource platform and browser-independent web based Arduino bidirectional remote control & sensors. (Smartphone optizimized)
1 - Download all the zip files
2 - Load the sketch ArduDome.ino in your Arduino UNO board
3 - Put a 10uF capacitor between GND and RESET (this will disable autoreset feature on serial open)
4 - Connect you Arduino UNO through USB port to your RaspberryPI (or any other Linux PC) with apache and php preinstalled
5 - Put all files (except for Ardudome.ino and functions.ino) in your www directory (usually /var/www)
6 - Verify the name of your USB serial port (usually /dev/ttyACM0) and change it in ardudome.php ($serial->deviceSet("/dev/ttyACM0");)
7 - Give the user www-data permission for dialout (usermod -a -G dialout www-data)
8 - Verify connection (php ardudome.php)
9 - Open your web browser from smartphone or PC to http://yourraspberryip/ardudome.html
Enjoy!
http://www.arduinoelettronica.com
by Luca Soltoggio
If you find this project useful and would like to support its development, consider making a donation. Any contribution is greatly appreciated!
Bitcoin (BTC) Addresses:
- 1LToggiof3rNUTCemJZSsxd1qubTYoSde6
- 3LToggio7Xx8qMsjCFfiarV4U2ZR9iU9ob