ATMEGA8535L-8PU - 8KB Flash AVR MCU 8MHz DIP-40 | Microchip
N.º da peça: ATMEGA8535L-8PU ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $4.35 | $4,35 |
| 10 | $3.92 | $39,20 |
| 100 | $3.5 | $350,00 |
| 500 | $3.15 | $1.575,00 |
| 1.000 | $2.85 | $2.850,00 |
ATMEGA8535L-8PU Visão geral
An AVR microcontroller is a single-chip computer built on the AVR enhanced RISC architecture, in which most of its 130 instructions execute in a single clock cycle, delivering roughly 1 MIPS per MHz. Within the embedded-systems hierarchy, a microcontroller unit (MCU) integrates the CPU core, program memory, data memory, peripherals, and general-purpose I/O on one die, replacing multi-chip processor-plus-logic solutions in industrial control, instrumentation, and hobbyist platforms.
Key features include 32 programmable I/O lines, an 8-channel 10-bit A/D converter for direct analog sensor connection, three flexible timer/counters (two 8-bit, one 16-bit) with compare and PWM modes, a byte-oriented Two-wire Serial Interface (TWI/I2C), and a full-duplex serial USART. The L suffix denotes the low-voltage grade, operating from 2.7V to 5.5V at 0-8 MHz per the internal verified database, suiting battery-powered designs.
Technically, the Harvard architecture with separate program and data buses plus a 2-cycle hardware multiplier underpins the high code efficiency. Six software-selectable sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby) trade wake-up latency for microamp-level current. The 8 KB Flash supports 1,000 write/erase cycles with Read-While-Write, enabling field firmware updates via SPI ISP.
Typical applications include industrial control panels, ADC-based sensor data loggers, PWM motor control, and breadboard-friendly educational embedded systems where the through-hole DIP-40 package simplifies prototyping.
Design consideration: verify the VCC-versus-frequency curve before clocking near 8 MHz at low VCC, use a 0.1 uF decoupling capacitor across VCC/GND, and keep the AREF path clean for 10-bit ADC accuracy.
This page synthesizes distributor pricing, drop-in DIP-40 alternatives, full pinout, and design notes not consolidated in the manufacturer datasheet.
Alternativas drop-in para ATMEGA8535L-8PU — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com ATMEGA8535L-8PU (mesmo formato e footprint) — diferindo em Communication Interfaces, Operating Temperature, SRAM, EEPROM, Throughput.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
ATMEGA8535L-8PI
✅ Drop-In✓ Em estoque
$3.72 / unidade
Ver ficha técnica →ATMEGA8535-16PJ
✅ Drop-In✓ Em estoque
$3.4 / unidade
Ver ficha técnica →AT90S8535-8PI
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATMEGA32L-8PU
✅ Drop-In✓ Em estoque
$9.75 / unidade
Ver ficha técnica →ATMEGA8515-16PI
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$4.18 / unidade
Ver ficha técnica →ATMEGA8535L-8PU Classificações máximas e características elétricas
| Core Architecture | 8-bit AVR RISC |
| Flash Memory | 8 KB (4K x 16) In-System Programmable |
| SRAM | 512 B |
| EEPROM | 512 B |
| Frequência máxima de clock | 8 MHz |
| Supply Voltage Range | 2.7 V to 5.5 V (L grade) |
| Throughput | Up to 8 MIPS at 8 MHz (1 MIPS/MHz) |
| ADC | 8-channel, 10-bit |
| Timers/Counters | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | USART, TWI (I2C), SPI |
| General Purpose I/O | 32 lines |
| Flash Endurance | 1,000 write/erase cycles |
| Sleep Modes | 6 (Idle, ADC NR, Power-save, Power-down, Standby, Extended Standby) |
| Encapsulamento | 40-PDIP (0.600 in, 15.24 mm) |
| Tipo de montagem | Through Hole |
| Temperatura de operação | 0C to +70C (commercial, PU suffix) |
| Status do ciclo de vida | Active |
Configuração de pinos do ATMEGA8535L-8PU
| Pino 1 | PB0 (XCK/T0) — PORTB bit 0 / USART external clock / Timer0 external clock input |
| Pino 2 | PB1 (T1) — PORTB bit 1 / Timer1 external clock input |
| Pino 3 | PB2 (INT2/AIN0) — PORTB bit 2 / External interrupt 2 / Analog comparator positive input |
| Pino 4 | PB3 (OC0/AIN1) — PORTB bit 3 / Timer0 output compare / Analog comparator negative input |
| Pino 5 | PB4 (SS) — PORTB bit 4 / SPI slave select |
| Pino 6 | PB5 (MOSI) — PORTB bit 5 / SPI master output slave input (used for ISP) |
| Pino 7 | PB6 (MISO) — PORTB bit 6 / SPI master input slave output (used for ISP) |
| Pino 8 | PB7 (SCK) — PORTB bit 7 / SPI serial clock (used for ISP) |
| Pino 9 | RESET — Reset input, active low |
| Pino 10 | VCC — Digital supply voltage (2.7 V to 5.5 V) |
| Pino 11 | GND — Digital ground |
| Pino 12 | XTAL2 — Inverting oscillator amplifier output |
| Pino 13 | XTAL1 — Inverting oscillator amplifier input / external clock input |
| Pino 14 | PD0 (RXD) — PORTD bit 0 / USART receive data input |
| Pino 15 | PD1 (TXD) — PORTD bit 1 / USART transmit data output |
| Pino 16 | PD2 (INT0) — PORTD bit 2 / External interrupt 0 |
| Pino 17 | PD3 (INT1) — PORTD bit 3 / External interrupt 1 |
| Pino 18 | PD4 (OC1B) — PORTD bit 4 / Timer/Counter1 output compare B PWM output |
| Pino 19 | PD5 (OC1A) — PORTD bit 5 / Timer/Counter1 output compare A PWM output |
| Pino 20 | PD6 (ICP1) — PORTD bit 6 / Timer/Counter1 input capture |
| Pino 21 | PD7 (OC2) — PORTD bit 7 / Timer/Counter2 output compare PWM output |
| Pino 22 | PC0 (SCL) — PORTC bit 0 / TWI serial clock line |
| Pino 23 | PC1 (SDA) — PORTC bit 1 / TWI serial data line |
| Pino 24 | PC2 (TCK) — PORTC bit 2 / JTAG test clock |
| Pino 25 | PC3 (TMS) — PORTC bit 3 / JTAG test mode select |
| Pino 26 | PC4 (TDO) — PORTC bit 4 / JTAG test data output |
| Pino 27 | PC5 (TDI) — PORTC bit 5 / JTAG test data input |
| Pino 28 | PC6 (TOSC1) — PORTC bit 6 / Timer oscillator input for async Timer2 |
| Pino 29 | PC7 (TOSC2) — PORTC bit 7 / Timer oscillator output for async Timer2 |
| Pino 30 | AVCC — Analog supply voltage for ADC and Port A |
| Pino 31 | GND — Ground |
| Pino 32 | AREF — Analog reference voltage for ADC |
| Pino 33 | PA7 (ADC7) — PORTA bit 7 / ADC channel 7 |
| Pino 34 | PA6 (ADC6) — PORTA bit 6 / ADC channel 6 |
| Pino 35 | PA5 (ADC5) — PORTA bit 5 / ADC channel 5 |
| Pino 36 | PA4 (ADC4) — PORTA bit 4 / ADC channel 4 |
| Pino 37 | PA3 (ADC3) — PORTA bit 3 / ADC channel 3 |
| Pino 38 | PA2 (ADC2) — PORTA bit 2 / ADC channel 2 |
| Pino 39 | PA1 (ADC1) — PORTA bit 1 / ADC channel 1 |
| Pino 40 | PA0 (ADC0) — PORTA bit 0 / ADC channel 0 |
Aplicações típicas
ATMEGA8535L-8PU é adequado para 6 aplicaçãos: Industrial Control Panels, Sensor Data Logging, PWM Motor Control, Educational and Hobbyist Embedded Systems, Serial Communication Gateways, Battery-Powered Portable Instruments.
Industrial Control Panels
The ATMEGA8535L-8PU fits industrial control panels where 32 GPIO lines drive relays, indicators, and contactors while the 10-bit ADC monitors analog setpoints. Its 8 KB ISP Flash stores control logic, and the USART links to HMIs or SCADA gateways. Operating from a regulated 5V rail, the AVR core's 1 MIPS/MHz throughput executes closed-loop control at kilohertz rates, and the Watchdog Timer recovers firmware from disturbances. The through-hole DIP-40 package withstands vibration better than fine-pitch SMD in retrofit boards, and field firmware updates via SPI ISP avoid unsoldering the device during maintenance.
Recomendado
Sensor Data Logging
For battery-powered data loggers, the ATMEGA8535L-8PU's 8-channel 10-bit ADC digitizes temperature, pressure, and voltage inputs directly without an external converter, while 512 B EEPROM retains calibration constants across power cycles. The 2.7V minimum supply supports three-cell battery operation, and the Power-down sleep mode drops supply current to microamp levels between samples, extending battery life in multi-month deployments. The TWI interface connects external I2C EEPROM or RTC ICs to extend storage beyond the on-chip 512 B, and the USART streams logged data to a PC or radio module during periodic downloads.
Recomendado
PWM Motor Control
The ATMEGA8535L-8PU generates motor drive waveforms using its two 8-bit timers and one 16-bit timer with output-compare channels (OC0, OC1A, OC1B, OC2), producing hardware PWM without CPU intervention. The 16-bit Timer/Counter1 supports phase-correct and fast PWM modes for DC motor speed control, while the input-capture unit (ICP1) measures encoder or tachometer feedback with timer resolution. At 8 MHz, PWM resolution reaches 10 bits at reduced frequency, adequate for fan and pump control. Driving MOSFET gate-driver ICs from the timer outputs, the MCU closes speed loops at hundreds of hertz using the 10-bit ADC for current sensing.
Recomendado
Educational and Hobbyist Embedded Systems
The DIP-40 through-hole package of the ATMEGA8535L-8PU plugs directly into breadboards and 0.1-inch perfboards, making it a staple for electronics education and maker projects. Students program it over SPI ISP with free AVR-GCC toolchains and can observe signals on 32 GPIO pins with a logic probe. The 8-channel 10-bit ADC supports hands-on analog labs, and three timer/counters demonstrate PWM, input capture, and real-time concepts. Operation from a simple 5V USB supply, a 8 MHz crystal, and two decoupling capacitors is a complete minimum system, keeping entry cost minimal for classrooms.
Recomendado
Serial Communication Gateways
With a full-duplex USART, hardware SPI, and a byte-oriented Two-wire Serial Interface, the ATMEGA8535L-8PU bridges devices across different buses in small gateways. A typical design reads sensors over I2C, aggregates them in 512 B SRAM, and forwards frames over RS-485 or RS-232 via the USART at standard baud rates from its 8 MHz clock. The SPI master also drives external Flash or Ethernet modules where extra storage is needed. PORTC pins double as TWI (SCL/SDA on PC0/PC1), so the gateway fits entirely within one DIP-40 device while the 10-bit ADC simultaneously monitors the 5V rail or sensor excitation for diagnostics.
Recomendado
Battery-Powered Portable Instruments
Portable meters and handheld testers benefit from the ATMEGA8535L-8PU's combination of a 2.7V minimum supply, six sleep modes, and an integrated 10-bit ADC that eliminates a separate converter IC, reducing board area and quiescent budget. In ADC Noise Reduction mode the core halts while the converter runs, improving effective ADC resolution for millivolt-level measurements. The LCD-driving capability of port pins, the Power-save mode with Timer/Counter2 for periodic wake-up, and EEPROM storage of calibration data let a single DIP-40 device implement a complete handheld instrument that runs for months on alkaline cells between sampling sessions.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para ATMEGA8535L-8PU — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | ATMEGA8535L-8PI | ATMEGA8535-16PJ | AT90S8535-8PI | ATMEGA32L-8PU | ATMEGA8515-16PI |
|---|---|---|---|---|---|---|
| Package | 40-PDIP (0.600 in, 15.24 mm) | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology (Atmel legacy) | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB ISP | 8 KB ISP | 8 KB ISP | 8 KB | 32 KB ISP | 8 KB ISP |
| SRAM | 512 B | 512 B | 512 B | 512 B | 2 KB | 512 B |
| Max Clock Frequency | 8 MHz | 8 MHz | 16 MHz | 8 MHz | 8 MHz | 16 MHz |
| Supply Voltage | 2.7 V to 5.5 V (L grade) | 2.7 V to 5.5 V | 4.5 V to 5.5 V | 4.0 V to 6.0 V | 2.7 V to 5.5 V | 4.5 V to 5.5 V |
| 10-bit ADC | 8-channel | 8-channel | 8-channel | 8-channel | 8-channel | None |
| Operating Temperature | 0C to +70C (commercial) | -40C to +85C (industrial) | -40C to +85C (industrial) | -40C to +85C (industrial) | 0C to +70C (commercial) | -40C to +85C (industrial) |
| Lifecycle Status | Active | Active | Active | Obsolete (ATmega8535 is its replacement) | Active | Active |
Principais diferenciais
- Low-voltage operation at 2.7 V (vs ATMEGA8535-16PJ)
- Integrated 8-channel 10-bit ADC (vs ATMEGA8515-16PI)
- Identical pinout across the whole family (vs ATMEGA32L-8PU)
- Active lifecycle support (vs AT90S8535-8PI)
Notas de projeto
Connect AVCC (pin 30) to VCC through a low-pass filter (for example a 10 uH inductor or ferrite bead plus 0.1 uF capacitor) when using the ADC, because AVCC powers both Port A and the converter. The device functions with ADC disabled even if AVCC is not connected, but the datasheet recommends never leaving AVCC floating when Port A is used as digital I/O. Keep AREF (pin 32) clean: use an external reference with a 100 nF decoupling capacitor, or select the internal reference via software - never connect an external voltage source directly when the internal reference is enabled.
For through-hole prototyping, place a 0.1 uF ceramic capacitor directly across VCC (pin 10) and GND (pin 11), plus one bulk 10 uF capacitor per board section. For the crystal, place the 8 MHz crystal and its two load capacitors (typically 12-22 pF depending on crystal specification) within 20 mm of XTAL1/XTAL2 (pins 13-12) and keep those traces short to avoid startup failure and jitter. Ground pin 31 (GND) and pin 11 both to the same low-impedance ground plane, since the ADC ground return shares these pins.
Two pitfalls recur with this device. First, verify the VCC-versus-frequency curve: the L grade permits 0-8 MHz only when supply voltage supports it per the datasheet speed chart - do not assume 8 MHz operation at the absolute minimum 2.7 V without checking the datasheet graph. Second, when migrating from AT90S8535, remember fuse-bit locations and electrical characteristics differ per the Microchip datasheet; program the S8535C compatibility fuse if needed. Also note PC2-PC7 carry JTAG and Timer2 oscillator functions - disable JTAG via fuse if you need all eight PORTC pins as general I/O.
ISP programming uses PB5/PB6/PB7 (MOSI/MISO/SCK, pins 6-8) and RESET (pin 9). Keep a 10 kOhm pull-up on RESET and an isolation resistor on SCK if external circuitry loads the SPI bus, otherwise the programmer may fail to enter programming mode. Flash endurance is 1,000 write/erase cycles, so avoid firmware routines that self-write constants to program memory at runtime; use EEPROM (also 1,000 cycles) for parameter storage and rotate writes across pages to extend lifetime.
Informações de conformidade
Compliance status not explicitly stated in the provided web data; the modern Microchip-produced ATMEGA8535L-8PU is generally RoHS compliant, but verify on the Microchip product page before specifying.