Questions on programming/using Photoelectric sensor
hello all! making automated can crusher , using "atc" photoelectric sensor 10-30v dc sensor using 12v power supply power both sensor , arduino. question have advice make program work properly? want sensor tell when can present , activate program. have program setup without sensor or switch period. curious on best way go using start program? have searched through forum see how go doing , couldn't quite find suit application. figured best forum considering amount of experienced users arduinos. advice or ideas appreciated!
hello,
the project sound pretty basic me. need periodically turn light beam on, test if being received @ sensor. if is, there no can , nothing needs done. if light beam not detected, there can start crushing. need step x times in 1 direction , x times in other direction.
when done, use delay , wait second or 2 before testing again can...
once far, consider removing delay , using sleep mode instead.
the project sound pretty basic me. need periodically turn light beam on, test if being received @ sensor. if is, there no can , nothing needs done. if light beam not detected, there can start crushing. need step x times in 1 direction , x times in other direction.
when done, use delay , wait second or 2 before testing again can...
once far, consider removing delay , using sleep mode instead.
Arduino Forum > Using Arduino > Project Guidance > Questions on programming/using Photoelectric sensor
arduino
Comments
Post a Comment