cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 and rotary encoder from Alps

a_niedworok2
Associate II
Posted on May 25, 2013 at 11:00

Hello,

i have problem with control of simple rotary encoder form Alps (or Piher | Bourns) on STM32.

Does anyone

have a

ready

solution.

Best regards

Andrew

#poorly-framed-question #stm32
3 REPLIES 3
Posted on May 25, 2013 at 13:07

There are literally dozens of STM32 parts, do you have a specific series or part in mind?

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F107%20Quadrature%20encoder%20example&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=48]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex%5Fmx%5Fstm32%2FSTM32F107%20Quadrature%20encoder%20example&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=48
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
a_niedworok2
Associate II
Posted on May 26, 2013 at 00:45

Hello,

Thank you for answer. I make some tests. Now i have problem with vibration of encoder contacts. Timer count random statest. My encoder have mechanical contacts.

Kind regards

Andrzej Niedworok

emalund
Associate III
Posted on May 26, 2013 at 15:23

My encoder have mechanical contacts.

 

OUCH!!

thta limits your speed to 'bounce time' of the contacts. can you live with this.

also if you believe in the old wifes tale that you can read an encoder by a=clk, b=dir you are dead wrong.

Erik