Go Down

Topic: Arduino webserver question (Read 951 times) previous topic - next topic

Hi im a high school senior working on a small home automation project for an internship. I was wondering if  it was possible to setup an arduino to serve webpages from .html files on an sd card. Basically my idea is to have a login page, a control page, and a log page showing when different users logged in and what they did. if it's possible do you know of a good tutorial for it? all i have been able to find are tutorials where the web pages were designed in the arduino sketch. Thanks.  :)

billroy

Check out what Zoomkat is up to over here: http://arduino.cc/forum/index.php/topic,144675.msg1088974.html#msg1088974

-br

johnwasser

Here's a step-by-step tutorial that will get you pretty close.

http://www.ladyada.net/learn/arduino/ethfiles.html

I think all you need to do beyond that is recognize file extensions and put in the correct content type in place of:
Code: [Select]

client.println("Content-Type: text/plain");
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy