Build a webserver with arduino

Hi all,
First of all, excuses for my English, my speaking is much better
I would like to build a webserver with the arduino Mega board and a wifi shield. I want to read data from the arduino and control it trough a website.
Does anyone here have some experience with this?
Which wifi shield can I use for this project, that 's still available wright now?
Are there some examples of code available for the arduino?
Thx
McNulty
Are you talking about this WiFi Shield V2.1?
https://www.dfrobot.com/index.php?route= ... uct_id=548
According to the documentation it can be a client or server.
https://www.dfrobot.com/image/data/TEL00 ... 20V101.pdf

Manolis,
Have you read through the tutorial included in the product page? I'm not sure what you mean by send information to a server? This Wifi shield only uses the Arduino Tx/Rx pins for serial communication, so you are limited to sending information through wifi to a hyperterminal. You can use some "processing" or "python" code to monitor this hyperterminal connection and perform actions based on the received information.

I found that in the WizSmartScript. There is a need to Start the script, then quickly stop and start it again and then the command works!
Thought it might be helpful to share.

I found that in the WizSmartScript. There is a need to Start the script, then quickly stop and start it again and then the command works!
Thought it might be helpful to share.

Things I learned so far are the WIZSmart Script Utility only works on Windows 32-bit.
I cannot connect to the device using the utility, says "AT COMMAND ERROR"
In my Arduino case, I am using a Windows on Parallels as a virtual machine, I connect to the Arduino board and upload to it fine by itself.
However, when I attach the Wifi shield, upon upload I get this "avrdude: stk500_getsync(): not in sync: resp=0xde" .
I'll keep you posted with my progress and I hope you do the same.

Things I learned so far are the WIZSmart Script Utility only works on Windows 32-bit.
I cannot connect to the device using the utility, says "AT COMMAND ERROR"
In my Arduino case, I am using a Windows on Parallels as a virtual machine, I connect to the Arduino board and upload to it fine by itself.
However, when I attach the Wifi shield, upon upload I get this "avrdude: stk500_getsync(): not in sync: resp=0xde" .
I'll keep you posted with my progress and I hope you do the same.

I have bought the DFRobot WiFi Shield V2.1 but I'm a bit lost.
are there any tutorials with a walkthrough on how to send information to
a server?
Thanks a lot,
Manolis

I have bought the DFRobot WiFi Shield V2.1 but I'm a bit lost.
are there any tutorials with a walkthrough on how to send information to
a server?
Thanks a lot,
Manolis

We were talking about the previous version. But when we say an Arduino web server, and connecting as "client" or "server" is two different things.
1. Arduino Web server: An Arduino sketch which is actually providing a website to connect to through a specified IP Address, which the user can interact with and send commands to in order to manipulate the Arduino.
2. Wifi connection as server: The Wifi Module on the shield waits for an incoming connection request from a remote device in order to establish a connection. This connection does not in it's self provide any website or service, simply a connection.
These wifi shields (v1 and V2) behave similarly in that they only use the Rx/Tx pins of the arduino and therefore are unable to provide fancy communications protocols. They are limited to only serial communications.
If you really want to provide internet connectivity or a web server to your projects I suggest using the Xboard along with a pair of Xbee modules.

We were talking about the previous version. But when we say an Arduino web server, and connecting as "client" or "server" is two different things.
1. Arduino Web server: An Arduino sketch which is actually providing a website to connect to through a specified IP Address, which the user can interact with and send commands to in order to manipulate the Arduino.
2. Wifi connection as server: The Wifi Module on the shield waits for an incoming connection request from a remote device in order to establish a connection. This connection does not in it's self provide any website or service, simply a connection.
These wifi shields (v1 and V2) behave similarly in that they only use the Rx/Tx pins of the arduino and therefore are unable to provide fancy communications protocols. They are limited to only serial communications.
If you really want to provide internet connectivity or a web server to your projects I suggest using the Xboard along with a pair of Xbee modules.

sorry, this WiFi shield can not run a webserver, it can only do serial communications. You could setup a webserver on your pc and have it listen for your wifi shield to provide information to it, and send information to it serially. That is the alternative.

sorry, this WiFi shield can not run a webserver, it can only do serial communications. You could setup a webserver on your pc and have it listen for your wifi shield to provide information to it, and send information to it serially. That is the alternative.

I have bought the DFrobot wifi shield. I followed the tutorial succesfully: https://wiki.dfrobot.com/WiFi_Shield_Fo ... U_TEL0019_
But now i want more then light up a LED.
Is it possible to run a webserver on this shield? Is there comming a tutorial for this also?
Or is there a sketch available?
Grtz,
McNulty

I have bought the DFrobot wifi shield. I followed the tutorial succesfully: https://wiki.dfrobot.com/WiFi_Shield_Fo ... U_TEL0019_
But now i want more then light up a LED.
Is it possible to run a webserver on this shield? Is there comming a tutorial for this also?
Or is there a sketch available?
Grtz,
McNulty
