Introduction:

Quantities in real world can be measured and monitored in either analog or digital formats. Before getting into digital logic, let us understand what analog and what digital measurement is:

Simply put analog reads and measures continuous and changing values, while digital records changes in discrete steps.
We all know that most physical quantities in real world are analog in nature. However, strange but true many of us understands digital format much better. How many times have you preferred an analog scale over a digital scale, analog watch over a digital watch (not the style, but the ease of reading)? So, why do we prefer digital over analog? Let us find the advantages and disadvantages of Digital measurement over analog and then understand what and how of digital logic.

Advantages of Digital measurement:

  1. Design and Calculation is easier
  2. Programming over discrete digital values is more convenient than varying analog values
  3. Less expensive, more reliable and flexible in design and measurement
  4. Compatible with other digital systems
  5. Information storage and manipulation is easier

Just like any other good stuff in the world, digital measurement also comes with its own drawbacks. Some of them are:

  1. Since real world is analog in nature, it requires it to convert from Analog to Digital format for our understanding. If we need to analyze our result, we normally need to convert it back to analog which is an overhead.
  2. For some real world applications, we prefer continuous and precise values over discrete values.

In our robot world, we deal with more digital values than analog values. The inputs from most electronic components are analog which will be converted with an ADC (analog to digital converter) and measured or analyzed. E.g. Output from an LDR (Light Dependent Resistor), an Accelerometer, Sound Sensors are all analog which needs to be converted to digital format for calculation. Most, if not all microcontrollers have a built in ADC within.

Why do we need number conversion?
The digital components like microprocessor, microcontroller does not understand analog voltages and it requires digital values for computation or processing. Also if the values are in binary or in hexadecimal, complex calculations can be done using a microcontroller quickly and accurately.

Do you have anything to say?
Visit the Forum to discuss, learn and share anything related to robotics and electronics !!

rss feeds



Featured Videos




Advertisements


Recent Articles




Atmega8 Development Board


A great step-by-step tutorial on building your own Atmel AVR based Atmega8 development board. The board is ideal for beginners with detailed explanation and pictures More...

L293D Motor Driver


For robots to do work, you need to know how to control a motor. L293D is a cleverly packed IC which can control two DC motors in both directions: forwards and reverse. Here is a detailed explanation of building a board based on L293D ICMore...

Hobby Servo Tutorial


Servo Motor is a device which uses error-sensing feedback signals to determine and control the position of a motor shaft. The term "servomechanism" closely relates to servo motors..More...

Blinking LED Tutorial


This is similar to what we achieve in any "Hello World" program. However, it is not just limited to blinking LED but scratches the surface of AVR-GCC programming... More...


Kindly Donate

If this site has helped you, then kindly consider a Donation to say "Thank You!!". Donation might help us keep all this information available for free and also pay for the resources.

If that is difficult, then a simple "Hi" in the forum would still do good :)