Here is what I want to do.
I want to use two of these sensors:5pcs Slot Type Optocoupler Module 3 3V 5V Counter Speed Test Sensor for Arduino | eBay
These are mounted so they sense an encoder wheel that moves fairly slow. The encoder wheel has one slot.The sensors have both an analog and digital output and of course power(5V,gnd)
Using an arduino UNO and a 1602LCD display, I would like to be able for the arduino to count the pulses from the sensor and display the count on the LCD.
I need the count to go to 100. The LCD should have text(I.E.) shaft #1 on the first line and shaft #2 on the second followed by the actual count from
the sensors.
I would also like one pushbutton for each that resets the counts to zero to start over, and one final button that resets both counts to zero.
If this is too extensive or time consuming, perhaps enough code for a single line of the display, one counter and reset?
This is for a test rig I am making for my engine projects.
any help would be appreciated!
Thanks