SDD yearly Flashcards
microcontroller unit
A microcontroller unit (MCU) is a single-integrated circuit. This small self-contained computer is designed to perform a specific task in an embedded system.
General-Purpose Input Output (GPIO) pins
add other electronics to expand the possibilities of the micro:bit.
GND pin
used to complete electrical circuits
A sensor
A sensor is a device that detects and converts a non-electrical input to an electrical signal, uses an appropriate transducer to measure an environmental quantity and converts it into an electrical signal appropriate for use in common microcontrollers.
accelerometer
An accelerometer is a sensor that measures the vibration, or acceleration of motion of a device. They use piezoelectric transducers that convert physical movement into electrical signals.
An actuator
An actuator is a part of a device or machine that helps it to achieve physical movements by converting energy, often electrical, air, or hydraulic, into mechanical force. So, an actuator’s functionality is opposite to that of a sensor
Open Loop Control:
There is no feedback system to control the action.
Closed Loop Control:
A feedback mechanism exists to control the action.
microprocessor/CPU Components:
ALU (Arithmetic Logic Unit): Performs arithmetic and logic operations.
Registers: Temporary storage locations for data and instructions. Port registers allow for lower-level and faster manipulation of the i/o pins of microcontrollers.
Control Unit: Directs the operation of the processor by interpreting instructions from memory and controlling other components.
Memory (RAM), Bus and IO ports
Memory (RAM): Stores data and instructions that are currently in use.
Bus: The communication pathway that transfers data between the CPU, memory, and I/O ports.
I/O Ports: Interfaces for input and output operations, allowing the microprocessor to interact with external devices.
The Bus and I/O Ports are not part of the CPU itself. The Bus is a communication pathway that connects the CPU with memory and I/O devices, while the I/O Ports are interfaces for external communication
instruction set
The set of instructions a particular microprocessor can execute is called its instruction set.
Instruction sets consist of binary codes but are usually described for human readers in a text-based assembly language
translator
A translator changes high level source code such as C++ or Python into binary machine code for the embedded microprocessor in the microcontroller
3 types of registers
DDR, PORT and PIN.
In addition, the chips used on the Arduino board (with 8 bit processor) have three ports (Reference):
B (digital pin 8 to 13)
C (analog input pins)
D (digital pins 0 to 7)
Functionality of each type of register
A DDR register determines whether the pin is an INPUT or OUTPUT.
The PORT register controls whether the pin is HIGH or LOW.
The PIN register reads the state of INPUT pins.
transducer
A transducer converts one form of energy into another. includes sensors and actuators
Bit Rate
refers to the amount of data transmitted per unit of time in a digital communication system (no. digits per second)
Baud Rate Definition
Baud rate indicates the number of times the signal’s state changes per second. (no. of groups of digits per second)