1.
8051 Family (Intel & others)
Architecture: 8-bit
Oscillator: Requires external crystal oscillator (typically 11.0592
MHz).
Timers: Two 16-bit inbuilt timers.
Watchdog Timer: Not built-in (depends on vendor extension).
Temp/Env Tolerance: Operates well in 0°C to 70°C (commercial
grade).
Use: Learning, basic automation, low-cost designs.
2. AVR Family (Atmel / Microchip)
Architecture: 8-bit RISC
Oscillator: Internal RC oscillator + support for external crystal.
Timers: Multiple 8/16-bit timers depending on model.
Watchdog Timer: Built-in, programmable.
Temp/Env Tolerance: -40°C to +85°C (industrial grade available).
Use: Hobby projects, Arduino boards, low-power designs.
3. PIC (Peripheral Interface Controller) Family (Microchip
Technology)
Architecture: 8, 16, 32-bit (PIC16, PIC18, dsPIC)
Oscillator: Internal and external oscillator options (up to 64 MHz).
Timers: Up to 5 timers (8/16/32-bit).
Watchdog Timer: Built-in with multiple timeout options.
Temp/Env Tolerance: Extended temp versions (-40°C to +125°C).
Use: Industrial control, sensors, automotive.
4. ARM Cortex-M Family (STM32, NXP, TI, etc.)
Architecture: 32-bit ARM
Oscillator: Internal RC oscillator + external crystal support (up to
480 MHz).
Timers: Rich peripherals: general-purpose, advanced PWM, SysTick,
RTC.
Watchdog Timer: Both Independent (IWDG) and Window (WWDG)
timers.
Temp/Env Tolerance: -40°C to +105/125°C
(industrial/automotive).
Use: IoT, robotics, medical, wearable devices.
5. MSP430 Family (Mixed Signal Processor 430 series)
Architecture: 16-bit RISC
Oscillator: Internal DCO (Digitally Controlled Oscillator) + low-
frequency crystal.
Timers: Multiple 16-bit timers with capture/compare.
Watchdog Timer: On-chip WDT with interrupt/reset modes.
Temp/Env Tolerance: Low-power operation in wide temp ranges.
Use: Ultra-low-power, battery-operated, sensors.
6. RP2040 (Raspberry Pi Pico)
Architecture: 32-bit Dual-core ARM Cortex-M0+
Oscillator: External 12 MHz crystal required; internal PLL up to 133
MHz.
Timers: 4 hardware alarms + PWM, SysTick.
Watchdog Timer: Built-in, can reset or notify core.
Temp/Env Tolerance: Operating range typically -20°C to +85°C.
Use: Affordable prototyping, education, intermediate projects.
7. ESP Family (ESP8266 / ESP32 – Espressif Systems)
Architecture: 32-bit Xtensa / RISC-V (ESP32-C series)
Oscillator: Internal + external crystal; supports up to 240 MHz.
Timers: Multiple 64-bit general-purpose timers, hardware PWM.
Watchdog Timer: Task-level and core-level WDTs.
Temp/Env Tolerance: Commercial grade (-40°C to +85°C);
industrial versions exist.
Use: Wireless IoT, smart home, remote sensors.
Feature Comparison Table
Family Bit Watchdog Inbuilt Oscillator Temp
Widt Timer Timers Type Range (°C)
h
8051 8-bit No (base) 2 × 16-bit External Crystal 0 to 70
(typical)
AVR 8-bit Yes 8/16-bit Internal + -40 to 85 /
External 125
PIC 8/16/3 Yes Multiple Internal + -40 to 125
2 External
ARM-M 32-bit Yes Rich set Internal + -40 to 125
(IWDG/WWDG) External
MSP430 16-bit Yes 16-bit Internal + Low -40 to 85 /
Crystal 105
RP2040 32-bit Yes 4 alarms External + PLL -20 to 85
ESP826 32-bit Yes (multi) Multi 64- Internal + -40 to 85
6/32 bit External
Nam
Bit Function
e
Watchdog Interrupt Flag (Set when watchdog times out
7 WDIF
and WDIE is set)
Watchdog Interrupt Enable (Enable WDT interrupt
6 WDIE
instead of reset)
5 WDP3 Watchdog Prescaler Bit 3 (used to set timeout period)
Watchdog Change Enable (must be set to change WDE
4 WDCE
or timeout bits)
3 WDE Watchdog System Reset Enable (enables WDT reset)
2 WDP2 Prescaler bit 2
1 WDP1 Prescaler bit 1
0 WDP0 Prescaler bit 0
Embedded System Breakdown: Automatic
Washing Machine
1. Principle of Working
An embedded system inside a washing machine manages the entire
washing cycle based on user input and sensor feedback.
It controls actuators like motors and valves to complete the washing,
rinsing, and spinning cycles.
The microcontroller runs a real-time logic to sequence operations,
ensuring user safety and washing efficiency.
2. Key Components
Microcontroller: STM32 / PIC / AVR - the brain of the system.
Sensors: Water level, door, temperature, RPM (Revolutions Per
Minute sensor) sensors or speed sensor.
Actuators: Water valves, motor, heater, buzzer.
User Interface: Buttons, LED/LCD display.
Power Supply: Converts AC mains to DC power for logic and motor
control.
3. Process Flow
1. User Input: Mode, timer, and temperature selected.
2. Water Fill: Microcontroller opens valve, monitors level, closes it.
3. Washing: Motor rotates drum, heater may turn on.
4. Draining: Valve opens to remove water.
5. Spinning: High RPM to extract water.
6. Completion: Buzzer sounds, display notifies user.
4. Microcontroller Role
Monitors sensors and processes data.
Controls actuators with timers and logic.
Handles user inputs and mode selection.
Implements safety (e.g., stops spin if door open).
Displays cycle status and errors.
5. Summary Table
Aspect Detail
System Automatic Washing Machine
Microcontrolle STM32 / PIC / AVR
r
Inputs Buttons, sensors (water, temp, door,
RPM)
Outputs Motor, valves, heater, buzzer
Control Logic Time-based + sensor-based sequencing
Working Real-time monitoring + control of
washing process