i want to make a project that store potentiometer reading in 0 to 1023 (analog input) value when i press the button and when i press another button, this data will use to make turn on-off- control the digital pin with pwm. that also want to make it repeat again and again.:thumbsup:
i know how to set the potentiometer value to digital ( dividing it by 4), which will be pwm output at digital pin. But my problem is, i will use 3 potentiometer and all value will change in short, i want to record steps. like at 1st stage, my 1st potentiometer's value is 500, 2nd potentiometer's value is 700, 3rd potentiometer's value is 1023.
at 2nd stage, my 1st potentiometer's value chages to 750,2nd potentiometer's value changes to 200,3rd potentiometer's value will 1000.
this type of value i want to store. after that i want to use this data when i will press button by (pulling any of i/o pin ) , this steps will repeat again and again.
- - - Updated - - -
Arduino Digital pins can only source or sink 40mA current. Using PWM output of uC as a Voltage source is of no use. You can only drive Leds from it.
then how audio systems do their job? i show inside of it and it was having uc for remote control application. then how the volume up/ down will work?
i have also a music system that dont having remote control. it has potentiometer! and when i buy it's upgraded version, it was having uc !