HTML INPUT BUTTON - RANGE SLIDER - HOW to Access value to contrl a fan?

// From a browser use a horizontal Slider button to increase - or decrease speed of a fan using pwm analog input A3/ output A4

client.println(F("


"));
client.print(F("")); //n for fan

client.println("");

client.println(F(""));

client.println(F("


"));

  1. If i use the code above with a browser (chrome) that supports html5 tags - i see the slider and can move it -GOOD

  2. I cant seem to figure how to access the value of the input button and send it to an analog input

  3. which intern would control an analog output to speed up or slow down a Fan using pwm

Any help would be much appreciated

Joe

  1. If i use the code above with a browser (chrome) that supports html5 tags - i see the slider and can move it -GOOD

What does the submit button send back to the Arduino?

I cant seem to figure how to access the value of the input button and send it to an analog input

For good reason. The analog input pins are input only. You need to connect a variable voltage source to the pin to be read by analogRead(). The text you get from the client is not readable using analogRead.

Perhaps you meant to say that you can't get the value and send it to an analog output, using analogWrite.

client.println("");

The range of value that a PWM pin can take is 0 to 255. Why are you limiting the range to 0 to 50?

which intern would control an analog output to speed up or slow down a Fan using pwm

None of the interns we interviewed knew how to do that.