STEMAIDE Coder Pro Kit - Complete Glossary
Welcome to the STEMAIDE Coder Pro Glossary! This comprehensive reference guide covers all technical terms, advanced hardware components, programming concepts, and system integration principles used throughout the Coder Pro manual. Use this glossary to quickly look up concepts as you build smart systems, automation hubs, and capstone engineering projects.
Table of Contents
- Advanced Hardware Components
- Communication Protocols
- Advanced Programming Concepts
- Control Systems & Automation
- Sensors & Actuators
- Circuit Prototyping & Power
Advanced Hardware Components
Microcontrollers & Shields
- Arduino Uno: The primary 8-bit microcontroller board acting as the central processing unit ("brain") for your projects. It features an ATmega328P chip, 14 digital input/output pins (6 supporting PWM), and 6 analog inputs.
- Sensor Shield: An expansion board that plugs directly onto the Arduino Uno to break out all pins into dedicated VCC, GND, and Signal pin clusters, facilitating the clean connection of multiple sensors and servo motors.
Displays & Indicators
- Liquid Crystal Display (LCD) 16x2 with I2C: A flat-panel display capable of showing 2 lines of 16 characters each. The integrated I2C backpack reduces the required pin connections from 12 down to just 4 (VCC, GND, SDA, SCL).
- 8x8 LED Dot Matrix (MAX7219): An display grid of 64 individual LEDs arranged in 8 rows and 8 columns. Managed by the MAX7219 driver chip, it allows control of the entire grid using only 3 SPI pins, commonly used for scrolling text and glyph animations.
- 7-Segment Display: A numeric display component made of 7 distinct LED segments (plus a decimal point) arranged in a figure-8 shape. Used for countdown timers, clocks, and scoreboards.
Input & Access Control Modules
- 4x4 Matrix Keypad: An input device featuring 16 buttons arranged in a grid of 4 rows and 4 columns. It uses multiplexing to map 16 keys to only 8 digital pins, essential for security system PIN entries.
- MFRC522 RFID Module: A Radio-Frequency Identification reader operating at 13.56 MHz. It uses electromagnetic fields to read data stored on RFID cards or key fobs when they are brought into close proximity.
Time & Control Modules
- Real-Time Clock (RTC - DS1307/DS3231): A battery-backed timekeeping module that keeps track of the current year, month, day, hour, minute, and second, even when the main Arduino board is powered off.
- Relay Module: An electromagnetic switch that allows a low-power Arduino pin (5V) to safely control high-power or high-voltage circuits (e.g., household appliances, DC water pumps) by isolating the control signal from the load.
Communication Protocols
- I2C (Inter-Integrated Circuit): A synchronous, multi-device, packet-switched, single-ended, serial communication bus. It uses only two bidirectional lines: SDA (Serial Data) and SCL (Serial Clock). Common I2C devices include the LCD 16x2 and the BME280 sensor.
- SPI (Serial Peripheral Interface): A synchronous serial communication interface used for short-distance, high-speed communication. It uses four lines: MOSI (Master Out Slave In), MISO (Master In Slave Out), SCK (Serial Clock), and SS (Slave Select). Used by the MFRC522 RFID reader.
- UART / Serial (Universal Asynchronous Receiver-Transmitter): An asynchronous serial communication protocol that transmits data byte-by-byte. It uses two lines: TX (Transmit) and RX (Receive), which are tied to digital pins 1 and 0 on the Arduino Uno and connected to the USB interface.
- 1-Wire: A device communications bus system designed by Dallas Semiconductor that provides low-speed data, signaling, and power over a single wire. Used by the DS18B20 digital temperature sensor.
Advanced Programming Concepts
- Libraries: Pre-written bundles of code that simplify control of complex modules. They abstract away low-level register control and timing details. Examples:
<MFRC522.h>for RFID,<Keypad.h>for matrix keypads, and<RTClib.h>for real-time clocks. - Class and Object: Object-oriented programming (OOP) structures. A Class is a blueprint for creating an object (e.g., the
LiquidCrystal_I2Cclass definition), and an Object is a specific instance of that class (e.g.,LiquidCrystal_I2C lcd(0x27, 16, 2);). - Member Function / Method: A function associated with a specific class object, invoked using the dot operator (e.g.,
lcd.print()orrfid.PCD_Init()). - Scope & Lifetime: Rules governing where a variable can be accessed. Global variables are declared outside all functions and persist for the entire run duration, whereas local variables are declared inside a function block
{}and exist only while that block is executing. - Interrupts: Hardware-driven signals that temporarily halt the main program execution to run a small block of critical code, known as an Interrupt Service Routine (ISR), immediately. Helpful for capturing brief inputs like wheel encoder ticks.
Control Systems & Automation
- Feedback Loop: A system configuration where sensor readings (outputs of a process) are used to adjust the control signals (inputs) to achieve a desired system state (e.g., adjusting heater output based on temperature readings).
- Threshold-Based Control: Automation logic where actions are triggered when a reading crosses a specific limit (e.g., turning on a fan if the temperature exceeds 28°C).
- Calibration: The process of mapping raw, uncalibrated sensor values (such as an analog LDR light level) to meaningful engineering units or adjusting the software thresholds to match the ambient environment.
- State Machine: A software design pattern where the system logic moves between predefined "states" (e.g., SAFE, ALARM_TRIGGERED, DISARMED) based on inputs and transitions.
Sensors & Actuators
- BME280 Environmental Sensor: A precision sensor that measures temperature, relative humidity, and barometric pressure, communicating via I2C.
- DS18B20 Waterproof Sensor: A digital thermometer that utilizes the 1-Wire protocol, capable of measuring temperatures in liquids with high precision.
- Stepper Motor (28BYJ-48): An electromagnetic actuator that converts digital pulses into precise mechanical rotation. It moves in discrete steps (typically 2048 steps per full revolution) and is driven using a ULN2003 driver chip.
- DC Motor: A rotary motor driven by direct current. Speed is controlled using Pulse Width Modulation (PWM), and direction is controlled by reversing polarity (via H-Bridge circuits or relays).
- 74HC595 Shift Register: An integrated circuit that converts serial data (input bit-by-bit on 1 pin) into parallel data (outputting to 8 pins simultaneously), enabling the Arduino to drive 8 outputs using only 3 control pins.
- Flame Sensor: An infrared-sensitive photodiode that detects light in the infrared wavelength spectrum emitted by open flames.
- Active vs. Passive Buzzer: An active buzzer produces a fixed-frequency tone when supplied with a constant DC voltage. A passive buzzer requires an AC signal (or square wave via the
tone()function) to produce variable frequencies and melodies.
Circuit Prototyping & Power
- Pull-up / Pull-down Resistors: Resistors (typically 10kΩ) connected to digital input pins to ensure they remain at a stable logic state (HIGH or LOW) when an input switch is open, preventing a "floating" pin state.
- Common Ground: The practice of linking the ground (GND) terminals of all separate power sources and modules in a circuit together, establishing a shared reference voltage (0V) for signal communication.
- Decoupling Capacitor: A capacitor (e.g., 100µF) placed close to motor or IC power pins to absorb sudden spikes and drops in current, stabilizing the supply voltage and preventing microcontrollers from resetting.
- Flyback Diode: A diode connected in parallel across an inductive load (like a DC motor or relay coil) to protect the control circuit from high-voltage spikes created when the inductive load is switched off.