Arduino Web Server

3,828

45

9

About: If it moves and it isn't supposed to move, Duct Tape it. If it doesn't move and its supposed to move, WD40 it. Hack with Sugru. Conor is a participant in the Amazon Services LLC Associates Program, an affi...

This instructable will show you how to make an Arduino web server that you can turn an led on and off and rotate a servo motor with an internet connection.

You will need:

1x Arduino Uno:

-US Link: http://amzn.to/2nf4tyO

-UK Link:

1x Ethernet Shield:

-US Link: http://amzn.to/2nfghB7

-UK Link:

1x Ethernet Cable:

-US Link: http://amzn.to/2nfgsMN

-UK Link

1x 220 Ohm Resistor and LEDs:

-US Link: http://amzn.to/2mjCzm9

1x 220 Ohm Resistor:

-UK Link:

1x LED:

-UK Link:

1x Micro Servo Motor:

-UK Link

1x Breadboard:

-US Link: http://amzn.to/2lEEhBw

-UK Link

Jumper Cables:

-US Link: http://amzn.to/2nfeNXJ

-UK Link

Step 1: The Schematic

Make this up on your breadboard!

Step 2: Now Upload the Code

Make sure to change the IP address so it works with your router then upload it to your Arduino.

Step 3: Connect Up:

You now need to connect up the Ethernet cable to your router and plug in your Arduino to start the program.

Step 4: The Challenge:

See if you can make it move when connected to other Wi-Fi networks other than your own. You will need to go into router settings to do this so make sure you know what you are doing because if you change the wrong setting(s) you might be locked out and unable to change it back.

Rainy Day Challenge

Participated in the
Rainy Day Challenge

Digital Life 101 Challenge

Participated in the
Digital Life 101 Challenge

Share

    Recommendations

    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • 1 Hour Challenge

      1 Hour Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    9 Discussions

    0
    None
    diytransistor

    2 years ago

    I see that your code and schematic come from Rui Santos, but nowhere do you give him credit. I think you owe it to him to put his name in the intro.

    3 replies
    0
    None
    Conor Mdiytransistor

    Reply 2 years ago

    I haven't seen his schematic (or heard his name) and I made it myself using a program called fritzing.

    0
    None
    robdevenneyConor M

    Reply 1 year ago

    Conor the commentor was referring to the sketch / script including the css code which I agree clearly belongs to Rui Santos... and you should credit him. The css is hosted at the domain randomnerdtutorials.com which is owned by Rui Santos so unless you have two names that isn't you. It's good you made a Instructable showing people how to do this but credit where credit is due given that you found plenty of time to add affiliate links and to add your name in the footer of the html code

    0
    None
    diytransistorrobdevenney

    Reply 1 year ago

    Yes I agree with robdevenney and suggest you put his name in the intro saying you used his schematic, code and give full credit to him. Also, in the code, change it from by Conor M to by Rui Santos and edited by Conor M, if you edited it of course. If not, say by Rui Santos. We all should give credit where credit is due and show appreciation for open source resources. Thank you!

    0
    None
    Nitr0

    3 years ago

    Can you use this webserver to host a Bitcoin Mining pool? Or does it need more processing power?

    1 reply
    0
    None
    Conor MNitr0

    Reply 3 years ago

    You might need to save the website on an SD card as it wont have enough memory but I'm not sure if it would be powerful enough, you might need to us a raspberry pi2 as it has 1gb of ram.

    0
    None
    Nitr0

    3 years ago

    Can you use this webserver to host a Bitcoin Mining pool? Or does it need more processing power?

    0
    None
    Conor M

    3 years ago

    Thanks have you tried it?