AVR Fuse Calculator
Calculate Low, High, and Extended fuse bytes for Atmel AVR microcontrollers. Visual interface for setting clock sources, brown-out detection, and bootloader options.
-U lfuse:w:0x00:m ...About
Embedded engineers working with AVR microcontrollers must configure hardware behavior using non-volatile fuse bits. These settings control critical parameters like the clock source (internal RC vs. external crystal), brown-out detection levels, and bootloader memory size. Incorrectly setting these bits can render a chip unresponsive or "bricked" (e.g., by disabling the Reset pin or selecting a clock source that doesn't exist). This tool visualizes the hexadecimal fuse values required for programming. It translates cryptic bit flags into human-readable options for popular chips like the ATmega328P. The calculated hex values are directly compatible with avrdude command-line arguments.
Formulas
Fuses are active LOW (0 = Programmed/Enabled, 1 = Unprogrammed/Disabled). The calculator performs bitwise logic to generate the final Byte:
ByteValue = ∑ (BitState × 2position)
Where BitState is 1 if the feature is disabled (unchecked) and 0 if enabled (checked), adhering to AVR convention.
Reference Data
| Chip | Default Low | Default High | Default Ext | Common Usage |
|---|---|---|---|---|
| ATmega328P | 0xE2 | 0xD9 | 0xFF | Factory Settings (Internal 8MHz / 8) |
| Arduino Uno | 0xFF | 0xDE | 0xFD | External 16MHz Crystal, BOD 2.7V |
| ATtiny85 | 0x62 | 0xDF | 0xFF | Factory Settings (Internal 8MHz / 8) |
| ATmega16 | 0xE1 | 0x99 | N/A | Factory Settings (Internal 1MHz) |