Can change of analogue voltage change the output pin and turn pins On/OFF?
i'm beginning learn arduino programming. , i'm wanting move on project. so, i'm hoping can help, in way.
can please tell me whether possible use potentiometer vary analoge voltage pin a0, , produce result such when voltage rises there change in output pin. so, instance, input voltage 0.5v, d4 pin turns on @ 5v, when voltage reaches 1v d4 goes 0v d5 turns on @ 5v, when 1.5v reached d5 goes 0v , d6 goes 5v. thank you.
can please tell me whether possible use potentiometer vary analoge voltage pin a0, , produce result such when voltage rises there change in output pin. so, instance, input voltage 0.5v, d4 pin turns on @ 5v, when voltage reaches 1v d4 goes 0v d5 turns on @ 5v, when 1.5v reached d5 goes 0v , d6 goes 5v. thank you.
of course.
just read voltage on analog pin , set digital pins accordingly. need bunch of if/then statements that.
just read voltage on analog pin , set digital pins accordingly. need bunch of if/then statements that.
Arduino Forum > Using Arduino > Project Guidance > Can change of analogue voltage change the output pin and turn pins On/OFF?
arduino
Comments
Post a Comment