Hello again. A new puzzle came up when connecting an ACE 128 encoder.
I’m following the wiring recommended in this document: https://www.bourns.com/docs/Product-Datasheets/ace.pdf#page3
(As I’m unsure how to turn on the board’s internal pull ups, it uses external pull ups from 3.3v. The pull up resistors I’m using are 10k)
What’s odd is that in about half of the rotational positions, a clean reading can be taken and converted into a decimal value (using C++). The other half… the board disconnects, reconnects, disconnects, reconnects, ad infinitum. The lights never turn off, and as soon as I disconnect the encoder from ground OR find a “good” rotational position again… the IDE reconnects within 5 seconds and we’re happy again.
I’m unsure how to interpret the behavior, but I’ll be trying out a few things tomorrow:
- switching to 2k2 resistors (I believe this was recommended in an earlier post?)
- removing pins 1-8 and reconnecting them until a failure happens
If anyone recognizes this behavior or has a clue on where to investigate, I’m all ears. 🙂
Cheers!
p.s. Encoder pins 1-8 go to D2-D9