Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

0s and 1s

Posted on 1998-05-30
9
Medium Priority
?
168 Views
Last Modified: 2010-04-27
  Why is it, that the nought is actualy representing 0.5v, rather than 0v ?
0
Comment
Question by:crab1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 1135711
It's very difficult to get an electrical signal all the way down to 0V.  In practice, there are acceptable ranges of voltage that are interpreted as a 0 or a 1.  For standard 5V logic, a 1 is when the voltage is >2.0V at an input or >2.4V at an output.  The 0.4V difference is called the margin and allows for voltage drop in the interconnect.  A 0 is <0.8V at an input and <0.4V at an output.  Other logic families use different threshold voltages but the idea is the same.
0
 

Author Comment

by:crab1
ID: 1135712
 But, why do you need an electrical signal? - I think the answer is that it is difficult to react to a nothing voltage (ie. involving lots of circuitry, with not gates etc), whereas if you have a voltage, you instantly know that the signal is a negative one.
0
 
LVL 32

Expert Comment

by:jhance
ID: 1135713
0V is not a nothing voltage, it's just 0V difference from some reference point.  For example, if I have to 9V batteries and hook their '-' terminals together, I can measure 9V between the "-" terminals and either "+" terminal.  If however, I measure from one "+" terminal to the other, I get 0V.  Both are said to be a the same potential so there is 0V between them.  It's easy to detect and react to a 0V situation in an electronic circuit, in fact, this is quite common.

Maybe you could clarify the situation you are asking about a bit more.  There is a fundamental difference between a 0V signal on a conductor and a "nothing" voltage.  Basically, there is no concept of a "nothing" voltage as a voltage is always relative to some other point.  
0
Eye-catchers on the conference table

Challenge: The i-unit group was not satisfied with the audio quality during remote meetings. They were looking for a portable solution with excellent audio quality for use in their conference room but also at their client’s offices.

 
LVL 32

Expert Comment

by:jhance
ID: 1135714
BTW, when I said it's difficult to get a signal down to 0V, I meant that in the context of an electronic system having a 0V based power supply.  Something like +5V.  In this case, since the transistors used to pull the voltage down to the 0V power supply are imperfect, even under the best real-world circumstances, you don't ever get all the way to 0V.  If, however, we are operating using a split power supply (like +5V and -5V) then it's very easy to get 0V.  Now, of course, it's hard to get close to -5V.
0
 

Author Comment

by:crab1
ID: 1135715
  Yes, but what I originaly thought, (after being taught simple electronics in A-Level Physics), was that a 0 was 0v, and a 1 was Xv. The way this worked, was by having a circuit, with a switch ie, when the light is on, you get a 1, and when off, you have a 0. It seemed to me, therefore that it was unneeded to have voltage when giving a zero. But, I think, it is down to the handling of the message - If you ask a circuit something, and it returns a negative, with the original 0 = 0v, no answer will be recieved, unless you use etra circuitry ie. not gates etc, whereas with a 0 = .5v and a 1 = 5v, it is much simpler.
0
 

Author Comment

by:crab1
ID: 1135716
  Hang on - surely the way to get zero volts, is to create a short circuit?! - Wait!, - I know this sounds bad, but that is exactly how a Not gate works, so surely the same applies to a computer?
0
 
LVL 32

Expert Comment

by:jhance
ID: 1135717
I think you're confusing 0V with a logic 0 and they are not necessarily the same thing.  The choice of which voltage in a digital electronic system is 0 and which is 1 is entirely arbitrary and chosen for the convenience of implementation.  For example, an older logic family used in many supercomputers is called ECL.  It used a -5.2V power supply and had a logic 1 at 0V and a logic 0 at -5V.  There is no special relationship between 0V and logic 0 in a digital system.
0
 

Author Comment

by:crab1
ID: 1135718
 Well, that was what the basic question was - why the logic 0 had to be represented by something other than 0v? Which as you say is because of the implementation.
0
 
LVL 32

Expert Comment

by:jhance
ID: 1135719
Right, it's really up to the designer of the technology to choose what is a logical 0 and 1.  In what is commonly called "standard logic" because of it's widespread use, a logic 0 is around 0V and a logic one is higher than 2.0V.  Again, however, it's entirely arbitrary.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question