Hey Fellas,
I have some strange behavior going on with a small battery operated encoder application where on occasion (at startup), the encoder will flip count direction and keep that direction until I turn off and restart the unit.
Most of the time, this distance counter works perfectly without a hiccup, but then all of a sudden when I turn the unit on, it just throws a fit and goes into reverse mode and counts oppositely in both directions. It acts exactly as though I swapped the A and B wires coming out of the encoder. I tried another Omron as well as the counter ic to see if it was faulty but no luck.
I was hoping someone may have some possible avenues for me to look at or try as I'm fairly green at this yet. I dont currently have a scope either but willing to find one if you think I need it.
Here is my full setup.
Omron E6B2-CWZ6C rotary encoder wired to an LS7366r counter chip and a XTAL OSC XO 27.0000MHZ oscillator for timing.
Adafruit Feather nRF52 controller
Sharp memory display
I have ~4.8 to 4.9v going to the Omron and 10k pullups on the A & B output legs going into the LS7366r.
I don't have any caps on the A or B and the Z is not hooked up (mainly because I'm really not sure of how to implement it or if I even need it)
Any help or advice would be appreciated.
Attached are the datasheets for the LS7366r and the Omron Encoder if needed.
Regards,
Vin
I have some strange behavior going on with a small battery operated encoder application where on occasion (at startup), the encoder will flip count direction and keep that direction until I turn off and restart the unit.
Most of the time, this distance counter works perfectly without a hiccup, but then all of a sudden when I turn the unit on, it just throws a fit and goes into reverse mode and counts oppositely in both directions. It acts exactly as though I swapped the A and B wires coming out of the encoder. I tried another Omron as well as the counter ic to see if it was faulty but no luck.
I was hoping someone may have some possible avenues for me to look at or try as I'm fairly green at this yet. I dont currently have a scope either but willing to find one if you think I need it.
Here is my full setup.
Omron E6B2-CWZ6C rotary encoder wired to an LS7366r counter chip and a XTAL OSC XO 27.0000MHZ oscillator for timing.
Adafruit Feather nRF52 controller
Sharp memory display
I have ~4.8 to 4.9v going to the Omron and 10k pullups on the A & B output legs going into the LS7366r.
I don't have any caps on the A or B and the Z is not hooked up (mainly because I'm really not sure of how to implement it or if I even need it)
Any help or advice would be appreciated.
Attached are the datasheets for the LS7366r and the Omron Encoder if needed.
Regards,
Vin
Attachments
-
710.7 KB Views: 11
-
498.2 KB Views: 8