Skip to content
This repository

A web-based controller for the Arduino. It uses PHP serial class and jQuery to dynamically change ports on the Arduino.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Arduino
Octocat-spinner-32 api
Octocat-spinner-32 css
Octocat-spinner-32 data
Octocat-spinner-32 img
Octocat-spinner-32 js
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .htaccess
Octocat-spinner-32 README.md
Octocat-spinner-32 basic.php
Octocat-spinner-32 footer.php
Octocat-spinner-32 header.php
Octocat-spinner-32 hover.php
Octocat-spinner-32 index.php
Octocat-spinner-32 picker.php
Octocat-spinner-32 sensor.php
README.md

ArduinoPi Controller

The ArduinoPi controller is a web-based solution to control your Arduino using a RaspberryPi. The controller uses AJAX and PHP, this github demonstrates some of the possibilities. The communication between the RaspberryPi and the Arduino is possible thanks to the php_serial.class.php.

I also want to thank the following authors/scripts/plugins for making my coding easier:

Warning: Before checking out the repo, please make sure you have a basic understanding of HTML, CSS, PHP and jQuery (and C++)

Changed

v1.6

Analog ports are now called using 0-15 (for arduino mega), adding the A for analog will not work anymore and should be avoided Also changed some bugs in the Arduino Code.

v1.5

From this version on, I've changed the way analog ports can be used as digital ports. If you want to use a analog port as a digital port then include the real value of the analog port. For example on my Arduino MEga 2560 I have 52 digital ports, port 53 is my A0 port and so on.

More Information & Options

Check my blog for more information how to use the API: blog
More information on how to connect the Raspberry Pi with the Arduino and how everything works can be found on my blog: fritz-hut.
Code is free for all to be used, copied, changed, edited and deleted. I only ask a simple link to my blog if you use my code :)

A Python version can be found here

Something went wrong with that request. Please try again.