Page 1 of 1

Need Help with Rotary Encoder B-106-23983

PostPosted: Sun Nov 18, 2018 10:47 pm
by Lion_Jayson
Hi, I'm currently doing a project using the rotary encoder to measure the angle it rotate for a robot arm, my main controller is Raspberry Pi 3 B+. I'm quite new with rotary encoder and I'm worried that i might damaged the encoder, so i may have a few question that i wanted to ask.

1. Is B106 Rotary encoder suitable for measuring angle?
2, How to make sure the encoder condition is okay?
3. Can i directly rotate the shaft on the encoder with hand?
4. In the datasheet did mention of the output requires a pull up, what if i didn't connect a pull-up and directly connect the output to the pin?
5. If i ignore and didn't connect the OUTZ, will it affect my output?
6. Is there any tutorial on Python coding on how to measure angle?

Thanks in advance.

Re: Need Help with Rotary Encoder B-106-23983

PostPosted: Thu Nov 22, 2018 11:33 am
by ZaM
Hi,

1. Is B106 Rotary encoder suitable for measuring angle?
- Rotary encoder can be used to measure angle, but you need to do some calculation.
2, How to make sure the encoder condition is okay?
- can rotate the shaft by hand and see the waveform with oscilloscope.
3. Can i directly rotate the shaft on the encoder with hand?
- the shaft is freewheel and can be rotate by hand with minimum force.
4. In the datasheet did mention of the output requires a pull up, what if i didn't connect a pull-up and directly connect the output to the pin?
-please take note this is NPN open collector (only have LOW but no HIGH signal)
5. If i ignore and didn't connect the OUTZ, will it affect my output?
-not effect, Z will give 1 pulse for every complete circle.
6. Is there any tutorial on Python coding on how to measure angle?
- sorry we don't have tutorial how to measure angle using this encoder.

Re: Need Help with Rotary Encoder B-106-23983

PostPosted: Sat Dec 08, 2018 11:34 am
by Lion_Jayson
Thanks ZaM, i did understand more about the rotary encoder.