Thursday, September 8, 2011

Digital Electronics

Let's play with digital electronics! sounds like weird but it's fun! Let's say computer is intelligent but it only know the number 0 and 1LoL Child also know the number after 1. so? Have fun!


First of all, why digital?
in electronics, a differentiation is made between basic forms of signal processing: analog and digital.


Analog (continuous system)
-analog computers, radio, stereo, analog multimeters.


Digital (discrete system)
-digital computers, digital tape recording, microprocessor, digital multimeters.


Real World System --> Analog-to-Digital Converter --> Digital System
                 <------------------------------------------------------

Real world tend to be continuous in nature. Thus, continuous information needs to converted into digital information in order to be processed by a digital system.


NUMBER SYSTEMS

Decimal
binary
octal
Hexadecimal
0
0000
0
0
1
0001
1
1
2
0010
2
2
3
0011
3
3
4
0100
4
4
5
0101
5
5
6
0110
6
6
7
0111
7
7
8
1000
10
8
9
1001
11
9
10
1010
12
A
11
1011
13
B
12
1100
14
C
13
1101
15
D
14
1110
16
E
15
1111
17
F


Conversions


  • dec --> bin

1710 = 100012
2
17

2
8
1
2
4
0
2
2
0
2
1
0
2
0
1

  • bin --> dec

100012 = (1x24+1x20)
   = 1710


  • dec --> octal

26610 = 4122
8
266

8
33
2
8
4
1
0
4

  • octal --> dec

3728    = (3x82+7x81+2x80)
    = 25010

  • dec -->hex


42310 = 1A716
16
423

16
26
7
16
1
10
0
1

  • hex --> dec


35616 = (3x162+5x161+6x160)
   = 85410