Questions tagged [binary]

Related to binary arithmetic and number system - Base-2 system which represents numeric values using two symbols 0(zero) and 1(one). Use `boolean` tag for logical operations related questions that does not involve binary arithmetic.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
338 views

A curious 433 MHz signal to decode

I bought a cheap set of remote controlled power sockets and I want to integrate them into my home automation system. So I got a 433 MHz receiver for 1€, connected it to my Arduino and tried to decode ...
1
vote
0answers
85 views

Understanding an unknown digital encoding

I'm trying to understand a certain undocumented digital protocol. It looks similar to Miller or coded mark inversion (CMI) encoding. So far I managed to decode the encoded data and get the expected ...
1
vote
0answers
38 views

Decimal addition using a different BCD WEIGHTED CODING

The problem that I'm having trouble in understanding is how the addition of two decimal numbers such as 17 + 4 can be represented using the weighted BCD CODE, [7 4 -2 -1] and binary addition ...
1
vote
2answers
509 views

A circuit to convert 4-bit Gray numbers to BCD

I'm sorry for asking this specific question here but can some one please tell me what's wrong with this solution. Question: design a circuit to convert 4bit Gray numbers to BCD I have to say I ...
1
vote
0answers
78 views

LED-Monitor-Firmware reverse engineering / disassembly => replace manufacturer startup logo

I have a display from a disassembled led-monitor (Wortmann Terra 2446W), that I want to use for a SmartMirror-project. Unfortunately, the monitor shows a big manufacturer logo when connected to power, ...
1
vote
0answers
192 views

Can i output a certain memory area of a processor with objcopy?

For a bootloader (PIC32) i do need only a certain memory area from a binary file (application for a bootloader, config and bootloader are located elsewhere, no hex possible). If i call the ...
1
vote
1answer
6k views

Binary Division with Signed Numbers

I am taking an electrical engineering course as part of my computer science degree and we are talking about how a computer performs math computations only using addition. I understand this because ...
0
votes
1answer
41 views

What is the circuit's logic diagram of a (2-bit binary to decimal) encoder

To give a sense of what I am looking for ... this is a the circuit's logic diagram of a 4-bit binary to decimal encoder. Here is its truthtable Now, What is the circuit's logic diagram of a 2-bit ...
0
votes
2answers
66 views

K-maps for forming 8bit binary to 8bit BCD digital circuit

I have been trying to convert 8bit binary to 8bit BCD. The circuit I have been working on is below: I built a 4bit binary to 5bit BCD converter using a similar truth table like the one here: Do I ...
0
votes
0answers
16 views

avoid synthesizing priority encoder for onehot to binary conversion module

For https://github.com/jbush001/NyuziProcessor/blob/master/hardware/core/oh_to_idx.sv#L40 , why use OR operation to avoid synthesizing priority encoder ? if DIRECTION != "LSB0" and NUM_SIGNALS isn'...
0
votes
1answer
78 views

How do I convert 1/3 to signed float 8 bit?

The formula is as follows: (-1)^[signed bit] * (1.[significant bit]) * (2^[excess bit -3]) or (-1)^[s] * (1.[f]) * (2^[x-3]) It is a question posed by my signals and systems instructor, hence the ...
0
votes
0answers
44 views

Can Binary to BCD conversion generalize to multiple of 8 bits?

I am trying to solve Problem 16 of Project Euler without using Big Integer libraries like GMP. I came across Binary-To-BCD algorithm to encode 8 bit number as corresponding digits in decimal ...
0
votes
0answers
48 views

Ladder Logic BCD Communications

I have a very limited number of outputs available (4 to be exact) on my existing PLC and need to share 5-7 bits of information to another PLC without having the expense off add-on communication cards. ...
0
votes
1answer
43 views

Is parallel adder doing additions in each bit position simultaneously?

Does parallel binary adder actually make additions in each position simultaneously? I have read various sources and they all have this description relating to the parallel binary adder: "The additions ...
0
votes
0answers
106 views

High/low order of the 4 select inputs of a 16-to-1 SN74150 MUX

I'm looking at a Texas Instrument Data sheet for an SN74150 16-to-1 MUX but I can't find which of the select inputs (A, B, C, D) is the higher order and which is the lower order. Does anyone know ...
0
votes
1answer
46 views

A different way for converting to 2's complement

One way to convert any number to 2's complement is by adding the number to 256, if the number can be represented by 8 bit number. For example if we want to convert -100 to 2's complement we do ...
0
votes
1answer
749 views

Bcd subtractor units connections

I'm new in electronics. I'm trying to make a BCD calculator, but I got stuck in BCD subtraction. I got stuck in: how can I connect multiple bcd subtrator units? I'm trying to make a 3 digit calculator,...
0
votes
0answers
768 views

4 bit binary full adders, bcd and seven segment displays

I'm having fun with some 74LS283[1] 4 bit binary adders but I am having trouble working out how I should convert the output to a decimal which could be used to drive two 7 segement displays which are ...
-1
votes
1answer
106 views
-1
votes
2answers
5k views

Excess-3 to binary decoder using unused combinations of the code as don't-care condition

This problem is from my textbook chapter review question, and it seems a lot different from the example provided by textbook, so I have no idea what to do. I even have solution manual for this, but ...