Free embedded electronics calculators
Small calculators for everyday microcontroller work, each with the formula, its source and a worked example. They run the same tested code as the BoardPilot app, so the numbers match.
Parts and wiring
LED resistor calculatorSeries resistor for an LED, the E12 value to buy, the real current and the heat.Voltage divider calculatorOutput of two resistors, with a load, and R2 for a target such as 5 V to 3.3 V.I2C pull-up resistor calculatorAllowed pull-up range for 100 kHz, 400 kHz and 1 MHz from the bus capacitance (NXP UM10204).
Clocks and registers, for your board
UART baud rate calculatorDivider registers, real baud rate and error % for 13 boards, with a plain verdict.PWM and timer calculatorPrescaler, period and compare values, the real frequency, the resolution and code for your board.ADC sample rate calculatorConversion time and the most readings per second, from the ADC clock and sample time.
Results are arithmetic on published formulas, not measurements. Check them on your hardware.
See it on a real board
BoardPilot uses these same calculations inside the app, next to a live 3D view of your board, its pins and wires, with guided debugging when something does not work. Try it in your browser, or download it for macOS and Windows.