This might be a silly question, I'm new. My project is working but I'm slightly confused about something. Here's my circuit,
It does work, but there's no power going to the encoder.
How is this happening?
This might be a silly question, I'm new. My project is working but I'm slightly confused about something. Here's my circuit,
It does work, but there's no power going to the encoder.
How is this happening?
You have not connected any positive to the encoder, only 2 negative.
crystalranger:
How is this happening?
I'll take "Input Pullups" for $400, Alex.
It does work, but there's no power going to the encoder.
Why do you think that it needs power ?
If pins 2 and 3 are normally held HIGH in the code then the code can sense when the encoder takes them LOW
Is there any code involved? What is the intention behind the yellow cable?
UKHeliBob:
Why do you think that it needs power ?
Some encoders (like mine!) have three pullup resistors (~ 10k ohm) on their PCB, and a connection for +VCC!
Link: Rotary encoder module - HobbyElectronica
Railroader:
Is there any code involved? What is the intention behind the yellow cable?
I guess this encoder also has a push-down switch.
I've got one having 2 resistors... Connected to what? Testing shows they go to the positive pin, intended to pul up when + is connected to Vcc but if + is connected to GND they will be pull downs.
I wire them up like this, has worked well in my projects.
A deluxe interface having built in hardware debouncing.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.