Thank you. I am not so experienced as all you are. So I am a couple of years 
behind... but beter late then never 😉

I recon I have to place some sort of voltage divider for the pins on the 
QEncoder. This because i twill blow my MCU? Right?

Ben

-----Oorspronkelijk bericht-----
Van: Gregory Nutt <spudan...@gmail.com> 
Verzonden: zaterdag 20 februari 2021 21:26
Aan: dev@nuttx.apache.org
Onderwerp: Re: Quadrature Encoder SNG-QPDB-002

I did that a long time ago.  So have several others.  See

    $ find . -name "*qencoder*"
    boards/arm/stm32/common/include/board_qencoder.h
    boards/arm/stm32/common/src/stm32_qencoder.c
    boards/arm/stm32l4/nucleo-l432kc/src/stm32_qencoder.c
    boards/arm/stm32l4/nucleo-l476rg/src/stm32_qencoder.c

I don't see any defconfigs with the quadrature encoded enabled, however.

See also apps/examples/qencoder


On 2/20/2021 1:59 PM, disruptivesolution...@gmail.com wrote:
> Hi all,
>
> I have a Honywell Quadrature Encoder: 
> http://www.farnell.com/datasheets/2329419.pdf
>
> The LM7366R seems tob e an option, but this chip is hard to obtain and is old 
> (so it seems).
>
> Would it be possible to get this encoder to work with say an STM32? (32-bit 
> timer I think)?
>
> I want to read the speed (rpm) and direction (phase shift).
>
> Did anyone did such a thing?
>
> Thank you in advance and with kind regards, Ben
>

Reply via email to