| Electronics > Beginners |
| Potentiometer value with ADC |
| << < (5/5) |
| Psi:
Also consider it's cheap to get rotary encoders with a push button momentary switch built inside them. Lot of products use them. So you rotate L or R to the digit you want then push to change to the next digit that is to be changed. Perhaps the active digit flashes etc.. You can also get them with LEDs in but those usually have a price premium. |
| rstofer:
--- Quote from: Psi on August 12, 2019, 04:06:33 am ---Also consider it's cheap to get rotary encoders with a push button momentary switch built inside them. Lot of products use them. So you rotate L or R to the digit you want then push to change to the next digit that is to be changed. Perhaps the active digit flashes etc.. You can also get them with LEDs in but those usually have a price premium. --- End quote --- I had a similar idea. Rotate the encoder until the proper digit(s) flash, push the button, rotate the encoder until is displays the proper number and push the button again to lock in the value. Now you are back to the starting state: Rotate the encoder until the proper digit(s) flash... Just make sure that the encoder is a 'detent' type with mechanical steps. |
| admiralk:
That was basically my plan. Start at hours, first push goes to minutes, next one goes to seconds, then back to the beginning. I was thinking to just blank out unused numbers instead of blinking the ones open for editing. Ultimately there with be 5 "clocks", but the others will be timers. |
| Navigation |
| Message Index |
| Previous page |