This is my first time using an encoder as well as a Schmitt trigger. Typically, I would do debouncing in software, but I want a hardware solution for the sake of learning how to do so.
The encoder I am using is: PEC11L-4115F-S0020
Hex Inverter w/ Schmitt Trigger Input: SN74LVC3G14DCTR
End Goal: Use the encoder as an input knob similar to an oscilloscope for changing and accepting settings in the final application.
The encoder datasheet shows the encoder being pulled up to 5V, but my MCU is an nRF52832 being powered by 3v3, so I would like to translate the 5V output from the encoder to 3v3. Then I'll utilize the Quadrature Decoder peripheral on chip.
Does the circuit I've drawn make sense since the inverter is being supplied with 3v3? It'll output 3v3 when the input is low and 0 when input is high?
I am aware that the nRF52 has a digital debouncing option as well, but I would like to stick to a hardware implementation.
Additionally, the switch to the left is an integrated momentary switch with the encoder.