Go Down

Topic: repeating get requests (Read 643 times) previous topic - next topic

Jeremy-arduino

Hello,

I have an idea that I can't seem to find direction to. I want to have an Arduino + Ethernet Shield + Relay shield as the hardware. From a web browser, I'd like to be able to send a GET Request to the Arduino in a repeated fashion to where as long as a button on the web page is held down, that relay is still closed. Does anyone have an idea where I can find information on how to accomplish this? Thank you.

Jeremy

zoomkat

Maybe the closest setup to what you want is making a web page using buttons with onmousedown and onmouseup functions. I made the below web page for controlling a servo based arm or bot controlled with an ssc-32 servo controller. When the mouse cursor is over the button and left button is depressed, a movement command is sent. When the cursor is released a stop command is sent. You can look at the page source to see the html button code.

http://web.comporium.net/~shb/armbat.htm
Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

Jeremy-arduino

Thank you! That's a great idea. onMouseDown and onMouseUp, or something like that. Just leaving work now, so I'll look at that tomorrow. Thanks again!

Jeremy

Go Up