Thrifty bot Magnetic encoder with jetson nano

I would like to receive the encoders data in Jetson nano. Couldn’t find any docs about the pin config and no library on the internet. Need help.

1 Like

The thrifty encoder output is analog. There is no analog input on the Nano, only digital I/O including I2C, so you’ll need a I2C ADC like https://www.sparkfun.com/products/15334 in between the two.

There’s some info on how to set up the Nano’s GPIO here: https://maker.pro/nvidia-jetson/tutorial/how-to-use-gpio-pins-on-jetson-nano-developer-kit

I2c on the Jetson nano works pretty well but you’ll need to enable it from the jetson-config just like how raspi-config has one for it. But jetsons isn’t as simple.

A workaround for me has been to use serial which is already enabled and process small sensors on an Arduino (the libraries and examples are phenomenal) and then pipe the data to the Jetson over serial. So in that case you can do standard Arduino encoder stuff with interrupts or analog in and then report digital counts out.

The encoder returns a 12bit absolute reference voltage with the lower bound being ground and upper bound begin 5v. I think i can use a PWM as input and calculte the absolute angle.

Or am i wrong?

oh okay, will try that too.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.