Questions tagged [encoder]

An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another, for the purposes of standardization, speed, secrecy, security or compressions

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

How to avoid CPU usage 100% while reading turning direction from an encoder?

I'm trying to read the turning direction from a handheld pulse encoder handwheel. The below code works but it use 100% CPU. I tried to use sleep in the while loop, but even a 0.01s sleep will lead to ...
user avatar
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
0 votes
2 answers
31 views

Connecting a Panasonic EVQ-VVD00203B radial encoder to Arduino

I purchased this Panasonic EVQ-VVD00203B radial encoder for an Arduino project, and am having difficulty figuring out out to wire everything up. This is the encoder: If I understand the schematic ...
user avatar
1 vote
2 answers
83 views

Reading angular velocity from multiple rotary encoders

I am working on a project, where I need to get reliable data from 4 incremental rotary encoders. The motors can spin at a maximum of 100 RPM, with 420 pulses per revolution. This makes a single ...
user avatar
  • 83
0 votes
0 answers
61 views

Wireless real-time control of RGB led strip using PWM and RF

I would like to send three 8-bit PWM values (generated using an ESP32 and the ledc library) wirelessly in real-time. From what I've come across, RF seems like a good option, however I would prefer not ...
user avatar
  • 1
0 votes
0 answers
24 views

Upsampling encoded bits (convolutional encoder) and downsampling decoded bits (Viterbi decoder)

I am testing the reaslisation of encoder and decoder. Initial parameters: BPSK. I start with BPSK sequence: ...
user avatar
2 votes
4 answers
272 views

RS-485 connection to motor encoder

I'm using a homebrew encoder based on two A3144 hall sensors (logic, open collector) to control motor rotation. It's connected to the MCU via 2 metres of fancy double-shielded cable with 1K pull-up ...
user avatar
  • 31
1 vote
3 answers
259 views

5V encoder output to 3.3V microcontroller

I'm trying to design a circuit to connect this quadrature encoder AMT11 output signal to my microcontroller STM32L4R5ZIT6P that's running on 3.3V. Since the output from the encoder is 5V, if I ...
user avatar
  • 181
1 vote
2 answers
72 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
3 votes
4 answers
436 views

How can I shift the output voltage of an encoder to an MCU-acceptable voltage range?

I am using an encoder in my circuit operating on 5 V and the maximum output voltage of my optical encoder is 5 V. I am using the TI CC1350 Launchpad MCU to read the encoder signal, but the problem is ...
user avatar
4 votes
2 answers
615 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 votes
3 answers
175 views

How to read multiple quadrature encoders using an Arduino

I am developing a 4-wheel mobile robot. Each motor has a quadrature encoder with 2000 pulses per revolution (PPR). I have tried to read the encoders' pulses using an interrupt, but the counted values ...
user avatar
1 vote
1 answer
104 views

Single-loop (PID) vs Dual-loop (i.e P-PI) servo position controllers difference?

I am wondering why the servo position loops are mostly dual-loop consisting of position and velocity loops while the position can be controller by using only the position PID controller. I am aware ...
user avatar
1 vote
1 answer
43 views

computation bit error as sum(abs)

I am working on a realisation the convolutional encoder/decoder with constraint length K=7. Encoder and decoder were implemented and currently I am testing these functions My test file looks like: <...
user avatar
1 vote
4 answers
268 views

FOC with 50pp stepper kills encoder precision by factor 50

this is my first posting here. I am an IT engineer which does some work on electronics also, partly hobby, partly for innovations at work. I have a working stepper FOC prototype with current sensing ...
user avatar
  • 19
0 votes
0 answers
57 views

Strange quadrature encoder signal

I have an inexpensive 600 PPR rotary encoder, like these ones found on Amazon. It is powered by a 5V pin of an Arduino Uno. I was unable to detect any rising edges on the signal pins and they never ...
user avatar
  • 9
0 votes
0 answers
50 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
0 answers
33 views

Concept of Booth Encoded Multiplier 8bit

So I'm kinda a newbie in this world so pardon me for the basic questions. I want to implement Booth encoded multiplier 8bit. Until now, I pretty much understand for the block diagram and what happened ...
user avatar
  • 13
0 votes
1 answer
46 views

MM74C933N Output-enabled pin

Studying the datasheet of the MM74C922N 4x4 matrix keypad and I am lost on what the output-enabled pin does, its function, and why it is needed. Any help is appreciated.
user avatar
2 votes
1 answer
57 views

Theory of operation of MM74C922N

I have been studying the datasheet of the MM74C922N , a 4x4 matrix keypad, but I cannot seem to understand how it works under the 'Theory of Operation'. I know it outputs a 4-bit binary code depending ...
user avatar
0 votes
0 answers
35 views

Angular velocity parameter spec from AMS datasheet range units and sensitiviy

I cannot understand this specificaion and hoping someone could explain in detail. I do not particular (atm) care for the Cut Off frequency row, but the rest I do. First I struggle to understand their ...
user avatar
  • 47
0 votes
1 answer
88 views

generate encoder signal without using delay

I'm looking to emulate an encoder signal using an Arduino microcontroller (Seeed Xiao, SAMD21 Cortex M0+). The following works but locks up the main thread with delays. The frequency of pulses isn't ...
user avatar
-1 votes
1 answer
234 views

Quadrature Decoding using FPGA

I am currently working through FPGA4FUN's tutorial on quadrature decoding using an FPGA. I am currently just trying to simulate the decoders behavior by using a testbench that essentially drives the A ...
user avatar
1 vote
0 answers
140 views

AS5048A and STM32F446RE SPI communication

I am trying to get SPI communication working with my Nucleo-F446RE STM32 board and an AS5048A magnetic encoder. I am trying to read the angle register to get the angle value - however is seems to be ...
user avatar
2 votes
1 answer
129 views

Random output in an optical encoder!

I have a DC geared motor with an optical encoder. I can read MITSUMI M25N-2R-14 2241 and 25GA-370-12V-330RPM on the motor. I'm using this simple code to control the position of shaft. it works fine ...
user avatar
  • 135
1 vote
1 answer
257 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
1 vote
1 answer
31 views

What parameters matter when selecting a replacement stepper motor?

The stepper motor (most likely, the encoder) on a legacy system is not reporting the position, and I am considering to find a drop-in replacement with similar specs, size (NEMA 23), and number of ...
user avatar
  • 13
0 votes
6 answers
284 views

Looking for a replacement rotary encoder, how do I select one? Are they all standard or universal?

I am looking for replacement rotary encoders for my Yamaha A4000 sampler. These samplers have a common problem where the encoders start to work poorly after time. It is Yamaha part number V4441800, ...
user avatar
  • 11
0 votes
0 answers
151 views

How to make stm32 timer encoder mode count only upwards (increasing up to period value then reset it to 0)?

Is there any way to make stm32 timer encoder mode to count only upwards? Meaning, if the clockwise turning of the shaft of the encoder is increasing count value, counter-clockwise turning shouldn't be ...
user avatar
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
2 votes
2 answers
207 views

Hardware filter for a rotary encoder using a resistor between pullup resistor and debouncing capacitor?

I want to implement a debouncing filter for this rotary encoder. I understand the use of the pull up resistor (avoid floating state) and the capacitor (debounce the mechanical switch). However, I can'...
user avatar
0 votes
1 answer
60 views

4 wires encoder to 6 wires Hibrid Servo drive for closed loop stepper motor

I have the HBS860H driver and LPD3806.I wanna know if I can connect this 4 wire encoder, to this 6 wire driver. HBS860H: https://hardware-cnc.nl/images/PDF/ACT/HBS86H_English_Manuel.pdf LPD3806: (i ...
user avatar
0 votes
1 answer
192 views

LS7366R with multiple level-translated signals

For one of our projects, we are using two LS7366R ICs for interfacing with our two encoders. Our encoders operate at 5 V and we are supplying 5 V VCC to the LS7366 chips as well. However, our control ...
user avatar
1 vote
1 answer
216 views

Is there an easy way to oversample encoder input in STM32 microcontrollers?

I need to oversample the encoder input. Currently the single channel resolution is 2500 pulse/rev, thus combined channel resolution is 5000 pulse/rev. I need more or less 10 times higher resolution. I'...
user avatar
  • 1,204
0 votes
0 answers
35 views

Difference between 2b1q and 2b1q with paired disparity

I have a question about 2b1q line code. Is there a modified 2b1q code with paired disparity option available? And if yes, which is the coding rule for a simple 2b1q and modified 2b1q code, plus the ...
user avatar
-1 votes
1 answer
94 views

Is 2:1 Mux (Multiplexer) same as 2:1 Encoder, theoretically?

I just came across a question states: A Combinational circuit which is used when it is desired to send data from 2 or more sources through a single transmission line is known as: ______ I know it is ...
user avatar
  • 99
0 votes
2 answers
131 views

Low cost position detection using a diy "encoder" [closed]

I'm building a machine that is adjustable, so there is this mechanical arm that can be in 5 different positions. I was thinking on building a custom encoder, I can easily make holes in each position ...
user avatar
  • 245
0 votes
0 answers
59 views

How I can read optical encoder pulses on High RPM

I am working on a project in which I am using two DC motors with encoder but after certain speed ( my DC motor operating voltage is 24 V but when I give it more than 15V )my MCU CC1350 start missing ...
user avatar
1 vote
0 answers
27 views

How to setup STM32F103C8 encoder triggered output signal

I have a project where I need to read the encoder phase A&B to output the pulse so I can drive a motor, I did some research and saw this picture where it is exactly what I wanted to do: output a ...
user avatar
  • 11
-1 votes
2 answers
318 views

What ASIC/MCU is in my keyboard?

I disassembled my unbranded USB keyboard to find out what ASIC/encoder/MCU is inside. The chip is (as expected) covered, like the following example: How to find out which chip is underneath?
user avatar
1 vote
1 answer
51 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
115 views

How to measure precision speed of bldc motor with encoder which has 1024 pulse per revolution

I am trying to control bldc with SVPWM based FOC method.I have a bldc motor with 1024 pulse encoder. I calculate speed in encoder pulse interrupt. But i can't directly calculate d(encoder pulse)/dt. ...
user avatar
0 votes
1 answer
83 views

Encoder line count vs PPR

I am slightly confused about the terminology of rotary incremental encoders. The encoder in question is a dual channel quadrature encoder. I have attached the datasheet here: Nidec RE30E-1000-213-1 ...
user avatar
  • 986
0 votes
1 answer
117 views

Why doesn't this circuit simulation work?

I am trying to build a circuit using only encoders and decoders. This circuit will output the 1’s complement of 3 bit number. (For example: If I give it 010 it will give output 101.) I used a ...
user avatar
0 votes
0 answers
44 views

Noise at hall sensor output from motor

I have motor with build in hall sensor(sc2546). I am controlling speed with 4 mosfet bridge duty cycle modulation. Frequency is about 20 kHz. Motor is powered with separate power supply and it is ...
user avatar
  • 264
0 votes
1 answer
102 views

Dc motor speed measurement issue [closed]

My setup is E6B2 incremental encoder(1000pr),Stm32 nucleo-l452re-p.I'm trying to measure speed for system identification and my graphs are looking kinda odd. I tried to increase the gab "Te"...
user avatar
0 votes
1 answer
200 views

How to find pinout of DC geared motor with encoder?

I have a DC geared motor with 1 hall effect encoder and I'd like to find the pinout to use it. Unfortunately I don't have the data sheet and since all motors have different pinout, the only option I ...
user avatar
  • 23
0 votes
0 answers
42 views

Product ID tracking in a sorter machine

I'm writing a PLC program (Q Series Mitsubishi PLC, GXWORKS 2 Software) for a package sorting machine. The logic of the machine is the following: Packages are induced in the conveyor. A barcode ...
user avatar
0 votes
2 answers
187 views

Pulse Interval Encoding

I am struggling to understand how do I get a pulse interval encoding scheme implemented in terms of hardware. Is there any source of information available explaining the circuit diagram of the same? I ...
user avatar
0 votes
1 answer
59 views

Problem with Motor Encoder - Arduino

I am having an issue with my motor control code. The aim of the code is to control a motor which has a built in encoder. Now, I wrote a simple test code that makes a user enter the value between 1-...
user avatar
  • 273

1
2 3 4 5
9