Guides

Engineering Guides and Code Examples

Browse Arduino examples, ESP32 examples, electronics guides and practical engineering pages.

Embedded

ESP32 GPIO Strapping Pins Guide

Avoid boot problems by understanding ESP32 strapping pins.

Power Electronics

MOSFET Gate Pulldown Resistor Guide

Use MOSFET gate pulldown resistors to prevent floating gates and false switching.

PCB

PCB Trace Current Capacity

Estimate how much current a PCB trace can carry safely.

Battery

Solar Panel Sizing for IoT

Size a solar panel for ESP32, STM32 or Arduino IoT devices.

Embedded

Arduino Battery Powered Sensor Design

Improve Arduino battery life with sleep modes, regulator choice and lower clock speed.

Embedded

STM32 Battery Powered Sensor Design

Design battery-powered STM32 sensors with low-power modes and efficient regulators.

Embedded

STM32 GPIO LED Resistor Guide

Choose LED resistors for STM32 GPIO pins and check current limits.

Embedded

ESP32 WiFi Current Peaks

Understand ESP32 WiFi current peaks and why they cause resets or voltage dips.

Embedded

ESP32 Solar Sensor Design

Plan ESP32 solar-powered sensors using battery capacity, sleep current and charging margin.

Embedded

ESP32 LiPo Battery Life

Estimate ESP32 runtime on LiPo batteries for compact IoT and sensor projects.

Embedded

ESP32 18650 Battery Life

Estimate ESP32 battery life from a 18650 cell using deep sleep and duty cycle.

Embedded

ESP32 Power Supply Design

Design a stable ESP32 power supply using LDOs, buck converters, capacitors and PCB layout.

Embedded

ESP32 Capacitor Size Guide

Choose bulk and ceramic capacitors to prevent ESP32 brownout during WiFi transmission.

Embedded

ESP32 Brownout Detector Fix

Fix ESP32 brownout detector resets caused by power supply dips and WiFi current peaks.

Power Electronics

LM317 Getting Hot

Understand LM317 heat, dropout and power dissipation in adjustable regulator circuits.

Power Electronics

7805 Regulator Getting Hot

Fix 7805 overheating by calculating dissipation, current and input-output voltage drop.

Power Electronics

Linear Regulator Getting Hot

Calculate why linear regulators heat up and when to switch to a buck converter.

Power Electronics

XL4015 Getting Hot

Troubleshoot XL4015 overheating in high-current buck converter modules.

Power Electronics

LM2596 Getting Hot

Why LM2596 modules get hot and how to reduce power loss, improve airflow and choose safer current.

Power Electronics

MOSFET Heating Fix

Find why a MOSFET gets hot and how to reduce conduction and switching losses.

RF

PCB Antenna Layout Rules

Practical PCB antenna layout rules for ESP32, LoRa, WiFi modules and compact IoT boards.

Arduino Example

Arduino Analog Threshold Example

Turn an output on when analog input crosses a threshold. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Blink LED Example

LED on pin 13 blinks once per second. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Button Debounce Example

Debounce a push button in software. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Button Input Example

Read a push button and turn an LED on while pressed. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Buzzer Example

Play simple tones on a piezo buzzer. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino DC Motor MOSFET Example

Control a DC motor with PWM using a MOSFET. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino DHT22 Temperature Humidity Example

Read temperature and humidity from a DHT22 sensor. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino DS3231 RTC Example

Read date and time from a DS3231 real-time clock module. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Examples with Copy-Ready Code

Arduino examples with wiring, explanations and copy-ready code for sensors, LEDs, motors, displays and modules.

Arduino Example

Arduino HC-SR04 Ultrasonic Sensor Example

Measure distance with an HC-SR04 ultrasonic sensor. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino IR Receiver Example

Read IR remote commands using an IR receiver module. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino LCD I2C Example

Display text on a 16x2 I2C LCD module. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino LDR Light Sensor Example

Read an LDR voltage divider and detect light level. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino map Function Example

Use map() to convert analog input to PWM output. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino millis Blink Without Delay Example

Blink an LED without using delay(). Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino MOSFET LED Strip Example

Control a 12V LED strip using a logic-level MOSFET. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino NeoPixel LED Example

Control a WS2812/NeoPixel LED strip. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino NTC Thermistor Example

Read an NTC thermistor voltage divider. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino OLED I2C Example

Display text on a common SSD1306 I2C OLED. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Potentiometer Analog Read Example

Read a potentiometer and print the analog value. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino PWM LED Dimming Example

Dim an LED using PWM on Arduino pin 9. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Relay Module Example

Control a relay module from an Arduino digital pin. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino RGB LED PWM Example

Control RGB LED color using PWM pins. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino SD Card Example

Write text to a microSD card module. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Serial Monitor Example

Print variables to Serial Monitor for debugging. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Servo Motor Example

Move a servo motor between 0 and 180 degrees. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Soil Moisture Sensor Example

Read a soil moisture sensor and print raw analog values. Includes wiring, full Arduino code, copy button and explanation.

Arduino Example

Arduino Tone Melody Example

Play a simple melody with tone(). Includes wiring, full Arduino code, copy button and explanation.

ESP32 Example

ESP32 Access Point Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 BLE Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 BME280 Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 Deep Sleep Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 DHT22 Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 Examples

ESP32 examples with code and wiring.

ESP32 Example

ESP32 HTTP Request Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 LoRa Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 MOSFET Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 MQTT Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 OLED Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 PWM Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 Relay Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 Ultrasonic Sensor Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 WebServer Example

Practical ESP32 example with code, explanation and wiring notes.

ESP32 Example

ESP32 WiFi Example

Practical ESP32 example with code, explanation and wiring notes.

Guide

12V to 5V Converter Guide

Choose a 12V to 5V converter for Arduino, ESP32, STM32 and LED projects.

Guide

18650 Battery Runtime Explained

Estimate 18650 runtime for ESP32, STM32, Arduino, sensors and low-power IoT devices.

Guide

18650 BMS Wiring Guide

Understand basic 18650 BMS wiring, pack voltage and safety considerations.

Guide

18650 Series vs Parallel

Compare 18650 cells in series and parallel for voltage, current and capacity.

Guide

2-Layer vs 4-Layer PCB

Compare 2-layer and 4-layer PCB designs for EMI, routing, impedance and cost.

Guide

24V to 5V Converter Guide

Choose a 24V to 5V buck converter for industrial and embedded electronics.

Guide

2S BMS Guide

Choose and wire a 2S BMS for lithium battery packs.

Guide

3S BMS Guide

Choose and wire a 3S BMS for 11.1V lithium battery packs.

Guide

433 MHz Antenna Length Guide

Calculate practical 433 MHz antenna lengths for telemetry and IoT projects.

Guide

433 MHz vs 915 MHz for LoRa

Compare 433 MHz and 915 MHz LoRa links for range, antenna size, regulations, penetration and telemetry performance.

Guide

433 MHz vs 915 MHz for LoRa and Telemetry

Compare 433 MHz and 915 MHz for range, antenna size, regulations and IoT links.

Guide

4S BMS Guide

Choose and wire a 4S BMS for 14.8V lithium battery packs.

Guide

868 MHz Antenna Length Guide

Calculate practical 868 MHz antenna lengths for LoRa and European ISM-band devices.

Guide

915 MHz Antenna Length Guide

Calculate practical 915 MHz antenna lengths for LoRa and telemetry devices.

Guide

ADC Resolution Explained

Learn ADC resolution, quantization step, reference voltage and sampling considerations for MCU analog inputs.

Guide

ADC Voltage Measurement Guide

Learn how ADC resolution, reference voltage and scaling affect voltage measurements.

Guide

Arduino LED Strip MOSFET Guide

Control LED strips from Arduino using MOSFET switches and external power.

Guide

Arduino Nano vs Uno

Compare Arduino Nano and Uno for size, power, GPIO and beginner projects.

Guide

Arduino Pro Mini Battery Guide

Use Arduino Pro Mini in low-power battery projects with sleep modes.

Guide

Arduino Sleep Mode Guide

Use Arduino sleep modes to reduce current in battery-powered projects.

Guide

Arduino vs ESP32

Compare Arduino and ESP32 for WiFi, GPIO, power consumption and beginner projects.

Guide

Battery C Rating Explained

Understand battery C rating, discharge current and safe power delivery.

Guide

Battery Capacity vs Runtime

Understand why real runtime differs from nominal mAh battery capacity.

Guide

Battery Protection Circuit Guide

Learn battery protection basics for lithium cells, BMS and embedded projects.

Guide

Battery Runtime vs Capacity

Understand why battery capacity alone does not determine runtime.

Guide

Battery Voltage Sag Explained

Understand battery voltage sag under load and how it causes brownout resets.

Guide

Best 18650 Cell for Electronics Projects

Choose 18650 cells for ESP32, Arduino, STM32, sensors and portable electronics.

Guide

Best 433 MHz Antenna

Choose a 433 MHz antenna for telemetry, sensors, SDR, remotes and LoRa projects.

Guide

Best 5V Regulator for Breadboard Projects

Choose a 5V regulator for breadboard electronics, Arduino and sensor projects.

Guide

Best 868 MHz Antenna

Choose an 868 MHz antenna for LoRaWAN, telemetry and European ISM band devices.

Guide

Best 915 MHz Antenna

Choose a 915 MHz antenna for LoRa, telemetry and long-range IoT devices.

Guide

Best Antenna for 433 MHz

Choose a 433 MHz antenna for telemetry, LoRa, sensors, SDR and remote control projects.

Guide

Best Antenna for 915 MHz

Choose a 915 MHz antenna for LoRa, telemetry and IoT applications.

Guide

Best Antenna for LoRa Range

Improve LoRa range with antenna gain, placement, cable loss and correct frequency selection.

Guide

Best Arduino Board for Battery Projects

Choose Arduino boards for battery-powered projects and low-current sensors.

Guide

Best Battery for Arduino Projects

Choose batteries for Arduino projects by voltage, capacity, regulator loss and sleep current.

Guide

Best Battery for ESP32 Projects

Choose the best battery for ESP32 projects including 18650, LiPo, LiFePO4 and AA options.

Guide

Best BMS for 18650 Battery Pack

Choose a BMS for 18650 battery packs by series count, current rating, balancing and protection features.

Guide

Best BMS for 18650 Battery Pack

Choose a BMS for 18650 packs based on series count, current rating and protection features.

Guide

Best BMS for LiFePO4 Battery

Choose a BMS for LiFePO4 batteries by cell count, current rating and protection features.

Guide

Best Buck Converter for Electronics Projects

Choose a buck converter for Arduino, ESP32, STM32, LED and battery-powered projects.

Guide

Best Buck Converter Module

Choose a buck converter module for Arduino, ESP32, STM32, LEDs and DC electronics projects.

Guide

Best Coax Cable for RF Projects

Choose coax cable for RF projects by frequency, loss, length, connector type and flexibility.

Guide

Best DC-DC Converter for Arduino

Choose a DC-DC converter for Arduino boards, sensors, LEDs and motor projects.

Guide

Best DC-DC Converter for ESP32

Choose a DC-DC converter for ESP32 projects with WiFi current peaks and battery power.

Guide

Best ESP32 Board for Battery Power

Choose ESP32 boards for battery-powered IoT projects and low sleep current.

Guide

Best ESP32 Board for Battery Projects

Choose ESP32 boards with low sleep current and good battery efficiency.

Guide

Best ESP32 Board for IoT Projects

Choose an ESP32 board for IoT projects by WiFi, USB, battery use, antenna and GPIO needs.

Guide

Best LiFePO4 Battery for Solar Projects

Choose LiFePO4 batteries for solar IoT, backup power and off-grid electronics.

Guide

Best Linear Regulator for ESP32

Choose an LDO regulator for ESP32 projects by dropout, current and quiescent current.

Guide

Best Logic-Level MOSFET

Choose logic-level MOSFETs for Arduino, ESP32 and STM32 GPIO switching.

Guide

Best LoRa Antenna for ESP32 Projects

Choose a LoRa antenna for ESP32 IoT projects, outdoor sensors, telemetry and long-range wireless nodes.

Guide

Best LoRa Antenna Guide

Choose a LoRa antenna for ESP32, STM32, telemetry, IoT and outdoor sensors.

Guide

Best LoRa Module for IoT Projects

Choose the best LoRa module for ESP32, STM32, Arduino, telemetry and long-range IoT projects.

Guide

Best Microcontroller for IoT

Compare ESP32, STM32 and Arduino for IoT products, sensors and connected devices.

Guide

Best MOSFET for 12V Motor

Choose a MOSFET for 12V DC motors using current, Rds(on), gate drive and switching loss.

Guide

Best MOSFET for 12V Motor Driver

Choose a MOSFET for 12V motor drivers using Rds(on), gate voltage and current rating.

Guide

Best MOSFET for LED Strip

Select a MOSFET for 12V or 24V LED strip switching and PWM dimming.

Guide

Best MOSFET for LED Strip Driver

Choose a MOSFET for 12V and 24V LED strip PWM control.

Guide

Best Regulator for ESP32

Choose the right LDO or buck converter for ESP32 power supply designs and avoid heat, dropout and brownout issues.

Guide

Best RF Module for Arduino

Compare RF modules for Arduino wireless projects including 433 MHz, LoRa and simple ASK/OOK modules.

Guide

Best Solar Panel for ESP32

Choose a solar panel for ESP32 IoT sensors based on current, sleep time, battery size and weather margin.

Guide

Best STM32 Board for Beginners

Choose an STM32 development board for learning, prototyping and embedded projects.

Guide

Best STM32 Board for Low Power

Choose STM32 boards for low-power battery devices and sensor nodes.

Guide

Best TP4056 Charging Module

Choose TP4056 charging modules for Li-Ion and LiPo electronics projects safely.

Guide

Best WiFi Antenna for ESP32

Choose a WiFi antenna for ESP32 boards, external antenna modules and IoT devices.

Guide

BMS Current Rating Explained

Choose BMS current rating for battery packs and power electronics projects.

Guide

BMS Guide for 18650 Battery Packs

Understand BMS protection, balancing, current rating and safety for 18650 battery packs.

Guide

Buck Converter Capacitor Guide

Choose input and output capacitors for buck converters and DC/DC modules.

Guide

Buck Converter Design Basics

Learn the basics of buck converter duty cycle, inductor selection and ripple current.

Guide

Buck Converter Inductor Guide

Understand buck converter inductor selection and current ripple.

Guide

Buck Converter PCB Layout Guide

Improve buck converter stability and EMI with better PCB layout.

Guide

Buck Converter Ripple Explained

Learn what causes buck converter output ripple and how capacitor, inductor and layout affect it.

Guide

Buck Converter vs Linear Regulator

Compare buck converters and linear regulators for efficiency, heat, noise, cost and battery-powered electronics.

Guide

Coax Cable Loss Explained

Understand coax cable loss, dB attenuation and how cable length affects antenna and RF system performance.

Guide

DC Motor MOSFET Driver Guide

Drive DC motors with MOSFETs, flyback protection and correct current ratings.

Guide

DC-DC Converter Guide

Understand DC-DC converters, buck modules, ripple, efficiency and thermal limits.

Guide

Electronics Engineering Guides

Practical electronics engineering guides, formulas and examples for PCB design, power electronics, analog circuits and embedded systems.

Guide

ESP32 ADC Accuracy Guide

Improve ESP32 ADC accuracy with attenuation, calibration and source impedance.

Guide

ESP32 Boot Mode Guide

Understand ESP32 boot pins, boot mode and flashing problems.

Guide

ESP32 Capacitor Size Guide

Learn how to choose bulk and ceramic capacitors to reduce ESP32 brownout resets during WiFi current peaks.

Guide

ESP32 Deep Sleep Current Explained

Understand ESP32 deep sleep current, board leakage, wake intervals and battery runtime.

Guide

ESP32 Deep Sleep Guide

Understand ESP32 deep sleep current, wake intervals and how to maximize battery runtime.

Guide

ESP32 EN Pin Guide

Understand ESP32 EN pin, reset circuits and brownout behavior.

Guide

ESP32 External Antenna Guide

Use external antennas with ESP32 modules for better WiFi or LoRa performance.

Guide

ESP32 I2C Pull-Up Resistor Guide

Choose I2C pull-up resistors for ESP32 sensors and modules.

Guide

ESP32 LDO vs Buck Converter

Compare LDO and buck converter power supplies for ESP32 projects and decide which one fits your battery or USB design.

Guide

ESP32 Power Consumption Guide

Learn ESP32 current consumption in WiFi, idle, active and deep sleep modes with practical battery design notes.

Guide

ESP32 vs Arduino Power Consumption

Compare ESP32 and Arduino power consumption for battery-powered projects.

Guide

ESP32 vs Raspberry Pi Pico

Compare ESP32 and Raspberry Pi Pico for WiFi, power, GPIO, cost and embedded projects.

Guide

ESP32 vs STM32

Compare ESP32 and STM32 for WiFi, low power, peripherals, firmware complexity and embedded product design.

Guide

ESP32-WROOM vs ESP32-S3

Compare ESP32-WROOM and ESP32-S3 for performance, USB, AI features and power.

Guide

FR4 vs Rogers PCB

Compare FR4 and Rogers materials for RF PCB design and high-frequency circuits.

Guide

Friis Path Loss Explained

Learn how Friis free-space path loss affects LoRa, WiFi, telemetry, SDR and RF communication range.

Guide

Fuse Sizing Guide for Electronics

Choose fuse current rating for DC electronics, wiring and power supply protection.

Guide

GPIO Current Limits Explained

Understand GPIO current limits for Arduino, ESP32, STM32 and MCU-driven LEDs or loads.

Guide

Helical Antenna Design Guide

Design compact helical antennas for 433 MHz, 868 MHz and 915 MHz projects.

Guide

High-Side vs Low-Side Switching

Understand high-side and low-side switching for MOSFET power control circuits.

Guide

How to Calculate an LED Resistor

Step-by-step guide to calculating the correct resistor value for LED indicator circuits.

Guide

How to Calculate Antenna Length

Learn how antenna length is calculated from frequency, wavelength and velocity factor.

Guide

How to Calculate Battery Runtime

Calculate battery runtime from capacity, average current, duty cycle and regulator efficiency.

Guide

How to Calculate MOSFET Switching Loss

Estimate MOSFET switching loss from voltage, current, rise time, fall time and switching frequency.

Guide

How to Design a Buck Converter

Understand buck converter design basics: inductor, feedback divider, ripple and switching losses.

Guide

How to Drive a MOSFET from Arduino

Use Arduino GPIO pins to control MOSFETs for LEDs, motors and power loads.

Guide

How to Drive a MOSFET from ESP32

Drive MOSFETs safely from ESP32 GPIO pins with gate resistors and logic-level MOSFETs.

Guide

How to Select a MOSFET

Choose a MOSFET using voltage rating, current rating, Rds(on), gate charge, thermal resistance and switching frequency.

Guide

How to Size a MOSFET Heatsink

Calculate MOSFET heatsink requirements from power loss, thermal resistance and maximum junction temperature.

Guide

I2C Pull-Up Resistor Guide

Learn how I2C pull-up resistors affect bus rise time, speed and communication reliability.

Guide

LED Strip Power Supply Guide

Choose power supplies and MOSFETs for LED strip projects.

Guide

Li-Ion Charging Guide

Understand Li-Ion charging, protection, voltage limits and battery safety.

Guide

LiFePO4 Charging Guide

Understand LiFePO4 charging voltage, current, protection and safety.

Guide

LiFePO4 vs Li-Ion Batteries

Compare LiFePO4 and Li-Ion batteries for voltage, safety, cycle life, charging and electronics projects.

Guide

LM2596 vs XL4015 Buck Converter

Compare LM2596 and XL4015 buck converters for current, efficiency, thermal behavior and practical DC/DC modules.

Guide

Logic-Level MOSFET Explained

Learn what logic-level MOSFET means and why gate voltage matters for Arduino, ESP32 and STM32 switching circuits.

Guide

LoRa Antenna Placement Guide

Improve LoRa range with correct antenna height, orientation and placement.

Guide

LoRa Link Budget Explained

Calculate LoRa link budget and understand receiver sensitivity, antenna gain and system losses.

Guide

LoRa Range Explained

Understand LoRa range, spreading factor, link budget, antenna gain and path loss.

Guide

Low Power Regulator Guide

Choose a low quiescent-current regulator for battery-powered electronics.

Guide

Microstrip Impedance Guide for PCB Design

Understand microstrip impedance, dielectric constant, trace width and high-speed PCB routing.

Guide

MOSFET Flyback Diode Guide

Protect MOSFETs from inductive loads with flyback diodes and snubbers.

Guide

MOSFET Gate Charge Explained

Learn how MOSFET gate charge affects switching speed, driver current and PWM frequency.

Guide

MOSFET PWM Frequency Guide

Choose PWM frequency for MOSFET motor drivers, LED dimmers and power switches.

Guide

MOSFET Rds(on) Explained

Understand MOSFET Rds(on), conduction loss, voltage drop and heating in power switching applications.

Guide

MOSFET Snubber Guide

Understand RC snubbers for MOSFET ringing, EMI and inductive switching.

Guide

MOSFET vs BJT

Compare MOSFETs and BJTs for switching, amplification, efficiency and MCU control.

Guide

MPPT vs PWM Solar Controller

Compare MPPT and PWM solar controllers for battery charging, efficiency and small electronics projects.

Guide

Ohm’s Law Examples for Electronics Beginners

Learn how to use Ohm’s Law with practical electronics examples for voltage, current, resistance and power.

Guide

Op-Amp Bandwidth Explained

Learn how gain bandwidth product limits closed-loop op-amp bandwidth.

Guide

Op-Amp Gain Explained

Understand inverting and non-inverting op-amp gain formulas for sensor and analog circuits.

Guide

Op-Amp Offset Error Explained

Estimate output error caused by input offset voltage and amplifier gain.

Guide

Op-Amp Slew Rate Explained

Understand op-amp slew rate and why fast signals need enough V/us capability.

Guide

PCB Ground Plane Guide

Learn why ground planes matter for noise, EMI, RF and power integrity.

Guide

PCB Trace Voltage Drop Guide

Calculate voltage drop in PCB traces and power distribution paths.

Guide

PCB Trace Width Explained

Understand PCB trace width, current capacity, temperature rise and copper thickness.

Guide

PCB Trace Width Guide for Current Carrying Tracks

Understand PCB trace width, copper thickness, current, temperature rise and practical board design limits.

Guide

Power Supply Design Guide

Design a basic power supply using regulators, capacitors, current margin and thermal checks.

Guide

PWM Frequency Explained

Learn how PWM frequency affects motors, LEDs, MOSFET switching loss and microcontroller outputs.

Guide

RF Antenna Ground Plane Guide

Learn why antenna ground plane size and placement affect RF performance.

Guide

RF Cable Loss Guide

Reduce RF cable loss by choosing cable type, shorter length and correct connectors.

Guide

RF Connector Loss Guide

Understand RF connector loss and how adapters affect link budget.

Guide

RF Grounding Guide for PCB Design

Practical RF grounding notes for antennas, modules, ground planes and impedance control.

Guide

RF Link Margin Explained

Understand RF link margin and why extra dB improves wireless reliability.

Guide

RF Trace Impedance Explained

Learn why RF trace impedance matters for PCB antennas, RF modules, WiFi, LoRa and high-frequency PCB layouts.

Guide

Solar Battery Backup Guide

Size battery backup for solar-powered electronics and IoT devices.

Guide

Solar Battery Sizing Guide

Size solar panels and batteries for ESP32, STM32 and IoT sensor projects.

Guide

Solar Panel for Arduino Guide

Power Arduino projects from solar panels with correct battery and regulator sizing.

Guide

Solar Panel for ESP32 Guide

Choose a solar panel for ESP32 IoT sensors using energy budget and battery storage.

Guide

STM32 ADC Accuracy Guide

Improve STM32 ADC accuracy with sampling time, source impedance and reference voltage design.

Guide

STM32 ADC Sampling Time Guide

Understand STM32 ADC sampling time, source impedance, settling error and how to choose safe ADC settings.

Guide

STM32 Battery Runtime Guide

Estimate STM32 battery runtime from average current, low-power duty cycle, regulator efficiency and real battery capacity.

Guide

STM32 BOOT0 Explained

Understand STM32 BOOT0 pin, boot modes and programming workflows.

Guide

STM32 Clock Speed vs Current

Understand how STM32 clock frequency changes current consumption.

Guide

STM32 Crystal Load Capacitor Guide

Choose load capacitors for STM32 external crystals.

Guide

STM32 GPIO Current Guide

Calculate safe STM32 GPIO current for LEDs, pull-ups, external loads and total port current limits.

Guide

STM32 LDO Regulator and Heat Guide

Choose an LDO regulator for STM32 boards and estimate heat, dropout, quiescent current and power loss.

Guide

STM32 Low Power Design Guide

Learn how to reduce STM32 current consumption with sleep, stop, standby modes, clock control and low-power firmware design.

Guide

STM32 Low Power Modes Explained

Understand STM32 run, sleep, stop and standby modes for low-power embedded devices.

Guide

STM32 Reset Circuit Guide

Design STM32 reset circuits and understand NRST behavior.

Guide

STM32 SWD Programming Guide

Understand STM32 SWD pins, debugging and programming connections.

Guide

STM32 vs Arduino

Compare STM32 and Arduino for performance, power, peripherals and embedded product design.

Guide

STM32 vs ESP32 Low Power

Compare STM32 and ESP32 for low-power battery devices and IoT projects.

Guide

STM32 vs Raspberry Pi Pico

Compare STM32 and Raspberry Pi Pico for embedded design, peripherals and power consumption.

Guide

SWR Explained

Understand standing wave ratio, antenna matching and why SWR matters in RF systems.

Guide

TP4056 Charging Module Guide

Use TP4056 lithium charging modules safely in small electronics projects.

Guide

UART Baud Rate Explained

Understand UART baud rate, clock dividers, baud error and reliable serial communication.

Guide

WiFi Antenna Gain Explained

Understand WiFi antenna gain, directionality, range and signal strength.

Guide

WiFi Range Explained for IoT Projects

Understand WiFi range, RSSI, antenna gain, path loss and practical RF limitations for ESP32 and embedded devices.

Guide

WiFi RSSI Explained

Understand WiFi RSSI, signal strength, range and practical wireless reliability.

Guide

Wire Gauge Voltage Drop Guide

Understand wire gauge, current, length and voltage drop in DC circuits.

STM32 Examples

STM32 Examples with HAL Code

GPIO, UART, ADC, PWM, I2C, SPI, timers and low power STM32 examples.

STM32 Blink LED Example

Blink onboard LED using STM32 HAL.

STM32 UART printf Example

Send text over UART using HAL.

STM32 ADC Read Example

Read analog voltage using ADC.

STM32 PWM LED Example

Generate PWM signal for LED dimming.

STM32 I2C Scanner Example

Scan I2C bus for connected devices.

RF Guides and Calculators

Microstrip Impedance Calculator

Estimate PCB microstrip trace impedance.

Stripline Impedance Calculator

Estimate PCB stripline impedance.

LoRa Link Budget Calculator

Estimate LoRa link margin.

WiFi Link Budget Calculator

Estimate WiFi link margin.

Antenna Polarization Guide

Vertical, horizontal, circular and cross polarization explained.

RF Matching Guides

LC Resonance RF Calculator

Calculate resonant frequency, inductance or capacitance for RF LC circuits.

L Network Matching Calculator

Estimate L-match component reactances for simple RF impedance matching.

Pi Matching Network Guide

Understand pi matching networks for RF impedance matching and harmonic filtering.

RF Impedance Matching Guide

Practical RF impedance matching basics for antennas, PCB traces and RF modules.

Smith Chart Basics Guide

Learn Smith chart basics for RF impedance, matching and reflection analysis.

RF PCB Layout Guides

PCB Antenna Layout Guide

Practical PCB antenna layout rules for ESP32, LoRa, WiFi and embedded RF products.

RF Decoupling Capacitor Guide

How to choose and place decoupling capacitors for RF modules, transmitters and receivers.

RF Via Stitching Guide

Use via stitching to improve RF grounding, shielding and return current paths.

50 Ohm PCB Trace Guide

Design practical 50 ohm PCB traces for RF modules, antennas and connectors.

Antenna Matching Troubleshooting Guide

Troubleshoot poor antenna matching, high VSWR, low range and unstable RF performance.

Frequently asked questions

Can I use this example in a real project?

Yes, but check wiring, power supply, pin numbers and library versions for your exact board.

Why does the code not compile?

Most errors come from missing libraries, wrong board selection, old Arduino IDE packages or copied pin names.

Why does the circuit not work?

Check common ground, voltage level, module power requirements, loose wires and serial monitor baud rate.

Practical RF Installation Guides

RF Troubleshooting Guides

RF Reference Guides

Antenna Calculators and Guides

RF Cable and Connector Guides

Classic RF Calculators