|
Turn The Screws! Open your eyes, look in front, look at the back, look at any angle and you will see something that is an engineer's creation. Engineers have been making things possible that others could only imagine. It perfectly makes sense to have a common place for engineers from around the world where they can share ideas, innovate, & help each other. Engineers are eternal, with the younger at 62 & the youngest at 17, the CEan gang consists of working professionals, students, entrepreneurs, CEOs, professors, geeks & nerds. Need we say more? Click Here To Join The Gang! |
![]() |
| Sponsored links | |
|
|
|
|
CE - Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
I'm a Crazy Electronics Hacker & Engineer
Join Date: 2nd October 2006 Location: Dubai, UAE
Posts: 566
|
Wow, your question is very understandable and I get it that you are thinking this is a dumb question. To most electronic engineers this is a very very bascic Q, BUT our shit education does not teach us these important basics
Digital Signal Generally speaking digital or analog signal depends where you are giving 5 Volts or 3V or 0V. If you give 5 Volts to microcontroller then its Digital 1. If 0 volts then 0. You can rmember like this: if 5volt then 1 (it is on) if no volt then 0 (it is off) But its not exact sometimes, it can be: (0 to 1.2 Volts) as 0. and (4.0 to 5 Volts) as 1 for a microcontroller. Some microcontrollers can accept 3.3V as 1 and 0Volts as 0. These are all digital signals because you are giving it to a "digital device". Analog Signal BUT if you give the same 5 volts to a circuit which has a resistor and a bulb it is considered analog signal. Well, we dont say "Analog signal" usually, just voltage. Another important thing. Digital circuits is just a collection of many analog devices like capacitors, transistors, resistors and inductors. The same analog stuff we learn in 9th grade. Thats all. Only thing is there are millionns of them in a digital circuit connected together to accept just two signal "modes" ON(5V) or OFF(0V). And diferent digital circuits can accept different voltages a 1 and 0. Visit this link and keep reaaading Digital electronics - Wikipedia, the free encyclopedia
__________________
MY BLOG (Checkitout for Robotics, Hardware Hacks and more) |
|
|
|
| Sponsored links | |
|
|
|
|
CE - Apprentice
![]() ![]()
I'm a Crazy Electronics Engineer
Join Date: 15th April 2008
Posts: 32
|
Quite unfortunately, there are many engineers who don't understand what their respective engineering field is all about. So Vaibhav, it is good of you to ask such a basic question (a question that most electronics engineers will answer incorectly)
You've had some answers here and so I will try not to repeat anything unnecessarily in my reply. We devide signals in many ways. Analog (periodic & non-periodic) and Digital being two of our concern in this discussion. The difference between these two is that while Analog is continuous, Digital is not so. Digital signals instead identifies a 'quantum' which is the smallest change in signal that can be recognized. Analog voltage, for an instance can take any value eg 1V, 1.45V, 3.268V... etc. All these values are acceptable subject to what level of accuracy you desire. A digital signal, on the other hand, with a quantumm of 1V can only take such values as 1V, 2V, 3V...etc. A value like 1.5V is not legal. It will be taken as 1V (or 2V depending on logic). The above is a generic understanding of Digital and Analog. There are many further classification in the two. When you speak of '1' and '0' you're talking of "Binary Logic Digital Signal". In this only two logic levels of the signal are accepted, '1' and '0' which may represent 'true' and 'false' or 'on' and 'off'. What analog value of the actual signal is taken as '1' and what is taken as '0' depends on the logic standard that being used. The most popular one (historically) being TTL logic. A newer one would be CMOS logic. You may search about these on google and study them. Pay attention to noise margin and other such concepts. To answer your following question: ' are these inputs analog or digital?? if they are analog then how do we give a digital input??' All natural signals are analog in nature. Digital signals don't exist on it's own. When you say 5V you're naming an analog value. Understand also that this 5V is not an absolute value. It's a differential value (5V with respect to a certain potential level accepted to be 0V). What you accept as logic '1' and what as logic '0' will be clear to you when you read about TTL and CMOS logics. |
|
|
|
| Sponsored links | |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Contact Us - Home - Impressum | Impressum - Archive |