Internet Control of Arduino

" Maybe in order to understand mankind, we have to look at the word itself: "Mankind". Basically, it's made up of two separate words - "mank" and "ind". What do these words mean ? It's a mystery, and that's why so is mankind." - Deep Thoughts by Jack Handy

I am still somewhat confused as to which code goes where? This is the way I think it works, let me know if I am wrong. PHP or Processing code goes on the Ethernet Shield, this acts like a server and plugs into my router.

You are wrong. The ethernet shield is a hardware extension to the Arduino. The Arduino code controls what the ethernet shield does. The Arduino with ethernet shield plugs into your LAN and acts like a server or client depending on the code installed.

But if you do not have an ethernet shield I can load the PHP code or Processing code into a program called Apache on my desktop which simulates a server.

More no. Apache is a web server for the PC. It can serve up pages that include PHP scripting.

What is the differences between Processing and PHP?

What is the difference between a tree and an alligator? They are completely different applications for different purposes.

To create a webpage with buttons that will work on my blackberry to trigger LED's I need to write HTML code?


Which software do I use to create buttons on a website

Any software that can output an html file.

can it be done in PHP or processing?

PHP - Yes. Processing - No.

I see a lot of people using MySQL in there projects, what is that for?

Its a relational database application.

Which software do I use to create buttons on a website

Probably best to start with a simple text editor, because then you know EXACTLY what is going into the webpage you've made with a button.

Making the webpage isn't the hard part. Making a webpage with a button, and making the computer serving the webpage deal with responding to a user clicking on the button is the hard part.

Do you know how to create a simple webpage that merely displays "Hello World" when someone goes to it? If not, you need to start there.

Details at...

That page assumes that you are going to have someone else host your webpage. In the Arduino world, you will eventually have to master everything at the page above, PLUS set up your Arduino so that it is hosting the page you have written. Not impossible... but a bit of a "journey".

If anyone has a "how to set up your Arduino to serve a "Hello World" webpage" guide, I would love to know where that page (the guide) is....

If anyone has a “how to set up your Arduino to serve a “Hello World” webpage” guide, I would love to know where that page (the guide) is…

It’s not quite a tutorial / guide, but if you install the Ethernet library (required for the official Ethernet shield) there’s always:

Arduino IDE → File → Examples → Ethernet → WebServer

Ethernet shield with Power-over-Ethernet support and proto area:

Not quite what I was looking for, but if you are on a similar quest, the code at...

... might be of interest. Within that is sort of an "Hello world".


Encouraged by the post I mentioned in the previous post, I looked a little further, and then found what I've been looking for for several years. Took the plunge, bought an ethernet shield (from Nuelectronics... $25, and very good service... but they are in the UK, which will be a factor for some readers)... and now have a webpage up running on $40 of hardware, including the Arduino dedicated to it.

Explained the way I'd hoped someone would explain it to me (Nuelectronics came close) at...