Pi Webserver to Arduino

Just want to hang out with other Makers and chat about stuff? This is the place to do it.
keiranwyllie
Posts: 40
Joined: Tue Aug 16, 2016 9:17 am

Pi Webserver to Arduino

Post by keiranwyllie » Tue Aug 16, 2016 10:39 pm

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.

DaveMark
Posts: 57
Joined: Sat Sep 20, 2014 11:10 am

Re: Pi Webserver to Arduino

Post by DaveMark » Thu Aug 18, 2016 7:42 am

I would like to know too, but have to ask you if you have worked out the physical or wireless connection yet?

keiranwyllie
Posts: 40
Joined: Tue Aug 16, 2016 9:17 am

Re: Pi Webserver to Arduino

Post by keiranwyllie » Thu Aug 18, 2016 8:28 am

I'm using an EtherTen that's just connected to the same network as my pi... If that's what you mean.

DaveMark
Posts: 57
Joined: Sat Sep 20, 2014 11:10 am

Re: Pi Webserver to Arduino

Post by DaveMark » Thu Aug 18, 2016 9:08 am



keiranwyllie
Posts: 40
Joined: Tue Aug 16, 2016 9:17 am

Re: Pi Webserver to Arduino

Post by keiranwyllie » Thu Aug 18, 2016 10:05 am

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.

DaveMark
Posts: 57
Joined: Sat Sep 20, 2014 11:10 am

Re: Pi Webserver to Arduino

Post by DaveMark » Thu Aug 18, 2016 10:45 am

Do you have an iPad?

keiranwyllie
Posts: 40
Joined: Tue Aug 16, 2016 9:17 am

Re: Pi Webserver to Arduino

Post by keiranwyllie » Thu Aug 18, 2016 10:54 am

A few actually lol

DaveMark
Posts: 57
Joined: Sat Sep 20, 2014 11:10 am

Re: Pi Webserver to Arduino

Post by DaveMark » Thu Aug 18, 2016 9:03 pm

Also next questions before I reply...

Why "POST" and not "GET"?

And you said LAMP, but is P for PHP or Python?

keiranwyllie
Posts: 40
Joined: Tue Aug 16, 2016 9:17 am

Re: Pi Webserver to Arduino

Post by keiranwyllie » Fri Aug 19, 2016 11:13 pm

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.

Post Reply