I wanted to use the HW-040 encoder without the shield. On the back of it's PCB there are three resistors, 10kohms each,looks like R1 is not there just the footprint. How do I connect these resistors?
I’ve come across several versions of these, and they are not all the same. Typically, the resistors are pull-ups for the DIR and SW pins, while the missing resistor (10k) is for the push button. However, you’ll need to check your specific module to verify its configuration.
The two resistors that are on the board are for the two signals from the rotary encoder. Just connect these to 5V or 3V3 depending on what type of Arduino you have.
The missing one is for the push button. Just connect this to the pin you want to use to monitor the push action from and configure that pin as an input pin with the pull up resistors enabled.
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.