(I'LL NEVER USE AN IC AGAIN).
Greetings to all, my name is Rainier, currently in my second year of Telematics Engineering (A nice mix between Electronics Eng, Computer Science and IT networks), new to Arduino and discovering lots of stuff with it! (I'LL NEVER USE AN IC AGAIN).I've got a question: Is it possible to control, let's say a LED, via a Web Page? I've seen videos in youtube doing it but the creators of the video never specify if they are working in a LAN or over the internet.What I basically want to do is to control 3 different devices (let's say 3 light bulbs to make it easier) in my dorm, but while I'm at college. It doesn't matter if a PC has to be attached to the arduino in order for the system to work.I heard PHP is the way to go, but let's say I program a web page using PHP, linking some functions to send data thru the serial port of Computer X, and then I go to the page I designed in Computer Y and ''click'' in the function, will Computer X still send the data thru the Arduino or it would be computer Y instead?In simpler words, independtly where I log on, the computer in which the Arduino is attached will always be the one to send the data to the arduino? Or I need some extra code to NOT let that happen?
i hope i got this right, so here goes,if you develop a php page on computer x you will need to plug the arduino into that PC as well so that when the PHP page sends it serial commands they goto the arduino as long as the page on computer x is available on the internet you can simply browse to computer x's web page from any internet device and control the arduino from it (so can the rest of the world if its a public page mind you).if you upload the PHP page to a webserver or hosting company it wont work as you wont be able to plug the arduino into that server (and the hosting company has proberbly blocked PHP from giving serial commands anyway), you can however setup the ethernet shield on the arduino get a page setup on there that does the work and then just plug the arduino and ethernet shield into your router (configure router to allow access to the shield from the internet) and your away.hope i got this right from what you say.
Im having trouble connecting the Apache server to the internet (in LAN it works perfectly though)....
QuoteIm having trouble connecting the Apache server to the internet (in LAN it works perfectly though)....Unless you have a static IP address assigned to you, you will need to use a dynamic IP service like dyndns or no-ip to use with your web page.
Please enter a valid email to subscribe
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!
via Egeo 16