Questions tagged [rotary-encoder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Could hall encoders that are attached to the DC motors affect each other or the IMUs?

I am a newbie and I want to build an autonomous mobile robot. I am planning to use 4 DC motors with hall-effect encoders. I will use 4 IMUs for localization at first. Next, I also have the plan to ...
user avatar
  • 11
1 vote
5 answers
85 views

Optocoupler Input or Encoder Output Problem?

I have this basic circuit but it's doing my head in with the actual prototype: When LINK is open (not connected to the optocoupler), Encoder output works OK - it goes 0V and 5V. Also while LINK is ...
user avatar
0 votes
3 answers
178 views

Identify rotary encoder or potentiometer?

I'd like to fix my old receiver/amplifier. It has a broken button "balance", but after opening and extracting the component I have no idea what I should buy to replace it. From my point of ...
user avatar
  • 29
1 vote
2 answers
69 views

How is this encoder supposed to be wired?

I have this encoder: https://www.mouser.com/ProductDetail/Bourns/PEC12R-4020F-S0024?qs=sGAEpiMZZMsUJpHmmVieqHTo0n9kjhYO9zCZFTxUfRg%3D&countrycode=US&currencycode=USD and I am trying to figure ...
user avatar
1 vote
3 answers
546 views

How to increase STM32 Timer (encoder mode) counter value?

I am developing mobile robot. Hear i required to read quadrature encoder.So i am using stm32F401 using 16bit timer(encoder mode) to read the count.After 65535 count goes to 0. My question is how to ...
user avatar
4 votes
2 answers
614 views

Is it possible that north and south poles of a disc-shaped magnet change position over time?

[See update at the bottom] We build brushless DC motors of about 1 kW power at 48 volts. In order to drive the motor, we need to know the rotor position and, to do that, we fit a disc-shaped magnet on ...
user avatar
1 vote
0 answers
60 views

Running a 12V motor on 9V battery and arduino and matlab implementation

I have a DC geared motor rated at 12V and 60 rpm . It has a quadrature encoder with 700 PPR. I connected it directly to a 9V battery (almost new) and wished to measure the rpm of that motor. To find ...
user avatar
0 votes
0 answers
75 views

Soldering information missing from datasheet - what can I assume?

Background I tested some Bourns PEC11L encoders before soldering - they were working fine. Once soldered to my PCB at 300C using Sn99.3,Cu0.7 solder, they stopped working. Looking at the datasheet, I ...
user avatar
0 votes
0 answers
47 views

Minimum Distance between two magnetic rotary encoders in an array : AMS [AS5048B]

I am planning to prototype with multiple AS5048B sensors. (Very basic: Magnets are horizontally placed over the IC that the IC can detect and give an angular reading). I plan to create an array of ...
user avatar
0 votes
2 answers
131 views

Rotary encoder connected to stepper driver

I want to control the speed of a stepper motor using a rotary encoder (OMRON E6B2 series) conected to one of the PUL terminals of a DM556S stepper driver. ¿Is that possible? ¿Which encoder type would ...
user avatar
1 vote
1 answer
251 views

BLDC alignment of hall sensors and encoder

I am trying to build a BLDC motor controller using field oriented control. The motor I am going to use is equipped with hall sensors as well as with an incremental encoder that has 512 steps. I have ...
user avatar
  • 521
0 votes
0 answers
69 views

Rotary encoder mistakes knob turned for button pressed

I'm using this encoder https://www.cuidevices.com/product/resource/acz09.pdf to scroll through a menu and I'm having an issue where when you turn it clockwise, it thinks the button was pressed (this ...
user avatar
0 votes
1 answer
50 views

Help designing a data acquisition module

I'm prototyping a shoe that reads the pressure distribution of a person's weight as they walk. In order to accomplish this, I need to design a Data Acquisition circuit board that will be compatible ...
user avatar
1 vote
1 answer
126 views

How to tune this PID loop

I have a DC motor that is controlled by an FPGA and a L298N motor driver board. The FPGA generates a PWM signal based on feedback from a dual channel quadrature rotary encoder (1000ppr per channel). I ...
user avatar
  • 986
0 votes
0 answers
40 views

Rotary encoders for automotive display

I'm looking into designing a display to show and adjust brake bias. I'm planning to use a rotary encoder in order to select through menus. Unfortunately, I'm having a hard time deciding which model ...
user avatar
0 votes
1 answer
60 views

Is there a workaround for a Hall effect encoder out of alignment with its sensors on a small motor?

I'm working with two budget SmartArduino 9V 25mm motors on a radio control tank project. Motor-A has a problem in that the encoder wheel is situated laterally above the Hall sensors. Motor-A does not ...
user avatar
  • 426
0 votes
0 answers
190 views

PID Control with DC motor and encoder (FPGA)

This is a follow up from a previous question I posted. I have made some changes from advice but still have problems. I have developed a processing core on an FPGA that can execute some instructions to ...
user avatar
  • 986
1 vote
3 answers
180 views

Need advice with PID loop on hardware

This is my first time using a PID control loop so I have a lot to learn. I will explain what I am trying to do before I ask any questions. I have an FPGA running a processing core that I made myself, ...
user avatar
  • 986
1 vote
1 answer
49 views

How to practically measure the resolution (PPR) of incremental rotary encoder?

I have an incremental rotary encoder that I can't determine its model number thus I can't get its data sheet, How can I measure its resolution manually?
user avatar
0 votes
1 answer
824 views

Help developing rpm calculation from encoder pulses

I have having a bit of difficulty calculating rpm of a motor using feedback from an encoder. The encoder datasheet is attached here: Encoder datasheet. The encoder has two channels at 1000 PPR, so ...
user avatar
  • 986
0 votes
3 answers
223 views

Is an opto-coupler fast enough for this application?

I am counting the pulse edges from a quadrature encoder with an FPGA and using opto-couplers as the encoder is powered with 12V and the FPGA inputs are 3.3V. The encoder is 1000ppr with 2 channels and ...
user avatar
  • 986
0 votes
1 answer
107 views

Encoder PPR Required Resolution

This question leads on from a question I asked last night, so some people will know it. I am using an FPGA with a 1000 ppr rotary quadrature encoder counting 4x (counting all edges is 4000ppr) and had ...
user avatar
  • 986
0 votes
1 answer
73 views

magnetic rotary encoder 0.3V output voltage

I have a 24V DC motor with a magnetic rotary encoder. The encoder has a 5V supply voltage. The datasheet states that it has an output voltage of 300-700mV. I have also measured it, and it gives around ...
user avatar
0 votes
2 answers
308 views

Connecting multiple encoders in to STM32 TIMx hardware counter (using channels 3+4)

I have a requirement to connect 3+ standard rotary encoders (A/B quadrature) into an STM32 - the STM32L072x is the current choice. While I could bit-bang it, it would be nice if I can just use the ...
user avatar
  • 6,619
0 votes
2 answers
361 views

How to use a Hall effect sensor in a rotary encoder?

I'm designing my own rotary encoder using magnets and a Hall-effect sensor. I'm not getting the linear output I was hoping for. I'm using two magnets and putting the sensor in the middle - like this: <...
user avatar
  • 101
0 votes
0 answers
110 views

Do rotary encoders really have no bounce?

I've always needed to add debouncing code, when handling switch inputs on microcontrollers. While I've only used three different types of switch, they all needed debouncing. My (two) rotary encoders ...
user avatar
  • 964