Knowledge Base

Explore the Core Topics

Comprehensive overviews of AI, IoT, Embedded Systems, and Medical Devices โ€” covering concepts, tools, and real-world applications.

๐Ÿง 
Domain 01

Artificial Intelligence & Machine Learning

AI enables systems to learn from data, identify patterns, and make decisions with minimal human intervention. From classical ML to modern deep learning, AI is the intelligence layer behind smart industrial and healthcare systems.

Supervised Learning

Models trained on labelled data to predict outputs. Includes regression (continuous output) and classification (categorical output). Algorithms: Linear Regression, SVM, Decision Trees, Random Forests, Gradient Boosting (XGBoost).

Neural Networks & Deep Learning

Multilayer perceptrons (MLP), Convolutional Neural Networks (CNN) for image processing, Recurrent Neural Networks (RNN/LSTM) for time-series data. Frameworks: TensorFlow, PyTorch, Keras.

Computer Vision

Enabling machines to interpret visual data. Core tasks: object detection (YOLO, SSD), image segmentation, optical character recognition (OCR), defect detection on production lines.

Natural Language Processing (NLP)

Text classification, sentiment analysis, named entity recognition, and transformer architectures (BERT, GPT). Used in automated report generation and clinical documentation.

Edge AI & TinyML

Deploying ML models on resource-constrained embedded hardware (Cortex-M, ESP32). Tools: TensorFlow Lite, Edge Impulse. Enables real-time inference without cloud connectivity.

Predictive Analytics

Using historical data to forecast failures, anomalies, or trends. Foundational for predictive maintenance in Industry 4.0 โ€” reducing unplanned downtime by 30โ€“50%.

โ–  Key Concepts to Know

โ–ธOverfitting occurs when a model memorises training data but fails to generalise โ€” addressed by regularisation, dropout, and cross-validation.
โ–ธFeature engineering is often more impactful than algorithm selection โ€” the quality of input data determines model quality.
โ–ธTransfer learning allows pre-trained models (e.g. ResNet, BERT) to be fine-tuned on smaller domain-specific datasets.
โ–ธModel quantisation and pruning compress neural networks for deployment on microcontrollers with limited RAM and flash.
โ–ธConfusion matrix, precision, recall, F1-score, and AUC-ROC are standard metrics for evaluating classification models.
โ–ธAnomaly detection with autoencoders or Isolation Forest is effective for IoT sensor fault detection without labelled data.

TOOLS & FRAMEWORKS

PythonTensorFlow 2.xPyTorchScikit-learnOpenCVPandasNumPyEdge ImpulseTensorFlow LiteONNXJupyterMLflow

APPLICATION AREAS

๐Ÿญ
Industrial Automation

Quality inspection, defect detection, predictive maintenance

๐Ÿฅ
Healthcare AI

Medical image analysis, clinical decision support, drug discovery

๐ŸŒพ
Smart Agriculture

Crop disease detection, yield prediction, autonomous harvesting

๐Ÿš—
Autonomous Systems

Self-driving vehicles, drones, robot navigation

โšก
Energy Management

Load forecasting, grid optimisation, fault detection

๐Ÿ“ก
Domain 02

Remote Monitoring & IoT

The Internet of Things connects physical sensors, machines, and infrastructure to cloud platforms for real-time data collection, analysis, and control. Remote monitoring systems provide 24/7 visibility into critical assets across any geography.

IoT Architecture Layers

Perception layer (sensors/actuators) โ†’ Network layer (communication protocols) โ†’ Processing layer (edge/fog/cloud) โ†’ Application layer (dashboards, alerts). Each layer has distinct design constraints.

MQTT Protocol

Lightweight publish-subscribe messaging protocol designed for low-bandwidth, high-latency networks. Runs over TCP/IP with QoS levels 0, 1, 2. Standard broker: Mosquitto, AWS IoT Core, HiveMQ.

LoRa & LoRaWAN

Long-range, low-power wireless technology for IoT. LoRa (physical layer) enables 2โ€“15 km range. LoRaWAN (MAC layer) manages network access. Ideal for agriculture, smart cities, asset tracking.

Modbus Protocol

Master-slave serial communication protocol widely used in industrial automation. Variants: Modbus RTU (binary, RS-485), Modbus ASCII, Modbus TCP/IP. Supports 16-bit register reading/writing.

Cloud IoT Platforms

AWS IoT Core, Azure IoT Hub, Google Cloud IoT, ThingsBoard. Provide device management, data ingestion pipelines, stream analytics, and visualisation dashboards at scale.

Edge Computing

Processing data near the source (at the device or gateway) to reduce latency, bandwidth use, and cloud costs. Essential for time-critical industrial control and real-time anomaly detection.

โ–  Key Concepts to Know

โ–ธMQTT's retained messages ensure new subscribers immediately receive the last known value of a topic โ€” critical for status flags.
โ–ธOPC-UA (Unified Architecture) is the industrial standard for secure, platform-independent data exchange in Industry 4.0.
โ–ธWatchdog timers and heartbeat messages are essential for detecting node failures in distributed IoT networks.
โ–ธTime-series databases (InfluxDB, TimescaleDB) are optimised for high-frequency sensor data storage and fast range queries.
โ–ธTLS/SSL encryption, certificate-based device authentication, and VPN tunnels are minimum-security requirements for industrial IoT.
โ–ธCellular IoT options: 2G/GPRS (legacy), LTE-M (Cat-M1), NB-IoT โ€” each with different data rate, latency, and power trade-offs.

TOOLS & PLATFORMS

MQTT/MosquittoNode-REDGrafanaInfluxDBThingsBoardAWS IoT CoreAzure IoT HubModbus PollWiresharkCURL/RESTOPC-UA

APPLICATION AREAS

๐Ÿญ
Industrial Monitoring

Motor health, vibration analysis, temperature/pressure tracking

๐Ÿฅ
Healthcare Monitoring

Patient vitals, cold-chain pharma, hospital asset tracking

๐ŸŒ†
Smart Cities

Street lighting, parking, waste management, air quality

โšก
Energy & Utilities

Smart metering, substation monitoring, solar/wind management

๐ŸŒพ
Precision Agriculture

Soil moisture, irrigation control, greenhouse climate

๐Ÿ’ป
Domain 03

Embedded Systems

Embedded systems are dedicated computing systems designed to perform specific tasks within larger systems. They are the foundation of every connected device โ€” from a smart thermostat to an industrial PLC to a medical ventilator.

Microcontrollers vs Microprocessors

MCUs integrate CPU, RAM, flash, and peripherals on a single chip (STM32, PIC, AVR, ESP32). Microprocessors are bare CPUs requiring external memory (Raspberry Pi uses BCM2711). MCUs suit real-time, low-power applications.

Communication Protocols

UART (asynchronous, 2-wire), SPI (synchronous, 4-wire, fast, short range), I2C (2-wire bus, multi-device), CAN (differential bus, automotive/industrial), RS-485 (multi-drop, long distance). Each suits different needs.

RTOS (Real-Time Operating System)

Provides deterministic task scheduling for time-critical applications. FreeRTOS is the dominant open-source RTOS. Concepts: tasks, queues, semaphores, mutexes, interrupt service routines (ISR).

Memory Architecture

Flash (program storage, non-volatile), SRAM (runtime variables, volatile), EEPROM (configuration data). Harvard architecture separates instruction and data buses for faster fetches in MCUs.

Interrupts & DMA

Hardware interrupts allow peripherals to signal the CPU without polling. DMA (Direct Memory Access) enables peripheral-to-memory data transfer without CPU involvement โ€” critical for audio, ADC, and UART buffers.

Low-Power Design

Sleep modes (Sleep, Stop, Standby) reduce MCU power consumption from mA to ยตA. Power-gating peripherals, optimising clock speeds, and using RTC wake-up enable years of battery life in IoT sensors.

โ–  Key Concepts to Know

โ–ธThe HAL (Hardware Abstraction Layer) separates application code from hardware registers โ€” enables code portability across MCU families.
โ–ธVolatile keyword in C prevents compiler optimisation of variables modified by ISRs or hardware โ€” missing it causes hard-to-debug race conditions.
โ–ธBootloaders (ST's DFU, custom UART bootloaders) enable firmware updates in the field without debug probes.
โ–ธJTAG and SWD (Serial Wire Debug) interfaces allow step-through debugging, register inspection, and flash programming.
โ–ธStack overflow is a common failure mode โ€” always size RTOS task stacks generously and use stack watermark monitoring in debug builds.
โ–ธFixed-point arithmetic is often preferred over floating-point on MCUs without an FPU, trading precision for execution speed.

POPULAR PLATFORMS & TOOLS

STM32 (ST HAL/CubeMX)ESP32/ESP-IDFArduinoPIC (MPLAB)MSP430FreeRTOSZephyr RTOSPlatformIOGCC ARMOpenOCDLogic AnalyserOscilloscope

APPLICATION AREAS

๐Ÿš—
Automotive

ECU, ABS, ADAS, CAN bus nodes, dashboard controllers

๐Ÿญ
Industrial

PLCs, motor drives, protocol converters, HMIs

๐Ÿฅ
Medical

Infusion pumps, ventilators, wearable monitors

๐Ÿ 
Consumer IoT

Smart home devices, wearables, appliances

โœˆ๏ธ
Aerospace

Flight computers, sensor hubs, telemetry systems

โš•๏ธ
Domain 04

Medical Devices & Health Technology

Medical devices combine embedded electronics, biosensors, connectivity, and AI to monitor, diagnose, and treat patients. Development requires deep technical knowledge alongside strict regulatory compliance.

Biosignal Acquisition

ECG (heart electrical activity, ~1โ€“40 Hz), EMG (muscle signals, ~20โ€“500 Hz), EEG (brain waves, 0.5โ€“100 Hz), PPG (optical pulse measurement), SpOโ‚‚ (oxygen saturation). Requires specialised ADCs and analogue front-ends (AFE).

Wearable Sensor Technology

Accelerometers (activity, fall detection), gyroscopes (motion), temperature sensors (core/skin), galvanic skin response (stress). Integration challenges: miniaturisation, battery life, motion artefact rejection.

Wireless Connectivity in Healthcare

Bluetooth Low Energy (BLE) for wearables, ZigBee for hospital sensor networks, Wi-Fi for higher-bandwidth imaging devices. IEEE 11073 defines healthcare device communication standards.

Regulatory Compliance

FDA (US): 21 CFR Part 820, 510(k) clearance, De Novo. EU: MDR 2017/745, CE marking. IEC 62304 (software lifecycle), IEC 60601-1 (electrical safety), ISO 13485 (quality management). Non-negotiable for commercialisation.

AI in Medical Diagnostics

Deep learning for medical imaging (chest X-ray, CT, MRI analysis), arrhythmia detection in ECG, early sepsis prediction from vital trends, retinal image analysis for diabetic retinopathy.

Data Security & Privacy

HIPAA (US) and GDPR (EU) govern patient data handling. Device security: encrypted storage, secure boot, TLS for data transmission, role-based access control. Critical: data breach in healthcare is both legal and life-safety risk.

โ–  Key Concepts to Know

โ–ธIEC 62304 classifies software into Class A (no injury), B (non-serious injury), C (serious injury) โ€” Class C demands the most rigorous V&V process.
โ–ธAnalogue front-end ICs (Texas Instruments ADS1298, Maxim MAX30102) handle ECG and SpOโ‚‚ signal conditioning before ADC conversion.
โ–ธMotion artefacts in wearable PPG are typically removed using accelerometer data and adaptive filtering algorithms.
โ–ธFMEA (Failure Mode and Effects Analysis) is a mandatory risk analysis tool โ€” every potential failure mode must be identified and mitigated.
โ–ธHL7 FHIR is the modern interoperability standard for exchanging health records between systems and devices.
โ–ธClosed-loop medical devices (insulin pumps, pacemakers) require especially rigorous control algorithms and watchdog safety layers.

TOOLS & STANDARDS

IEC 62304ISO 13485IEC 60601-1FDA 21 CFR 820HL7 FHIRADS1298 (ECG IC)MAX30102 (PPG/SpOโ‚‚)BLE 5.0MATLAB DSPFreeRTOSMISRA-C

DEVICE CATEGORIES

โค๏ธ
Cardiac Monitoring

ECG patches, Holter monitors, implantable loop recorders

โŒš
Wearables

Fitness trackers, continuous glucose monitors, smart patches

๐Ÿฅ
Hospital Devices

Patient monitors, infusion pumps, ventilators, defibrillators

๐Ÿงฌ
Diagnostic Devices

Point-of-care testing, ultrasound, portable imaging

๐Ÿค–
Surgical Robotics

Robotic-assisted surgery, haptic feedback systems