Technical Articles
Embedded engineering blog
Articles organised by roadmap branch and topic. Reading a topic’s article is how you mark it learned.
Analog Electronics79 articles
- AC Power: Real (P), Reactive (Q), Apparent (S), Power FactorAC Power: Real (P), Reactive (Q), Apparent (S), Power FactorA working engineer's guide to the four quantities that describe AC power — real, reactive, apparent and power factor — including the non-sinusoidal case most textbooks skip and the measurement pitfalls that produce wrong meter readings10 min read
- Bode Plot: Magnitude and Phase vs. FrequencyBode Plot: Magnitude and Phase vs. FrequencyBode Plot: Magnitude and Phase vs. Frequency What a Bode Plot Is A Bode plot is a graphical representation of a linear, time-invariant LTI system's frequency response. It splits t...6 min read
- Capacitor: Charge, Energy, V-I Relationship (I = C dV/dt)Capacitor: Charge, Energy, V-I Relationship (I = C dV/dt)How Q = CV, W = ½CV², and I = C dV/dt govern capacitor behavior — with a fully checked constant-current charging example and design implications.6 min read
- Circuit Sensitivity Analysis: ∂H/∂ComponentCircuit Sensitivity Analysis: ∂H/∂ComponentHow to quantify and combine component tolerances into predicted circuit variation using ∂H/∂x — with a worked RC filter example and design implications.5 min read
- Decibel (dB): Voltage, Current, and Power RatiosDecibel (dB): Voltage, Current, and Power RatiosHow the 10·log₁₀ and 20·log₁₀ decibel formulas relate power, voltage, and current ratios — and where the impedance-matching assumption can trip you up.7 min read
- Elmore Delay Model for RC InterconnectsElmore Delay Model for RC InterconnectsHow to estimate RC interconnect delay with a closed-form sum instead of full SPICE — the model behind buffer insertion and static timing analysis.6 min read
- Energy Storage and Duality in CircuitsEnergy Storage and Duality in CircuitsCapacitors and inductors store energy through mirror-image laws — understand the duality between them and you get inductor behavior for free from every capacitor result.6 min read
- Fourier Series: Harmonic Decomposition of SignalsFourier Series: Harmonic Decomposition of SignalsHow periodic signals break into sinusoidal harmonics, with the square-wave series worked in full and the design impact on EMI, PWM filtering, and THD.5 min read
- Impedance (Z), Admittance (Y), Reactance (X)Impedance (Z), Admittance (Y), Reactance (X)How impedance, admittance, and reactance extend Ohm's Law to AC circuits with complex numbers, worked with a full series RL example and Z↔Y conversion.6 min read
- Inductor: Flux, Energy, V-I Relationship (V = L dI/dt)Inductor: Flux, Energy, V-I Relationship (V = L dI/dt)How inductors store energy in a magnetic field, why V = L·dI/dt governs their behavior, and why interrupting inductor current safely requires a flyback path.7 min read
- Kirchhoff's Current Law (KCL) and Node AnalysisKirchhoff's Current Law (KCL) and Node AnalysisA quantitative walkthrough of KCL and node analysis — supernodes, a fully worked and verified example, and why this method underlies every SPICE simulator.7 min read
- Kirchhoff's Voltage Law (KVL) and Mesh AnalysisKirchhoff's Voltage Law (KVL) and Mesh AnalysisA working derivation of Kirchhoff's Voltage Law and mesh analysis, with a fully solved two-mesh resistor network verified against KCL, plus supermesh handling and AC extension.7 min read
- LTspice: Schematic Entry and Simulation BasicsLTspice: Schematic Entry and Simulation BasicsA practical walkthrough of LTspice schematic entry, SPICE analysis directives, and a worked RC step-response example — the baseline skill for validating any analog circuit before prototyping.6 min read
- Laplace Transform for Circuit AnalysisLaplace Transform for Circuit AnalysisHow the Laplace transform turns RLC differential equations into algebra, unifies transient and AC analysis, and produces the transfer function H(s) used throughout circuit design.6 min read
- Lumped vs. Distributed Element CircuitsLumped vs. Distributed Element CircuitsWhen do wires stop being "just wires"? A quantitative look at the λ/10 rule that separates lumped circuit theory from transmission-line behavior.6 min read
- Maximum Power Transfer Theorem (RL = RS)Maximum Power Transfer Theorem (RL = RS)Derives the R_L = R_S condition for maximum power transfer, verifies it with a worked example, and explains why matched loading sacrifices efficiency to 50%.6 min read
- Millman's Theorem for Parallel Voltage SourcesMillman's Theorem for Parallel Voltage SourcesMillman's theorem collapses any set of parallel voltage sources with series impedances into one equivalent node voltage — derived from KCL, verified with a worked example.6 min read
- Non-Ideal Components: Parasitic R, L, C EffectsNon-Ideal Components: Parasitic R, L, C EffectsReal resistors, capacitors, and inductors act like small RLC networks — this article shows where each parasitic dominates and how to design around it.5 min read
- Norton's Theorem: Equivalent Current SourceNorton's Theorem: Equivalent Current SourceA practical derivation of Norton's theorem — how to find IN and RN, verify them against Thevenin's equivalent, and use them for fast load analysis.7 min read
- Ohm's Law: V = IR and Power Dissipation P = IVOhm's Law: V = IR and Power Dissipation P = IVA rigorous walk through V = IR and P = IV — where the ideal resistor model holds, where it breaks, and a fully worked LED resistor sizing example with power checks.7 min read
- Phasor Representation and Complex ImpedancePhasor Representation and Complex ImpedancePhasors turn sinusoidal steady-state circuits into complex algebra, and impedance lets Ohm's law, dividers, and KVL/KCL work directly on capacitors and inductors.6 min read
- RC Circuit: Time Constant τ = RC, Charging/DischargingRC Circuit: Time Constant τ = RC, Charging/DischargingHow the RC time constant τ = RC governs capacitor charging and discharging, with the exponential equations, a worked example, and design sizing rules.5 min read
- RL Circuit: Time Constant τ = L/R, Transient ResponseRL Circuit: Time Constant τ = L/R, Transient ResponseHow the L/R time constant governs current rise and decay in RL circuits, why inductive kickback happens, and how to size snubbers and flyback protection.6 min read
- RLC Parallel Circuit: Anti-Resonance and Impedance PeakRLC Parallel Circuit: Anti-Resonance and Impedance PeakWhy a parallel RLC tank shows maximum impedance at resonance instead of minimum, how Q and bandwidth invert from the series case, and why circulating tank currents can dwarf the source current.6 min read
- RLC Series Circuit: Resonance, Q-Factor, BandwidthRLC Series Circuit: Resonance, Q-Factor, BandwidthHow resonant frequency, Q-factor, and bandwidth relate in a series RLC circuit, with the full derivation and a worked numerical design example.6 min read
- Reciprocity Theorem and Its ApplicationsReciprocity Theorem and Its ApplicationsReciprocity lets you swap a source and a measurement point in any linear passive network and get the same result — a shortcut used in antenna, RF, and audio design.6 min read
- SPICE Simulation: DC, AC, Transient AnalysisSPICE Simulation: DC, AC, Transient AnalysisHow SPICE's DC, AC, and transient engines actually solve a circuit, what each one can and can't show, and a worked RC example checked three ways.7 min read
- Series and Parallel Resistor CombinationsSeries and Parallel Resistor CombinationsHow to reduce series and parallel resistor networks to a single equivalent value, with worked examples, power-dissipation gotchas, and when the shortcuts don't apply.6 min read
- Signal Flow Graph and Mason's Gain FormulaSignal Flow Graph and Mason's Gain FormulaMason's gain formula extracts exact transfer functions from a signal flow graph's loop gains — no matrix inversion, just systematic path and loop bookkeeping.6 min read
- Signal Ground, Chassis Ground, and Earth GroundSignal Ground, Chassis Ground, and Earth GroundSignal, chassis, and earth ground are three distinct nodes with different impedances and jobs — confusing them causes hum loops, EMI failures, and shock hazards.6 min read
- Signal Integrity: Reflection, Crosstalk, TerminationSignal Integrity: Reflection, Crosstalk, TerminationHow impedance mismatches cause reflections, how crosstalk couples between traces, and how series/parallel termination fixes both — with the math and worked checks.6 min read
- Skin Effect and High-Frequency Conductor LossSkin Effect and High-Frequency Conductor LossWhy AC resistance rises with frequency, how skin depth is calculated, and a worked example showing a 4x resistance increase in copper wire at 1 MHz.6 min read
- Source Transformation: Thevenin ↔ NortonSource Transformation: Thevenin ↔ NortonA one-line algebraic swap — Vth = Ino·Rth, Rth = Rno — turns a messy multi-source network into whichever equivalent form simplifies the next analysis step.6 min read
- Superposition Theorem for Linear CircuitsSuperposition Theorem for Linear CircuitsHow to solve multi-source linear circuits by analyzing one source at a time, why dependent sources can't be zeroed, and why power breaks the rule.7 min read
- Thevenin's Theorem: Equivalent Voltage and ResistanceThevenin's Theorem: Equivalent Voltage and ResistanceLearn how to collapse any linear resistive network into a single voltage source and series resistor — with a fully worked, cross-checked example.7 min read
- Transfer Function H(s) and Poles/ZerosTransfer Function H(s) and Poles/ZerosHow H(s) encodes a circuit's entire dynamic behavior, and why pole/zero locations on the s-plane predict stability, resonance, and transient response.7 min read
- Transmission Line Theory: Characteristic Impedance Z0Transmission Line Theory: Characteristic Impedance Z0How distributed L and C on a real interconnect define Z0 = √(L'/C'), why it governs reflections, and how to size traces to hit 50 Ω or 100 Ω targets.6 min read
- Two-Port Network Parameters: Z, Y, H, ABCDTwo-Port Network Parameters: Z, Y, H, ABCDHow Z, Y, H, and ABCD parameters characterize any linear two-port network, when to use each, and how to cascade stages or convert between the four representations.6 min read
- Voltage Divider and Current Divider RulesVoltage Divider and Current Divider RulesHow voltage splits across series resistors and current splits across parallel branches — with derivations, worked numeric checks, and the loading effects that trip up real designs.6 min read
- Wye (Y) and Delta (Δ) Network TransformationWye (Y) and Delta (Δ) Network TransformationHow to convert between Wye and Delta resistor networks with exact formulas, a worked bridge-circuit example, and checks that confirm the equivalence.6 min read
- BJT Current Gain (β, hFE) and Base Current ControlBJT Current Gain (β, hFE) and Base Current ControlHow β (hFE) links base and collector current in a BJT, why it varies 2–3× across temperature and parts, and how to size base drive that survives the spread.6 min read
- BJT Frequency Response: fT and fmaxBJT Frequency Response: fT and fmaxHow Cπ, Cμ, and base resistance set the speed limits of a BJT — deriving fT and fmax from the hybrid-π model with a full worked GHz-range example.6 min read
- BJT Operating Regions: Active, Saturation, Cutoff, BreakdownBJT Operating Regions: Active, Saturation, Cutoff, BreakdownHow the bias state of a BJT's two junctions defines its four operating regions — and how to verify by calculation which one a real circuit sits in.7 min read
- Bipolar Junction Transistor (BJT): NPN and PNP StructureBipolar Junction Transistor (BJT): NPN and PNP StructureHow three doped silicon layers and deliberately asymmetric doping turn a pair of p-n junctions into a current-controlled amplifier — and why NPN and PNP aren't interchangeable.6 min read
- Complementary MOS (CMOS): NMOS + PMOS PairingComplementary MOS (CMOS): NMOS + PMOS PairingHow pairing an NMOS and PMOS transistor gives CMOS logic near-zero static power, and where its dynamic and leakage currents actually come from in real chips.6 min read
- Crystal Structure: Silicon Lattice and Covalent BondsCrystal Structure: Silicon Lattice and Covalent BondsHow silicon's tetrahedral covalent bonds form the diamond-cubic lattice — and why that geometry underlies doping, bandgap, and every transistor I-V curve.6 min read
- Depletion Region: Width, Electric Field, Space ChargeDepletion Region: Width, Electric Field, Space ChargeHow diffusion creates a carrier-free space charge region at a p-n junction, and how to calculate its width, peak field, and built-in potential.6 min read
- Device Matching and Thermal Runaway in BJT PairsDevice Matching and Thermal Runaway in BJT PairsParalleled BJTs don't share current evenly by default — a few millivolts of Vbe mismatch can cause 10:1 current splits and thermal runaway without emitter ballast resistors.7 min read
- Diode I-V Characteristic: Shockley EquationDiode I-V Characteristic: Shockley EquationA quantitative walkthrough of the Shockley diode equation — forward voltage, temperature drift, and small-signal resistance — with a fully checked worked example.5 min read
- Early Effect: VA, Output Resistance (ro) in BJTEarly Effect: VA, Output Resistance (ro) in BJTHow base-width modulation gives every BJT a finite output resistance ro ≈ VA/IC, and why that single parameter caps single-stage voltage gain.6 min read
- Energy Band Theory: Valence Band, Conduction Band, BandgapEnergy Band Theory: Valence Band, Conduction Band, BandgapHow valence and conduction bands, separated by the bandgap E_g, set a material's conductivity, leakage current, and breakdown behavior in real devices.6 min read
- Extrinsic Semiconductor: n-type (Donor) and p-type (Acceptor)Extrinsic Semiconductor: n-type (Donor) and p-type (Acceptor)How Group V donors and Group III acceptors set carrier type and concentration in silicon, with the mass-action law worked through numerically.6 min read
- Forward Bias: Exponential Current, Knee VoltageForward Bias: Exponential Current, Knee VoltageThe diode "knee" isn't a fixed 0.7 V threshold — it's an exponential I–V law. Learn the Shockley equation, the 60 mV/decade rule, and their design impact.6 min read
- GaN HEMT: Two-Dimensional Electron Gas (2DEG)GaN HEMT: Two-Dimensional Electron Gas (2DEG)How polarization charge at the AlGaN/GaN interface creates a dopant-free, high-mobility conduction channel — and why it dictates GaN HEMT gate drive and RDS(on) behavior.7 min read
- IGBT: Structure, Characteristics, and ApplicationsIGBT: Structure, Characteristics, and ApplicationsHow the IGBT merges a MOSFET gate with a bipolar output stage, why its turn-off tail limits switching frequency, and where it beats power MOSFETs.6 min read
- Intrinsic Semiconductor: Carrier Concentration (ni)Intrinsic Semiconductor: Carrier Concentration (ni)How the intrinsic carrier concentration ni sets the leakage floor, temperature sensitivity, and doping limits of every semiconductor device.5 min read
- JFET: N-Channel and P-Channel, Pinch-Off VoltageJFET: N-Channel and P-Channel, Pinch-Off VoltageHow JFET pinch-off voltage sets the channel's on/off boundary, why N- and P-channel devices are normally-on, and how the square-law current equation drives biasing.7 min read
- MOSFET Short-Channel Effects: DIBL, Velocity SaturationMOSFET Short-Channel Effects: DIBL, Velocity SaturationHow DIBL and velocity saturation break the long-channel square-law MOSFET model — with a worked example comparing predicted vs. real short-channel drive current.7 min read
- MOSFET Small-Signal Model: gm, gds, Cgs, CgdMOSFET Small-Signal Model: gm, gds, Cgs, CgdA quantitative walkthrough of the MOSFET small-signal parameters gm, gds, Cgs, and Cgd, with a worked gain-and-bandwidth example including the Miller effect.7 min read
- MOSFET Structure: Gate Oxide, Channel, Threshold Voltage VTMOSFET Structure: Gate Oxide, Channel, Threshold Voltage VTHow gate oxide thickness, channel doping, and inversion physics set a MOSFET's threshold voltage — and why that number drives gate-drive and switch design.6 min read
- MOSFET as Switch: On-Resistance RDS(on) and Gate Charge QgMOSFET as Switch: On-Resistance RDS(on) and Gate Charge QgHow R_DS(on) sets conduction loss and Q_g sets switching loss and drive current — with worked calculations and the trade-off that governs MOSFET selection.7 min read
- NMOS/PMOS I-V Characteristics: Triode and Saturation RegionsNMOS/PMOS I-V Characteristics: Triode and Saturation RegionsThe square-law equations that separate triode from saturation in NMOS and PMOS devices, worked through a numeric example and checked at the region boundary.6 min read
- Optoelectronics: Optocoupler Isolation and CTROptoelectronics: Optocoupler Isolation and CTRHow optocouplers achieve galvanic isolation, why CTR degrades over life, and how to budget LED drive current so the isolated link stays reliable.7 min read
- PIN Diode: Microwave Switch and Attenuator ApplicationsPIN Diode: Microwave Switch and Attenuator ApplicationsHow a lightly-doped I-region turns a simple p-n junction into a bias-controlled RF resistor — the basis for microwave switches and variable attenuators.7 min read
- Photodiode: Photovoltaic and Photoconductive ModesPhotodiode: Photovoltaic and Photoconductive ModesPhotodiodes can run unbiased (photovoltaic) or reverse-biased (photoconductive) — the choice sets your noise floor, bandwidth, and linearity.6 min read
- Power MOSFET: SOA (Safe Operating Area) and BreakdownPower MOSFET: SOA (Safe Operating Area) and BreakdownHow to read a power MOSFET's SOA curve, why pulse width changes the safe boundary, and how to check a fault transient against both power and thermal limits.7 min read
- Reverse Bias: Leakage Current, Breakdown MechanismsReverse Bias: Leakage Current, Breakdown MechanismsReverse bias current is never truly zero, and breakdown voltage is a function of temperature and doping, not a fixed limit — here's the physics and the design math.7 min read
- Schottky Diode: Metal-Semiconductor Junction, Low VFSchottky Diode: Metal-Semiconductor Junction, Low VFWhy the metal-semiconductor junction gives Schottky diodes lower forward drop and near-zero reverse recovery — with the physics and a converter loss example.6 min read
- SiC MOSFET: Wide Bandgap Advantages for PowerSiC MOSFET: Wide Bandgap Advantages for PowerHow SiC's wider bandgap and higher critical field translate into 5–10× lower on-resistance, faster switching, and higher junction temperatures than silicon.6 min read
- Thyristor (SCR): Triggering, Latching, CommutationThyristor (SCR): Triggering, Latching, CommutationHow an SCR's regenerative p-n-p-n structure turns on, latches independent of the gate, and must be forced or naturally commutated off before it can block voltage again.7 min read
- Transistor Data Sheet Interpretation: Key ParametersTransistor Data Sheet Interpretation: Key ParametersA practical guide to reading BJT and MOSFET data sheets — separating absolute maximums from guaranteed characteristics, and using the curves that tables leave out.7 min read
- Triac and Diac: AC Power ControlTriac and Diac: AC Power ControlHow a triac and its diac trigger form phase-control AC dimmers and switches — the four triggering quadrants, RC firing-angle math, and design pitfalls.7 min read
- Tunnel Diode: Negative Resistance RegionTunnel Diode: Negative Resistance RegionHow degenerate doping and quantum tunneling create a backward-bending I–V curve, and how that negative resistance region drives oscillators and fast switches.7 min read
- Varactor Diode: Junction Capacitance vs. Voltage (CV Curve)Varactor Diode: Junction Capacitance vs. Voltage (CV Curve)How reverse-bias depletion width sets varactor capacitance, why the grading coefficient m determines VCO tuning linearity, and a worked CV calculation.5 min read
- Zener Diode Voltage Regulator Circuit DesignZener Diode Voltage Regulator Circuit DesignHow to size the series resistor and check worst-case current in a zener voltage regulator, with a fully worked design and buffered-zener variant for higher load current.6 min read
- Zener Diode: Zener Breakdown and Avalanche BreakdownZener Diode: Zener Breakdown and Avalanche BreakdownHow Zener tunneling and avalanche impact-ionization both produce reverse breakdown — and why their opposite temperature coefficients matter for reference design.6 min read
- p-n Junction Formation and Built-In Potential (V_bi)p-n Junction Formation and Built-In Potential (V_bi)How diffusion, ionized dopants, and drift balance at a p-n junction to set the built-in potential V_bi — with a full worked numerical derivation and design implications.6 min read
- Difference Amplifier: CMRR and Resistor MatchingDifference Amplifier: CMRR and Resistor MatchingWhy the single op-amp difference amplifier's CMRR is set almost entirely by resistor matching, with a worked example showing how 1% resistors can swamp a small differential signal.7 min read
- Two-Stage Op-Amp: Differential Input + Common-Source OutputTwo-Stage Op-Amp: Differential Input + Common-Source OutputHow a differential pair and a common-source stage combine to deliver high gain and wide swing — and why Miller compensation and the RHP zero are unavoidable side effects.7 min read
Embedded Systems39 articles
- ADC Key Specs: Resolution, ENOB, INL, DNL, SNRADC Key Specs: Resolution, ENOB, INL, DNL, SNRWhy ADC Specs Matter for Embedded Design Moving beyond bit count: what specs really tell you A "12-bit ADC" tells you almost nothing about how well it will measure your signal. Re...8 min read
- Analog Comparator: Hysteresis and Wake-Up ApplicationAnalog Comparator: Hysteresis & Wake-Up DesignHow to use analog comparators with hysteresis to build ultra-low-power wake-up and threshold-detection circuits without touching the ADC or CPU.12 min read
- CMSIS-NN: ARM-Optimized Kernel Library for Cortex-MCMSIS-NN: ARM-Optimized Kernel Library for Cortex-MHow ARM's CMSIS-NN library turns quantized int8 CNN layers into SIMD/DSP-instruction kernels on Cortex-M, with the math and measured speedups behind it.6 min read
- Camera Interface: DVP (Digital Video Port) and MIPI CSI-2Camera Interface: DVP (Digital Video Port) and MIPI CSI-2A quantitative comparison of parallel DVP and serial MIPI CSI-2 camera interfaces — bandwidth limits, pin cost, and how to pick the right one by the numbers.7 min read
- Color Space Conversion: RGB888 → RGB565 → GrayscaleColor Space Conversion: RGB888 → RGB565 → GrayscaleHow and why embedded vision pipelines downcast RGB888 to RGB565 for displays and to grayscale for CNN/CV input — with bit-packing math, fixed-point luma, and error analysis.8 min read
- Continual / Incremental Learning on Embedded DevicesContinual / Incremental Learning on Embedded DevicesHow MCUs and NPUs update models in the field without catastrophic forgetting: EWC, replay, and frozen-backbone prototype learning, with a real memory budget worked example.7 min read
- EThos-U55 / U65: Arm ML Processor for Cortex-M SystemsEThos-U55 / U65: Arm ML Processor for Cortex-M SystemsHow Arm's Ethos-U55/U65 microNPUs offload CNN inference from Cortex-M cores, how Vela compiles and partitions models, and how to size real throughput and power.7 min read
- Edge AI Overview: Inference at the Device vs. CloudEdge AI Overview: Inference at the Device vs. CloudA quantitative comparison of on-device and cloud inference — latency budgets, power draw, model-size ceilings, and a worked wake-word power example.7 min read
- Edge Impulse: Data Collection, Training, Deployment to MCUEdge Impulse: Data Collection, Training, Deployment to MCUA practical walkthrough of Edge Impulse's data-to-deployment pipeline: what to get right in data collection, where the DSP block burns cycles, and how EON affects MCU RAM budgets.8 min read
- Embedded OpenCV: ARM Neon OptimizationEmbedded OpenCV: ARM Neon OptimizationHow ARM NEON accelerates OpenCV's core kernels, why real speedups land at 3–8× instead of the theoretical 16×, and how to verify NEON is actually active in your build.6 min read
- Face Detection on MCU: Haar Cascade, MobileNet-SSDFace Detection on MCU: Haar Cascade, MobileNet-SSDCompares Haar cascades and quantized MobileNet-SSD for on-MCU face detection, with the compute, RAM, and latency math behind each approach in detail.7 min read
- Federated Learning on MCU: Privacy-Preserving On-DeviceFederated Learning on MCU: Privacy-Preserving On-DeviceHow to fit federated learning's train-locally, share-only-updates pattern onto Cortex-M budgets: what to train, what to send, and how to bound privacy leakage.7 min read
- Future Edge AI: RISC-V AI Extensions, Chiplet NPU IntegrationFuture Edge AI: RISC-V AI Extensions, Chiplet NPU IntegrationHow RISC-V vector/custom ISA extensions and chiplet-based NPU integration are replacing fixed-function edge AI accelerators, with a worked bandwidth/energy budget.7 min read
- Image Preprocessing on MCU: Resize, Crop, NormalizeImage Preprocessing on MCU: Resize, Crop, NormalizeHow resize, crop, and normalize stages on an MCU must exactly mirror training-time preprocessing — and why getting the order or math wrong silently costs accuracy.7 min read
- JPEG Decode on MCU: libjpeg-turbo, STM32 JPEG HW IPJPEG Decode on MCU: libjpeg-turbo, STM32 JPEG HW IPComparing software JPEG decode (libjpeg-turbo on Cortex-M DSP extensions) against STM32's hardware JPEG codec IP, with a worked frame-budget example for a real-time vision pipeline.7 min read
- Keyword Spotting (KWS): DS-CNN on Cortex-M for Wake-WordKeyword Spotting (KWS): DS-CNN on Cortex-M for Wake-WordHow Depthwise-Separable CNNs deliver always-on wake-word detection on Cortex-M MCUs — architecture, MAC/memory sizing, quantization, and a real power budget.6 min read
- Knowledge Distillation: Teacher-Student Model CompressionKnowledge Distillation: Teacher-Student Model CompressionHow training a small student network on a large teacher's soft outputs recovers accuracy that pruning and quantization alone cannot, with a worked keyword-spotting sizing example.6 min read
- MAX78000: Ultra-Low-Power CNN AcceleratorMAX78000: Ultra-Low-Power CNN AcceleratorHow the MAX78000's weight-stationary, in-memory CNN accelerator hits sub-µJ inference — and the SRAM/quantization constraints that shape any model targeting it.6 min read
- MCU AI Frameworks: TensorFlow Lite Micro (TFLite Micro)MCU AI Frameworks: TensorFlow Lite Micro (TFLite Micro)How TensorFlow Lite Micro fits neural nets into KB-scale RAM using a static tensor arena — with the allocation math worked through on a real model.6 min read
- MCU Inference Benchmarks: MLPerf Tiny ResultsMCU Inference Benchmarks: MLPerf Tiny ResultsHow to read MLPerf Tiny's closed vs. open division results correctly, and why energy-delay product — not latency alone — is the metric that predicts real battery life.6 min read
- Memory Optimization: Scratch Buffer, In-Place OperationsMemory Optimization: Scratch Buffer, In-Place OperationsHow to shrink an inference graph's peak RAM by reusing scratch buffers and writing operator outputs in place — the difference between fitting a model and not.7 min read
- Model Deployment Pipeline: CI/CD for Edge AI ModelsModel Deployment Pipeline: CI/CD for Edge AI ModelsHow to build a CI/CD pipeline for edge AI models — data/model versioning, quantized target builds, hardware-in-the-loop gates, and staged OTA rollout.7 min read
- Model Pruning: Weight Magnitude, Structured vs. UnstructuredModel Pruning: Weight Magnitude, Structured vs. UnstructuredHow to shrink a neural network for MCU deployment with weight-magnitude pruning, and why structured pruning — not unstructured — is usually what actually speeds up Cortex-M inference.8 min read
- NDP120 / NDP200: Syntiant Neural Decision ProcessorNDP120 / NDP200: Syntiant Neural Decision ProcessorHow Syntiant's NDP120/NDP200 inference ASICs enable always-on keyword spotting and sensor classification at microwatt power — with a worked battery-life budget.7 min read
- Neuromorphic Computing: Intel Loihi, BrainScaleS BasicsNeuromorphic Computing: Intel Loihi, BrainScaleS BasicsHow spiking neuron models turn Intel Loihi and BrainScaleS into event-driven processors, and when that architecture actually beats a dense NPU on energy.6 min read
- ONNX Runtime for Embedded: Inference on Cortex-AONNX Runtime for Embedded: Inference on Cortex-AHow ONNX Runtime schedules graphs, quantizes, and picks execution providers on Cortex-A Linux boards — with a worked MobileNetV2 latency budget.7 min read
- OTA Update for AI Model: Delta Model Update StrategyOTA Update for AI Model: Delta Model Update StrategyHow delta encoding of weight tensors cuts OTA payloads 10–50× versus full-model transfer, with a worked bandwidth/compression example and safe reconstruction on flash-limited MCUs.7 min read
- Object Detection on MCU: YOLO-Nano, TinyYOLOObject Detection on MCU: YOLO-Nano, TinyYOLOHow TinyYOLO and YOLO-Nano compress object detection to fit Cortex-M SRAM and MAC budgets, with a worked sizing example on an STM32H7-class MCU.6 min read
- OpenMV Cam: Machine Vision on STM32H7OpenMV Cam: Machine Vision on STM32H7How an STM32H7's Cortex-M7 core, DCMI DMA pipeline, and MicroPython stack turn OpenMV Cam into a real-time classical-CV and light-CNN vision platform — and where its limits are.7 min read
- Operator Fusion: Reducing Memory and Compute OverheadOperator Fusion: Reducing Memory and Compute OverheadOperator fusion merges chained ops like Conv+BatchNorm+ReLU into one kernel call, cutting memory traffic and dispatch overhead — often the biggest lever on MCU inference latency.7 min read
- Optical Flow on MCU: Lucas-Kanade for UAV StabilizationOptical Flow on MCU: Lucas-Kanade for UAV StabilizationHow the Lucas-Kanade optical flow algorithm reduces to a cheap 2×2 linear solve per point, and how to fit it into a Cortex-M cycle budget for UAV hover stabilization.7 min read
- Person Detection: MobileNet-v2 on CMSIS-NNPerson Detection: MobileNet-v2 on CMSIS-NNHow MobileNet-v2's inverted-residual blocks and CMSIS-NN's INT8 SIMD kernels combine to run real-time, low-power person detection on a Cortex-M MCU.6 min read
- Post-Training Quantization: FP32 → INT8 Weight ConversionPost-Training Quantization: FP32 → INT8 Weight ConversionHow FP32 weights become INT8 for MCU inference: the scale/zero-point math, per-channel quantization, integer requantization, and why calibration makes or breaks accuracy.6 min read
- PyTorch Mobile: Lightweight Inference on Embedded LinuxPyTorch Mobile: Lightweight Inference on Embedded LinuxHow to export PyTorch models to TorchScript and run them efficiently with LibTorch on Cortex-A Linux, with quantization math and a real latency budget check.7 min read
- Quantization-Aware Training (QAT): Simulated QuantizationQuantization-Aware Training (QAT): Simulated QuantizationHow simulated quantization and the straight-through estimator let a network learn weights that survive INT8 (or lower) rounding, closing the accuracy gap PTQ leaves behind.6 min read
- STM32N6: Neural ART Accelerator on STM32STM32N6: Neural ART Accelerator on STM32How ST's Neural ART NPU on STM32N6 shifts CNN inference from CPU-bound compute to memory-bound pipelines — architecture, toolchain, and a worked throughput estimate.7 min read
- TFLite Micro Workflow: Train → Convert → Quantize → DeployTFLite Micro Workflow: Train → Convert → Quantize → DeployA precise walkthrough of the TFLite Micro pipeline — training in float32, converting to FlatBuffer, INT8 quantization math, and sizing the deployment memory arena.7 min read
- Time-Series Classification: 1D CNN on Sensor DataTime-Series Classification: 1D CNN on Sensor DataHow to size, quantize, and deploy a 1D convolutional network for classifying IMU/vibration sensor windows on Cortex-M, with full MAC and memory budgeting.7 min read
- TinyML Benchmarking: eAI, TinyMLPerf, MLCommonsTinyML Benchmarking: eAI, TinyMLPerf, MLCommonsHow MLPerf Tiny, EEMBC's eAI suite, and MLCommons standardize accuracy, latency, and energy so vendor TOPS claims can actually be compared across silicon.7 min read
PCB & Hardware Design1 article
Medical Device Eng.1 article
IoT & Connectivity40 articles
- Asset Tracking: Real-Time Location System (RTLS)Asset Tracking: Real-Time Location System (RTLS)How RTLS turns radio timing, angle, and signal-strength measurements into continuous, sub-meter indoor asset positions — and how to size a real deployment.7 min read
- Automotive IoT: V2X, OBD-II Telematics, Fleet ManagementAutomotive IoT: V2X, OBD-II Telematics, Fleet ManagementHow V2X sidelink radios, OBD-II/J1939 telematics, and fleet cloud pipelines each solve a different latency and bandwidth problem in connected vehicles.6 min read
- Building Automation: HVAC, Lighting, Access Control IoTBuilding Automation: HVAC, Lighting, Access Control IoTHow BACnet, DALI, and OSDP field protocols converge onto IP/MQTT gateways in modern buildings — and why local control loops must never depend on the cloud.6 min read
- Connected Health IoT: Wearables, Remote MonitoringConnected Health IoT: Wearables, Remote MonitoringHow wearables and remote patient monitoring turn biosignals into reliable, compliant IoT data — from sensor front ends through BLE link budgets to alarm delivery.6 min read
- Constrained Devices: RFC 7228 Class 0, 1, 2 DefinitionsConstrained Devices: RFC 7228 Class 0, 1, 2 DefinitionsRFC 7228's Class 0/1/2 memory boundaries decide whether a node needs a gateway, can run CoAP/DTLS itself, or can host a near-standard TLS stack.6 min read
- Device Lifecycle: Provisioning, Operation, Update, DecommissionDevice Lifecycle: Provisioning, Operation, Update, DecommissionHow IoT devices should be engineered to move safely through provisioning, operation, firmware updates, and decommissioning at fleet scale, from bench to teardown.7 min read
- Device Shadow / Digital Twin ConceptDevice Shadow / Digital Twin ConceptHow cloud-resident device shadows and digital twins let applications read and command IoT devices that are asleep, offline, or on duty-cycled radios.6 min read
- ETSI SmartM2M: oneM2M Architecture and APIETSI SmartM2M: oneM2M Architecture and APIHow ETSI SmartM2M's oneM2M standard structures IoT deployments into ASN/ADN/MN/IN nodes and a RESTful CRUD resource tree that works across HTTP, CoAP and MQTT.7 min read
- Edge vs. Fog vs. Cloud Processing: Latency Trade-offEdge vs. Fog vs. Cloud Processing: Latency Trade-offHow to split IoT processing across edge, fog, and cloud tiers based on latency deadlines, bandwidth cost, and a worked factory motor-protection example.7 min read
- Energy Management IoT: Sub-Metering, BEMS IntegrationEnergy Management IoT: Sub-Metering, BEMS IntegrationHow circuit-level sub-metering and BEMS integration turn raw utility bills into actionable, per-load energy data — with a worked demand-charge example.6 min read
- Environmental Monitoring: Air Quality, Water, NoiseEnvironmental Monitoring: Air Quality, Water, NoiseHow air, water, and noise IoT nodes actually measure their targets — sensor physics, calibration math, and the data architecture that makes readings trustworthy.6 min read
- IIC (Industrial Internet Consortium) IIRA FrameworkIIC (Industrial Internet Consortium) IIRA FrameworkA breakdown of the IIC's IIRA framework — its four viewpoints and five functional domains — with a worked predictive-maintenance example mapping sensors to cloud.7 min read
- Industrial IoT (IIoT) vs. Consumer IoT DifferencesIndustrial IoT (IIoT) vs. Consumer IoT DifferencesIIoT and consumer IoT share the same acronym but opposite priorities: reliability and determinism vs. cost and convenience. Here's what actually differs, quantified.6 min read
- IoT Architecture Layers: Perception, Network, ApplicationIoT Architecture Layers: Perception, Network, ApplicationA practical breakdown of the Perception, Network, and Application layers that structure every IoT system — with a worked cold-chain example and fault-isolation guidance.6 min read
- IoT Business Models: SaaS, DaaS, Platform-as-a-ServiceIoT Business Models: SaaS, DaaS, Platform-as-a-ServiceHow SaaS, DaaS, and PaaS revenue models translate into concrete hardware trade-offs — BOM cost, OTA maturity, battery life, and field-service design.6 min read
- IoT Connectivity Trade-Offs: Range, Bandwidth, Power, CostIoT Connectivity Trade-Offs: Range, Bandwidth, Power, CostA quantitative walkthrough of how range, bandwidth, power, and cost trade against each other in IoT radio selection, with a worked battery-life comparison.6 min read
- IoT Data Flow: Telemetry, Command, Alarm, ConfigIoT Data Flow: Telemetry, Command, Alarm, ConfigIoT systems carry four distinct message types—telemetry, command, alarm, and config—each needing different latency, reliability, and QoS treatment.7 min read
- IoT Data Formats: JSON, CBOR, MessagePack, ProtobufIoT Data Formats: JSON, CBOR, MessagePack, ProtobufCompares JSON, CBOR, MessagePack and Protobuf for IoT payloads — encoding size, parse cost, schema trade-offs, and a worked byte-by-byte example.7 min read
- IoT Definition: Sensors + Connectivity + Cloud + AnalyticsIoT Definition: Sensors + Connectivity + Cloud + AnalyticsA precise, four-layer engineering definition of IoT — sensors, connectivity, cloud, analytics — with the trade-offs and a worked cold-chain power budget.7 min read
- IoT Device Classification: Constrained, Gateway, CloudIoT Device Classification: Constrained, Gateway, CloudHow constrained sensors, gateways, and cloud services divide IoT system responsibilities — with a worked battery-life calculation and design trade-offs for each tier.6 min read
- IoT Device Management: Registration, Monitoring, OTAIoT Device Management: Registration, Monitoring, OTAHow registration, monitoring, and OTA updates work together to keep large IoT fleets secure, observable, and maintainable long after deployment ships.7 min read
- IoT Ecosystem: Devices, Gateways, Brokers, AppsIoT Ecosystem: Devices, Gateways, Brokers, AppsA breakdown of the four-layer IoT structure — devices, gateways, brokers, applications — with sizing math, QoS tradeoffs, and the failure modes that sink deployments at scale.6 min read
- IoT Interoperability: Standards Gap and FragmentationIoT Interoperability: Standards Gap and FragmentationWhy BLE, Zigbee, LoRaWAN, and cloud-only devices rarely talk to each other out of the box, and how the standards gap actually breaks down into layers you can engineer around.6 min read
- IoT ROI Calculation: Cost Savings, Efficiency MetricsIoT ROI Calculation: Cost Savings, Efficiency MetricsA practical framework for building a defensible IoT ROI case: cost/benefit structure, efficiency metrics, payback period, and a fully worked predictive-maintenance example.6 min read
- IoT Reference Architecture: ITU-T Y.4000, ISO/IEC 30141IoT Reference Architecture: ITU-T Y.4000, ISO/IEC 30141A practical breakdown of ITU-T Y.4000 and ISO/IEC 30141 — the two most cited IoT reference architectures — with a worked mapping onto a real deployment.6 min read
- IoT Scalability: Millions of Devices, Message BrokersIoT Scalability: Millions of Devices, Message BrokersHow IoT platforms scale from thousands to millions of devices: connection limits, thundering herds, broker clustering, and message-queue decoupling, with a worked sizing example.6 min read
- IoT vs. M2M: Machine-to-Machine Communication BasicsIoT vs. M2M: Machine-to-Machine Communication BasicsM2M and IoT aren't just marketing synonyms — they imply different network stacks, data models, and integration surfaces. Here's what actually changes.7 min read
- Matter Standard: Application Layer for Smart HomeMatter Standard: Application Layer for Smart HomeMatter defines the data model, commissioning, and security layer letting smart home devices from different vendors interoperate over Thread, Wi-Fi, or Ethernet.6 min read
- Open Connectivity Foundation (OCF) IoTivity StandardOpen Connectivity Foundation (OCF) IoTivity StandardHow OCF's resource model and IoTivity's CoAP-based implementation standardize device interoperability — and where they still fit next to Matter.5 min read
- Predictive Maintenance IoT: Vibration, Temperature, OilPredictive Maintenance IoT: Vibration, Temperature, OilHow vibration spectra, temperature trends, and oil condition combine to predict bearing and machinery failures weeks in advance, and how the sensing budget works.7 min read
- RAMI 4.0: Reference Architecture for Industry 4.0RAMI 4.0: Reference Architecture for Industry 4.0RAMI 4.0's three-axis cube gives IT, OT, and product engineers a shared coordinate system for locating any factory asset — no protocol required, just a taxonomy that prevents miscommunication.7 min read
- Regulatory Landscape: FCC, CE, ETSI EN 303 645 IoTRegulatory Landscape: FCC, CE, ETSI EN 303 645 IoTHow FCC, CE marking, and ETSI EN 303 645 shape RF certification and security requirements for connected embedded products — and where they now overlap.7 min read
- Retail IoT: Smart Shelf, Inventory, Customer AnalyticsRetail IoT: Smart Shelf, Inventory, Customer AnalyticsHow smart shelves, RFID inventory, and Wi-Fi/BLE customer analytics actually work — with a load-cell sensitivity budget and the trade-offs that decide which sensing method fits which SKU.7 min read
- Smart Agriculture IoT: Sensors, Drones, AutomationSmart Agriculture IoT: Sensors, Drones, AutomationHow soil, weather, and canopy sensors combine with drone imagery and LPWAN links to close real irrigation and variable-rate automation loops in the field.7 min read
- Smart City IoT: Traffic, Utilities, Public SafetySmart City IoT: Traffic, Utilities, Public SafetyHow traffic control loops, utility metering, and public-safety alarms demand different latency, bandwidth, and reliability tradeoffs within one smart city IoT stack.7 min read
- Smart Grid IoT: AMI, SCADA, Demand ResponseSmart Grid IoT: AMI, SCADA, Demand ResponseHow smart meters, substation control systems, and load-shedding programs interlock — with distinct latency, security, and scale requirements each.6 min read
- Supply Chain IoT: RFID, GPS, Condition MonitoringSupply Chain IoT: RFID, GPS, Condition MonitoringHow RFID, GPS/GNSS, and condition sensors combine in supply chain IoT — with reporting-budget and battery-life math for a cold-chain tracking example.6 min read
- Sustainability IoT: Carbon Footprint, Green IoT DesignSustainability IoT: Carbon Footprint, Green IoT DesignA quantitative look at where IoT carbon footprint actually comes from — embodied vs. operational energy — with a worked device energy budget and ranked design levers.6 min read
- Time-Series Data: Characteristics and Storage NeedsTime-Series Data: Characteristics and Storage NeedsWhy sensor telemetry needs different storage than relational data, how compression cuts raw volume by 10–100×, and how to size and retain it correctly.6 min read
- W3C Web of Things (WoT): Thing Description (TD)W3C Web of Things (WoT): Thing Description (TD)How the W3C WoT Thing Description standardizes device metadata and interaction so generic software can discover and use any IoT "Thing" without custom drivers.6 min read
Embedded & Firmware3 articles
- ARM Cortex-M Pipeline Stages (M0 to M55)ARM Cortex-M Pipeline Stages: M0 to M55Why Pipeline Architecture Matters in Embedded Systems Every Cortex-M core executes instructions through a pipeline — a hardware assembly line that overlaps fetch, decode, and exec...11 min read
- C const and restrict for Optimization HintsC const and restrict: Compiler Optimization HintsA practical guide to using const and restrict in embedded C to unlock compiler optimizations, reduce code size, and speed up critical loops without platform hacks.8 min read
- Register-Level Peripheral Access via CMSISRegister-Level Peripheral Access via CMSISHow CMSIS standardizes peripheral register access on Cortex-M devices, from base-address typedefs to volatile semantics and safe read-modify-write patterns.9 min read
