1 of 27

Basics of Electronics - 2

Digital Technologies

2 of 27

More Circuit Devices - Diode

A diode is a small electronic part that acts like a one-way door for electricity.

It lets electricity flow in one direction but blocks it from going the other way.

3 of 27

Forward Bias vs. Reverse Bias

4 of 27

Question:

Which light bulb will be turned on?

5 of 27

Forward Bias vs. Reverse Bias

In this circuit, we use the diode as a switch:

    • If it is forward biased, the bulb is turned on;
    • If it is revise biased, the bulb is turned off.

6 of 27

Questions: �

How can we make an LED blink on and off at regular intervals?

7 of 27

Method:

To control the on/off state of a switch

Binary-state of the switch: state ‘1’ or state ‘0’

How can we make an LED blink on and off at regular intervals?

8 of 27

Digital Signals

The digital signal takes one of two values. It can be generated by any devices that have two distinct states.

Example:

  • Switch: On vs. Off
  • Voltage: High voltage vs. Low Voltage
  • Spinning component:  clockwise vs. counter-clockwise

9 of 27

A Simple Digital Control System

To control a light from two locations.

e.g. upstairs and downstairs.

https://techovedas.com/from-light-switches-to-laptops-how-logic-gates-define-the-world-of-digital-vlsi-design/

10 of 27

Digital Technology

11 of 27

Digital Technology

Digitized information is recorded in binary code of combinations of the digits 0 and 1, also called bits, which represent words, images and other multimedia representation.

0101000011…

Digital technology makes many things possible …

12 of 27

IoT – Internet of Things

Physical objects with sensors, software, and other technologies that allow them to connect and exchange coded digital data over the internet. 

13 of 27

Digital Communication

  • 1G delivered analog voice.
  • 2G introduced digital voice (e.g., CDMA). 
  • 3G brought mobile data (e.g., CDMA2000). 
  • 4G LTE ushered in the era of mobile Internet.
  • 5G expands mobile networks to support a vast diversity of devices and services and connect new industries with improved performance

Exchanging information, messages, and ideas via digital technologies and platforms

14 of 27

Cloud Computing

Cloud computing is the delivery of computing services—including servers, storage, databases, networking, software, analytics, and intelligence—over the internet (“the cloud”).

15 of 27

Autonomous Vehicle

An autonomous vehicle (also called a self-driving car) is a vehicle that can drive itself without a human control.

It uses sensors, cameras, radar, GPS, and artificial intelligence (AI) to understand the road, detect obstacles, and make driving decisions.

16 of 27

These systems represent, process, and compute all information in digital form.

17 of 27

Binary Number Representation

  • Common numbering system is “base10” -decimal numbers

  • Numbers in base 10
    • Ten different digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
    • Number is represented by a sequence of digits: an an-1 … a1 a0
    • Value of number: an×10n+an-1×10n-1+…+a1×101+a0×100

  • Positional notation
    • General equation:
    • May contain a decimal point
    • Negative index for digits after decimal point

  • Examples
    • 1234.56 – if ambiguous, write (1234.56)10
    • Leading zeros cause no problems: 00001234.56

18 of 27

Positional Integer Number Values

Given a digit series of

The full expression for the represented value is

19 of 27

Binary Numbers

  • Binary numbers use only two digits: 0, 1

Advantages:

Easy for implementation. Use devices or methods that have two distinct states.

Binary numbers are made by combining multiple binary digits—0s and 1s—in a specific order to represent values

20 of 27

Number Base Conversions

  • Convert a decimal number to a binary number�
  • Example: convert (41)10 to binary (r=2)
    • 41 = 20 × 2 + 1
    • 20 = 10 × 2 + 0
    • 10 = 5 × 2 + 0
    • 5 = 2 × 2 + 1
    • 2 = 1 × 2 + 0
    • 1 = 0 × 2 + 1

a0 = 1

a1 = 0

a2 = 0

a3 = 1

a4 = 0

a5 = 1

(101001)2

21 of 27

22 of 27

Exercise

Convert (36)10 to the binary representation

23 of 27

Analog signals carry continuous waves of data. 

Digital signals carry a flow of discrete data.

Real-world signals are inherently analog, including temperature, humidity, sound, light, and many others.

By nature, temperature signals vary continuously over time.

Analog signals vs. Digital signals

A digitized temperature signal takes on discrete values.

24 of 27

Digital Systems

  • For a digital systems to operate on a continuous data, it needs to quantize (digitize) that data first

Covert data into digital representation

    • Almost any measurable quantity, for example, weight, humidity, pressure, mass or air flow, temperature, light intensity, speed, and so on, is analog in nature.
    • Analog signals must be represented in digital format in order to be processed by the digital system.
    • A non-electrical quantity must be converted into electrical voltage before it can be converted into a digital value.
    • An analog to digital (A/D) converter can convert an electrical voltage to a digital value.

A digital thermometer

25 of 27

Digital System –Hardware Circuit Structure

26 of 27

Question:

For an analog temperature signal that varies continuously from 0°C to 100°C, we use a 4-bit digital representation. In this system, 0°C is represented as '0000' and 100°C as '1111’.

How many discrete steps are there, and what is the step size (resolution)?

27 of 27

Solution

A 4-bit binary number can represent:

so, we have 16 steps total.

The total range is from 0°C to 100°C, divided into 15 equal intervals

Question:

To achieve a finer resolution (smaller step size), what can we do?