Digital Electronics Flashcards
What are transistors?
In simple terms they can be considered to be switches.
They can open and close to let or stop current flowing through it.
Moore’s Law
Every two years the transistor count in an integrated circuit will double
MOSFET’s
Metal-oxide semiconductor field-effect transistor
Made from silicon
Made using complementary metal-oxide semiconductor (CMOS)
By applying voltage to the gate, you can control the current flow between drain and source
Types of transistors
n-type (n-FET)
n-types don’t let current through by default
p-type (p-FET)
p-types do let current through by default
What’s an embedded system?
A device containing a computer that interacts with its environment using sensors, displays or actuators.
Usually only designed for a few or only one task
What’s a microcontroller?
Can be thought of as a computer system in a single-chip
They are programmed with software that tells it how to interact with hardware and peripherals
Definitions of sampling
Sampling: how many times per second an anologue signal is read
Measured in Hz
Definition of quantisation
A method of discretising an analogue signal
This means the amplitude can only take on of several discrete values/levels
Number of values it can take is called bit depth
For n bits there 2^n levels
AND, OR, NOT symbol and function
AND: D shape, only if both inputs are 1
OR: D with with curved back shape, if one or both inputs are 1
NOT: Triangle with a cirlce on pointy end. Inverts input
Logic gate algebra: AND, OR, NOT, NAND, NOR
AND: y=a.b
OR: y=a+b
NOT: y=a(line above a)
NAND, NOR: line above AND/OR algebra
Buffer, XOR, XNOR
Buffer: y=a, input=output, used to amplify current in circuit
XOR: y=a⊕b, one or the other but not both
XNOR: XOR equation with a line above it, none or both
Logic levels
Get henry to explain these
Creating XOR and XNOR logic circuits
Write the truth table, use SOP algebra to figure it out
Multiplexer + De-Multiplexer
M: Connects multiple inputs to a single output. Use truth table to figure out logic circuit
DM: Connects multiple outputs to a single input
Programmable Array Logic (PAL)
Has a programmable AND array and fixed OR array.
Creating basic gates with NAND and NOT gates
Revise this
Creating NOT and NAND gates from transistors
Revise this
Max number that can be stored in a given number of binary and hexdecimal digits
n=number of digits
Binary: 2^n - 1
Hexadecimal: 16^n - 1
Converting decimal to hex, vice versa
Convert to binary first. Then split into two sets of 4 digits
Sum of products and boolean algebra
Revise this
Writing binary numbers using sign-magnitude
How does this affect the range? What’s special about zero?
Most significant but represents sign
0 = positive number
1 = negative number
Remaining bits represent magnitude of number
Range is smaller as one bit is used for sign (-2^(n-1) + 1 to 2^(n-1) - 1)
Two ways to represent zero (1000 and 0000)