Photo-resistor controlling servos
i have g scale roundhouse 8 doors. use photo resistor tell when lights on (hardwired track power) in order operate individual servos mechanically open doors.
any idea on code.?
any idea on code.?
you not giving go on - should easy.
i presume photo-resistor same light dependent resistor. wire voltage divider , use arduno adc measure voltage. if voltage above or below threshold stuff.
look through examples come arduino ide , should find need know.
if have problems getting own code work, post copy of here description of should , does. thread planning , implementing program may have useful stuff.
...r
i presume photo-resistor same light dependent resistor. wire voltage divider , use arduno adc measure voltage. if voltage above or below threshold stuff.
look through examples come arduino ide , should find need know.
if have problems getting own code work, post copy of here description of should , does. thread planning , implementing program may have useful stuff.
...r
Arduino Forum > Using Arduino > Programming Questions > Photo-resistor controlling servos
arduino
Comments
Post a Comment