Pi Webserver to Arduino
-
- Posts:40
- Joined:Tue Aug 16, 2016 9:17 am
Hi everyone,
Is it possible to control the arduino web content from another webserver? I think it should be but am struggling to find anything decent on the interwebs that provides any insight. I want to be able to send control commands from a Raspberry Pi web server to my arduino.
I'm expecting someone will come back and tell me this is a simple task and I'll feel like a real goose then.
Is it possible to control the arduino web content from another webserver? I think it should be but am struggling to find anything decent on the interwebs that provides any insight. I want to be able to send control commands from a Raspberry Pi web server to my arduino.
I'm expecting someone will come back and tell me this is a simple task and I'll feel like a real goose then.
Re: Pi Webserver to Arduino
I would like to know too, but have to ask you if you have worked out the physical or wireless connection yet?
-
- Posts:40
- Joined:Tue Aug 16, 2016 9:17 am
Re: Pi Webserver to Arduino
I'm using an EtherTen that's just connected to the same network as my pi... If that's what you mean.
Re: Pi Webserver to Arduino
Not sure about that, but maybe some clues here...
http://www.freetronics.com.au/pages/pil ... rted-guide
https://github.com/freetronics/PiLeven/wiki/I2C
So then: http://lmgtfy.com/?q=i2c+over+Ethernet
Gives...
http://electronics.stackexchange.com/qu ... at5-cables
https://www.youtube.com/watch?v=5OfNkYFVU1c <<< Not very helpful, but proof it works!
Over to you, and do please share results
http://www.freetronics.com.au/pages/pil ... rted-guide
https://github.com/freetronics/PiLeven/wiki/I2C
So then: http://lmgtfy.com/?q=i2c+over+Ethernet
Gives...
http://electronics.stackexchange.com/qu ... at5-cables
https://www.youtube.com/watch?v=5OfNkYFVU1c <<< Not very helpful, but proof it works!
Over to you, and do please share results

Re: Pi Webserver to Arduino
More, maybe...
http://lmgtfy.com/?q=raspberry+pi+Arduino+i2c
https://oscarliang.com/raspberry-pi-ard ... ected-i2c/
https://create.arduino.cc/projecthub/ph ... iot-63d599
http://www.freetronics.com.au/blogs/new ... 7WAwjeRy4I
http://lmgtfy.com/?q=raspberry+pi+arduino+i2c+ethernet
https://reidcarlberg.com/2015/03/03/con ... j45-ports/
https://www.youtube.com/watch?v=F-te4qkbh28
http://lmgtfy.com/?q=raspberry+pi+Arduino+i2c
https://oscarliang.com/raspberry-pi-ard ... ected-i2c/
https://create.arduino.cc/projecthub/ph ... iot-63d599
http://www.freetronics.com.au/blogs/new ... 7WAwjeRy4I
http://lmgtfy.com/?q=raspberry+pi+arduino+i2c+ethernet
https://reidcarlberg.com/2015/03/03/con ... j45-ports/
https://www.youtube.com/watch?v=F-te4qkbh28
-
- Posts:40
- Joined:Tue Aug 16, 2016 9:17 am
Re: Pi Webserver to Arduino
Thanks Dave, not really what I'm after though.
I already have a Pi LAMP server on my network that I want to host the main home automation webpages. I have an EtherTen (with a relay 8 shield) controlling relays in another part of the house that is connected to my network (POE).
My aim is to serve up the webpages from my Pi, but essentially send the POST control to the EtherTen in order to activate the relays that can already be controlled the the EtherTen's own web page.
I already have a Pi LAMP server on my network that I want to host the main home automation webpages. I have an EtherTen (with a relay 8 shield) controlling relays in another part of the house that is connected to my network (POE).
My aim is to serve up the webpages from my Pi, but essentially send the POST control to the EtherTen in order to activate the relays that can already be controlled the the EtherTen's own web page.
Re: Pi Webserver to Arduino
Do you have an iPad?
-
- Posts:40
- Joined:Tue Aug 16, 2016 9:17 am
Re: Pi Webserver to Arduino
A few actually lol
Re: Pi Webserver to Arduino
Also next questions before I reply...
Why "POST" and not "GET"?
And you said LAMP, but is P for PHP or Python?
Why "POST" and not "GET"?
And you said LAMP, but is P for PHP or Python?
-
- Posts:40
- Joined:Tue Aug 16, 2016 9:17 am
Re: Pi Webserver to Arduino
Well I'm open to options on POST or GET. Still learning when it comes to web page development.
It's a LAMP server because I plan to host other pages etc on it too.
It's a LAMP server because I plan to host other pages etc on it too.