XPort + Arduino webserving javascript -> RGB Led

yow, sounds complicated, but basically the XPort and Arduino serve up a webpage that has a javascript colorpicker (the code is all stored in the Arduino flash) when you select a color and click Submit, the LED on my desk changes color :)

http://www.ladyada.net/rant/2008/04/change-my-led-via-the-web/

or skip straight to the demo -> http://ladyada.net/make/eshield/colorpickerfwd.html unfortunately no webcam so you'll have to trust me on the LED part ;)

it seems that people need more examples like this so i will do another one or two that show how to get/receive data easily over a webpage.

Cool, you might want to check the port forwarding using pagewash.com as the demo link doesn't appear to be working.

my router had to be rebooted for unrelated purposes*, try now :)

  • reflow skillet blew the fuse for the living room!

Awesome! It would be interesting to analyse your network traffic for the near future - I bet you get a lot of people trying it out!

Still no access, I tried pagewash as well and got this error:-

Couldn't connect to 71.249.156.160:80: No route to host

No port was in the directive, so PW must default to 80

What port are you using? I use port 8888, so the address looks like:-

http://00.000.000.000:8888/

no its port 80. just use the URL i posted since i update it when i notice that my local ip addr changed i should probably get some sort of dynamic dns thing. while i was asleep the DSL router rebooted again. i just fixed it, again.

Weird, it must be my computer, this time I got:-

"The connection has timed out, The server at ladyada.dyndns.org is taking too long to respond."

Can you see mine?

http://tinyurl.com/3cw79x

You should be able to toggle a button, that turns a LED on and off, on an Arduino connected over USB to an Apache server.

I've got a dedicated line being installed tomorrow so it's off our own network, because it's possible we've messed with the firewall and can't see yours.

ya yours seems fine i just toggled it. hehe

yknow i just realized that Verizon blocks incoming port 80 (duh!) so i changed it to 8888 and tried it from a remote machine.

third time is a charm :slight_smile:
ladyada.dyndns.org:8888

EDIT: well -someone- made it green just now…

Weird, it must be my computer, this time I got:-

"The connection has timed out, The server at ladyada.dyndns.org is taking too long to respond."

Can you see mine?

http://tinyurl.com/3cw79x

can i steal your graphics? my next demo will have a switch in it...

I just saw that, whoever toggled it lol

Help yourself to the graphic, it's from the Delphi C++ builder real time components for virtual instruments, more can be located here they are free to use :)

http://www.abaecker.de/en/abakus/index.html

btw - I think you need to change the port# in the dyndns preferences/account settings, I was able to connect to the color picker, but when I pressed the button, I got this "Firefox can't establish a connection to the server at ladyada.dyndns.org:8888." :(

well right now its on the front make blog and i have people connecting constantly, the led is changing every few seconds. so it sounds like you got thru once but then someone else came along right before your second connection. since the xport can only serve one page at a time, it blocked your second attempt.

;D just my luck.

Cool, I just changed it to blue - now you just need to add a live web cam for feedback :)