Embedded Calculators & Part Finder

Size a value with 64 free calculators, then find the real component that fits — in stock, at the best price. For MCU, power, RF & firmware. No account.

📐
PWM / Timer
Frequency, period, duty cycle
📡
UART Baud Rate
Error rate, PASS/FAIL check
📊
ADC Resolution
LSB voltage, SNR, dynamic range
🐕
Watchdog Timer
STM32 IWDG & WWDG timeouts
🎛
I2C Timing
Bus timing & pull-up values
🚌
CAN Bus Bit Timing
STM32 bxCAN/FDCAN & MCP2515
🔌
SPI Timing
Bit period, frame, throughput
🔗
RS-485 Bus
Cable length, termination, bias
🚗
LIN Bus Timing
Bit, break, frame time
🏭
Modbus RTU Timing
Char & inter-frame gaps
🔁
Ring Buffer / DMA
Buffer sizing
🧩
Register Map → C
Bitfield struct & macros
🧾
CRC → C Code
Lookup table & function
⚙️
Stepper Motor
Steps/rev, microstep, pulse rate
🌀
BLDC / PMSM Speed
Motor electrical freq, pole pairs
🎯
Rotary Encoder
Motor encoder counts/rev
🔧
Motor Torque ↔ Power
N·m, RPM, Watts, hp
🔥
MOSFET Power Loss
Conduction & switching loss
🧲
Transformer Turns
Ratio, Ns, current ratio
🔋
LDO Dropout / Power
Heat dissipation & efficiency
🎵
I2S Audio Clock
BCLK, LRCLK, bit period
USB Data Lines
Bit time, 90Ω, termination
🌐
Ethernet Cable
Bit time, delay, 100m limit
🔲
Bit Field Visualizer
32-bit register breakdown
🔢
Q-Format Converter
Float ↔ fixed-point
🧮
Number Base Converter
Dec, Hex, Bin, Oct converter
🔢
IEEE 754 Visualizer
32-bit Float & 64-bit Double
🔄
Endian Swap
Big/Little/Mid-Endian byte swap
📦
Struct Alignment
C struct padding & visualizer
💾
Memory & Transmission
Bytes, baud rate & sample times
🔠
Glyph Mapper
7-Segment & Character LCD custom font generator
💎
Crystal Load Cap
Oscillator load capacitor sizing
Ohm's Law
V, I, R, P — any 2 → all 4
Voltage Divider
Vout, loaded divider, Thevenin
💡
LED Resistor
Series/parallel configs & E24
🎨
Resistor Code
Color bands & SMD decoder
🔺
Op-Amp Gain
Amp configurations & Schmitt
📐
Instrumentation Amp
3-op-amp in-amp gain & Vout
🔻
Op-Amp Resistor
Inverting/Non-inv → R2,R3,R4
🔀
BJT Bias CE
Q-point & stability factor
NE555 Timer
Astable / monostable
🔋
Capacitor Charge
RC time constant, τ milestones
📉
Buck / Boost
Switching regulator design
🔌
AWG Wire Gauge
Wire gauge & voltage drop
🧮
Series / Parallel
R · C · L equivalent value
🔋
LM317 Regulator
Adjustable Vout & R2 solver
Current Divider
Branch currents in parallel R
LC Resonance
LCR resonant freq, Q-factor
RC Filter
Cutoff frequency, gain & phase
🔊
dB Converter
dB, dBm & mW bidirectional
🔄
CRC Calculator
CRC-8/16/32, 7 polynomials
🔄
Checksum / CRC
XOR, Sum8/16, LRC, CRC
🛣️
PCB Trace Calc
IPC impedance & trace width
🎚
Active Filter
Sallen-Key 2nd-order LPF/HPF
📡
RF Trans. Line
Microstrip impedance (IPC-2141)
📶
VSWR / Return Loss
Γ, return & mismatch loss
🛰️
RF Link Budget
FSPL, Rx power, margin
〰️
Wavelength / Antenna
λ, λ/2 dipole, λ/4 whip
📶
Attenuator Pad
T / Pi resistor values (dB)
🌀
Coil Inductance
Air-core solenoid (Wheeler)
🔋
Battery Life
Estimated system run-time
🌡
Temperature
Units & RTD sensor temps
🌉
Wheatstone Bridge
Bridge Vout & balance
🔥
Junction Temp
Thermal Tj & max power
🎛

I2C Timing & Pull-Up Resistor

Calculate bus timing requirements, pull-up resistor limits, and I2C peripheral timing register values.

Input Parameters
Results
SCL Period
SCL High Time (tHIGH)
SCL Low Time (tLOW)
Rise/Fall Time Limits
Min Pull-Up (Rp min)
Max Pull-Up (Rp max)
Timing Register Value (STM32)
Prescaler / High Cycles / Low CyclesPresc: | H: | L:
💡 Usage & Formula

I2C (Inter-Integrated Circuit) uses open-drain lines requiring pull-up resistors to pull the bus high when devices release the lines.

Formulas:

  • Rp (min): (Vdd - Vol) / Iol
  • Rp (max): Rise_Time / (0.8473 * Cb)

Usage: Select the speed mode (e.g., Standard or Fast Mode) and input your bus voltage and total bus capacitance to calculate the valid range for pull-up resistors and I2C timing register values.

When you need it: Sizing I2C pull-up resistors so the rising edge meets the bus spec at your total capacitance, or fixing rounded-off edges and NACKs on a long or heavily loaded bus.

Worked example: 400 kHz Fast-mode with 200 pF of bus capacitance and a 300 ns rise-time limit gives Rp_max = tr / (0.8473 × C) = 300e-9 / (0.8473 × 200e-12) ≈ 1.77 kΩ. The sink-current floor is Rp_min = (Vdd − 0.4) / 3mA = (3.3 − 0.4) / 3e-3 ≈ 0.97 kΩ, so ~1.5 kΩ sits safely in between.

Tips & gotchas:

  • Every extra device and centimetre of trace adds capacitance, which forces a smaller pull-up to keep the rise time in spec.
  • Too-small a pull-up violates the 3 mA (Fast-mode) sink limit and the low-level output voltage; too large slows the edges into NACK territory.
  • Standard-mode (100 kHz) allows a 1000 ns rise time, so it tolerates much larger pull-ups on the same bus.
  • For very long buses use a bus buffer/accelerator (e.g. active pull-up) rather than fighting RC with ever-smaller resistors.