Hi all!
This is my first post and mods if it's in the wrong spot my apologies.
I am a "Laboratory Equipment Designer" at the University here and I help students design and build all kinds of projects that are controlled with a microcontroller.
For the past 20 years I have been using Motorola 68HC11 "EVBU" boards with great success.
For projects that need interaction with the user, I have either used an LCD display with prompts and toggle switches for "UP/DOWN" and "ENTER/BACK" which works nicely but can get tedious.
Or, I've used the serial port on the EVBU which requires the user to have a terminal program installed and then all they get is a lousy DOS-like text menu screen.
I recently discovered the Arduino boards (and the Ethernet shield) and WOW what a difference! This will be the ticket to making less expensive and more functional controllers that can be controlled by a web browser that EVERYONE has on their machine.
So now down to my question: I don't want to "reinvent the wheel", so I'm looking for a good method to send data back and forth between the browser and the Arduino board.
My typical usage would be a menu page with some input fields and some output (display) fields as well as some Javascript behind the scenes.
I plan to use the JS to dynamically update display fields on the web page (like maybe "Time delay setting" or "Motor RPM" or something like that in the running project).
What I want to know is how to dynamically update the web browser from the Arduino board WITHOUT having to do the "META refresh" thing.
For example, I want to (maybe) send data to the browser in the form of "192.168.1.200?rpm=1200&torque=32.5&voltage=13.8", then have Javascript parse the URL line for the parameters and plug them into the proper fields.
I know how to do ALL the stuff on the client side (i.e. browser), but I don't know how to send the new URL strings to the browser and have them be "seen" without doing a meta refresh.
So, any help you can provide or links to look at - I will greatly appreciate it.
Thank you!
-- Roger