Questions tagged [decoder]

A decoder is an electronic signal processing circuit, which takes as an input a binary number, and turns on a corresponding pin accordingly. It takes `n` inputs (which can all be either on or off) and outputs `2^n` outputs of which exactly one is on

Filter by
Sorted by
Tagged with
-2 votes
0 answers
40 views

Decoding possible UART [closed]

I'm working on an e-bike, and I'm trying to decode possible UART signals (RX, TX, VCC, GND, DL). I captured some byte values using an Arduino Uno R3 on the TX wire from the controller and got the ...
gmijo47's user avatar
0 votes
0 answers
20 views

Line decoder output changes when the initial clock value changes

I have been trying to code a fm0 decoder. Since the incoming data changes at both negedge and posedge of the CLK, to successfully decode the data, I need to sample the incoming data at the middle of ...
Midhun Das P's user avatar
2 votes
2 answers
146 views

Does this Verilog HDL code of a decoder look strange in any way?

I am wondering if it is ok to use output instead of wire for another output in Verilog coding (using Quartus for this). Just ...
towel Lijiang's user avatar
0 votes
1 answer
70 views

Why is memory addressed using 2 address decoders only and not more? [duplicate]

I am currently taking a university course about computer architecture in which we learned basic DRAM architecture and addressing. As far as I know, each latch is selected using decoder outputs to ...
Yousef Irshaid's user avatar
1 vote
0 answers
46 views

Decoding Bit Rate Information for an LED Project Using a Logic Analyzer

I am currently working on a project where I'm trying to understand and decode the bit rate information being sent to an LED. I purchased an LED for my backyard that can be changed to different colors ...
Corbin's user avatar
  • 11
0 votes
1 answer
126 views

Understanding decode stage of x86 fetch-decode-execute pipeline and its (lack of) register requirements

FDE pipeline has register requirements for the F & D stages: For fetching an instruction from memory, the instruction pointer register points to the memory location of the next instruction to be ...
computegirl314's user avatar
2 votes
1 answer
205 views

How to display 2-digits data using two 7447 decoder?

I have designed a circuit to display the 2-digits data using two 7447 decoder. The design is shown below. I have two outputs, O1 and O2. O1 represents the ones digit while O2 represents the tenths ...
CJ. T's user avatar
  • 23
0 votes
0 answers
67 views

24VAC Binary Encoder / Decoder for Sprinkler System

I have a typical sprinkler system that runs on 24VAC. My sprinkler controller is in my garage and my sprinkler valves are across the yard with a cable running underground with 5 wires. One wire is the ...
Chet's user avatar
  • 111
0 votes
0 answers
77 views

Decoding Soil Moisture Sensor 433 MHz

I need to decode soil moisture sensor using RXB6 and ESP32. I tried several libraries; it can get data but not the correct one. Due to my knowledge on this 433 MHz radio, I can't figure out. There's a ...
chamroeun bm's user avatar
1 vote
1 answer
296 views

Why is my 7-segment display not working when output modules (O3-O0) are connected to BCD to HEX converter module?

I have used an 8051 interfaced with an 8255 taking inputs from port A and port 1 and showing the output from port B AND C of the 8255. I also made a decoder for BCD to HEX (0-F). The input value is ...
Kakashi Hatake's user avatar
2 votes
3 answers
577 views

What are the considerations of using a common anode 7-segment display over a common cathode?

Common anode: Do I need resistors here? Where would I connect them? Common cathode: Common anode seems simpler circuit wise - but I like the idea that "1" represents "ON" that ...
NonComposMentis's user avatar
0 votes
0 answers
100 views

Connecting a 7-segment display to a CD4543B decoder

I would like some help connecting a 7-segment display to a CD4543B decoder according to the instructions in the image at the bottom, and get the display to show the expected numbers. How is it ...
bittscoterie's user avatar
2 votes
2 answers
59 views

Which of the following input binary conditions will produce an ambiguous state in the flip flop?

For ambiguous state, both outputs x and y must be zero(for active low) to be considered invalid i.e. of both PRESET and CLR are logic "0". Now, analysing the circuit, $$ x=a \oplus D_0 $$ ...
Bruce Wayne's user avatar
0 votes
2 answers
45 views

Weird enable pins 74LV138D

The 74LV138D is a low-voltage 3 to 8 binary decoder. It has 3 enable pins, one for each of the inputs. However, two of them are active high, and one is active low... Why on earth would they not pick ...
ScottishTapWater's user avatar
1 vote
2 answers
163 views

Is BCD to 7 segment display a decoder or a driver?

In my book it specifically says that for decoders only one output is high for combinations of each input. And also the number of outputs are 2 power of number of inputs. None of these are true for BCD ...
Jack's user avatar
  • 684
2 votes
1 answer
345 views

What does this function table mean?

This table, part of the SN74LS138 datasheet, explains how inputs relate to outputs: However, I'm no electrical engineer and I don't understand the bit I've circled in red which says \$\small\mathrm{\...
noughtnaut's user avatar
0 votes
1 answer
128 views

How to post various register updates from FPGA to CPU?

I hope this is not too broad a question, I try to be as specific as I can. I am using a Zynq SoC with FPGA and CPU. I am using the FPGA for a lot of DSP, that depends on many register values. In most ...
tobalt's user avatar
  • 21.4k
0 votes
1 answer
300 views

Identifying Protocol Using a Logic Analyzer

I used a logic analyzer to read the data line from a small camera battery and would like to understand the authentication my camera is doing to the battery over the one data line. Is there any way to ...
Pete's user avatar
  • 135
-1 votes
1 answer
189 views

Need help regarding BCD to 7-segment decoder

I am fairly new to digital logic designing and I need some help in regards to finding a BCD to 7 segment decoder on software. I am using proteus for my counter, and for some reason I am unable to make ...
M4t1-1's user avatar
  • 3
0 votes
0 answers
1k views

7-segment display decoder truth table

I am trying to make a decoder that can display all alphabetical letters on a 7-segment display. My inputs are ABCDE and the outputs are abcdefg Is this the correct truth table for a circuit? If yes, ...
Elias Al Ahmar's user avatar
1 vote
0 answers
52 views

TVP5150 output 0x80,0x10 and input video signal not locked

This is my first question, I hope everything is ok :) I have been struggling with a problem for a while now. I have a PAL camera (from which I barely have any information) connected to a TVP5150AM1 IC ...
Iago Loureiro's user avatar
0 votes
0 answers
582 views

TinkerCAD 7-Segment Display Not Showing on Simulation

I am only on my 5th week trying out TinkerCAD for our Logic Circuits course. We are tasked to create a 7-Segment Display Using Logic Gates only. I did all the boolean expressions needed for each ...
Sway the Destroyer 'STD''s user avatar
1 vote
2 answers
339 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 ...
Tony's user avatar
  • 93
0 votes
0 answers
76 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 ...
koupa's user avatar
  • 1
0 votes
1 answer
322 views

Creating a simple address and data bus with Arduino Uno as a master using 3-state buffers and decoders

First of all, sorry if my post is too general. If you know a better place for this post please let me know. Problem I have 5 motors to be controlled independently (but not simultaneously, i.e. one ...
LRDPRDX's user avatar
  • 151
0 votes
1 answer
102 views

Latch the values generated by a 4-16 line decoder

I am using a 4 to 16 line decoder to convert a 4 bit number from arduino/seeed/ESP32 to drive circuits like RGB leds which would otherwise use up all my pins. There are some problems with this ...
spl's user avatar
  • 101
0 votes
1 answer
378 views

Arduino - Inverting Common-Anode 7 Segment Display with a Transistor

I am currently struggling a lot with a tedious issue - I have to control my 7-segment display with a CD4511 decoder. However, my display is Common Anode, and it is not changable in my case. The best I ...
Shodan-AlphaVersion's user avatar
1 vote
1 answer
96 views

2-to-4 demultiplexer/decoder active HIGH IC

I'm looking for an IC that takes a signal and sends it to one of four possible outputs. So I came across a 2-to-4 demultiplexer which does just that. 74139 series to be precise. However, they all ...
MCSquared78's user avatar
1 vote
1 answer
58 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: <...
Anna Koroleva's user avatar
2 votes
1 answer
605 views

How decode serial data stream

I am trying to decode a data stream. This signal comes out of an STC 8H1K16 micro-controller. It is from the pin labeled TxD is the picture. When I trigger the signal I am trying to understand I get ...
Yepher's user avatar
  • 121
1 vote
0 answers
229 views

Memory Mapping Table

I am a begginer in the field of microcomputers and their architecture and recently I got an assignment with the following instructions: With the use of the mapping table find out which adresses in ...
Tibor Galambos's user avatar
1 vote
0 answers
129 views

7-segment display communication

I have attempted to solve this problem making kmaps for the binary counter, mux and decoder however I'm getting stuck on the making them all talk to each other bit, I am using a ATmega32L and a ...
Desired's user avatar
  • 11
0 votes
1 answer
96 views

Why do decoders have a reverse current when the output voltage is high?

So I am designing a pcb using a STM32 microcontroller and I wanted to expand the output pins in order to add a sensor. So I thought of using a 2-to-4 decoder in order to 'add' 2 pins. However, when ...
Gregory_SP's user avatar
0 votes
1 answer
351 views

What is a post decoder?

I have heard a bit about pre decoders and post decoders recently in circuit design. When I saw the circuits, the pre decoder is same as the normal decoder in every textbook or website. But I haven't ...
KUNAL VATWANI's user avatar
4 votes
1 answer
296 views

How to minimize microcode complexity in 8-bit home-brew CPU

tldr; I built and later extended Ben Eaters 8-bit breadboard computer. After the initial build I integrated 16-bit program counter and memory address registers, redesigned the instruction set and ...
Scott vanVoss's user avatar
0 votes
1 answer
644 views

3 Bit Counter w/ 7 Segment Display Starts at 111 instead of 000

The goal for this task is to have a 7 segment display output my last name the first two initials of my first name. The output should be FURMANHE with F being the 000 state and 111 being the E state. ...
SugarCereal191126's user avatar
0 votes
0 answers
506 views

Design 3-to-8 decoder with enable using three 2-to-4 decoders and eight AND gates

I want to design a 3 to 8 decoder with enable using three 2 to 4 decoders without enable and eight AND gates. How can I design it? I thought about it, but only 2 to 8 decoder comes out. I don’t know ...
Yoond's user avatar
  • 1
0 votes
3 answers
934 views

Simple 7 segment decoder circuit not working

I used a cd-4511 decoder for my seven segment display circuit. It was a simple circuit, just to get familiar with how the 7 segment display and the decoder operate. However, upon sliding the switches, ...
satan 29's user avatar
  • 189
1 vote
1 answer
692 views

Bus contention when addressing tristate buffers by decoder output

I'm currently redesigning the signal propagation algorithm of a circuit simulator I'm developing as a hobby project (https://www.antarescircuit.io). In the new design, I'm trying to detect when ...
flandreas's user avatar
0 votes
1 answer
289 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 ...
bighero666's user avatar
1 vote
1 answer
76 views

Industry Standard for Memory Address Decoder Design

I am currently designing the address decoder of a piece of ReRAM that will be sent to TSMC and manufactured. I have studied in class and textbook that there are two common address decoder designs. One ...
Jeffrey Yu's user avatar
2 votes
1 answer
384 views

Help identifying encoding scheme for RF device

I have this RF encoder that I am trying to customize with an MCU. The remote control device uses an encoder called HS2260. I believe it is a clone of PT2262 device. I was able to get the waveform but ...
aeroengineer's user avatar
0 votes
2 answers
330 views

Clarification of "strobe pin" 4-bit latch/4 to 16 line decoder

I'm wondering if I can get a specific behavior out of this chip. I have read the data sheet and am having some trouble understanding the usage of the Strobe pin. CD4515BM96 Datasheet PDF USE CASE I'm ...
Westly Durkee's user avatar
0 votes
1 answer
176 views

Is there a IC to decode Johnson code to BCD 8421 or 7-segment? [closed]

I'm studying Johnson counter and want to display the counting on a 7-segment display. Is there an IC to decode Johnson code to BCD 8421 or directly to a 7-segment displays?
dsicari's user avatar
  • 101
-1 votes
1 answer
5k views

Verilog code for construction of 4x16 decoder using 3x8 decoder [closed]

This is my 3x8 verilog module: ...
SUSMITHA M 's user avatar
4 votes
4 answers
2k views

What is the main difference between a decoder and a demultiplexer

What is the difference between a decoder and a demultiplexer and why would you choose one over the other in a design? Apart from the fact that they are constructed and operated differently, they both ...
aLoHa's user avatar
  • 597
0 votes
2 answers
101 views

Decoder Simulation Results are incorrect

I was trying to design a simple address decoder using VHDL. The simulation results are wrong. I am sharing the code below for your reference. In my design, I want to set a bit in my output ...
STARK_JR's user avatar
1 vote
2 answers
200 views

Efficient single cycle huffman decoding technique with wider input data?

I have a wider input data (Byte width) running in my system, and I'm implementing a huffman decoding on this incoming data. Since, the Huffman encoded words don't have the fixed length, hence I need ...
Learner's user avatar
  • 185
0 votes
0 answers
328 views

Difference between IC 74LS47 and 7446N

What are the major differences between these two ICs 74LS47 and 7446N whose working is mostly the same ? Both are used as BCD to 7 segment decoder driver
Pranav D's user avatar
1 vote
3 answers
151 views

Found a particular chip, now I can't find it again

A couple of weeks ago, I stumbled on a particular chip. At the time I didn't need it, but now I do and I can't find it again. The chip was a 4-16 line demultiplexer, but its input came from an I2C ...
J. Hyslop's user avatar

1
2 3 4 5