1533  Common Hardware Platforms

1533.1 Learning Objectives

By the end of this chapter, you will be able to:

  • Compare Arduino, ESP32, Raspberry Pi, and other popular platforms
  • Select the appropriate platform for specific project requirements
  • Use interactive simulators to practice with different platforms
  • Understand the strengths and limitations of each platform family

1533.2 Arduino Family

1533.2.1 Arduino Uno

  • MCU: ATmega328P (8-bit AVR)
  • Speed: 16 MHz
  • Memory: 32 KB Flash, 2 KB RAM
  • I/O: 14 digital, 6 analog
  • Best For: Learning, simple projects, hobbyist prototypes

1533.2.2 Arduino Mega

  • MCU: ATmega2560
  • Memory: 256 KB Flash, 8 KB RAM
  • I/O: 54 digital, 16 analog
  • Best For: Projects requiring many I/O pins

1533.2.3 Arduino Nano/Mini

  • Compact form factors
  • Same MCU as Uno
  • Best For: Space-constrained projects

1533.2.4 Arduino Due

  • MCU: ARM Cortex-M3 (32-bit)
  • Speed: 84 MHz
  • Memory: 512 KB Flash, 96 KB RAM
  • Best For: Computationally intensive applications

1533.2.5 Arduino Strengths and Limitations

Strengths: - Beginner-friendly IDE and ecosystem - Massive community and library support - Standardized form factor (shields) - Abundant tutorials and examples

Limitations: - Limited processing power - No built-in Wi-Fi/Bluetooth (except Wi-Fi-enabled variants) - 5V logic (compatibility issues with 3.3V devices)

1533.2.6 Knowledge Check


1533.3 ESP32/ESP8266 Family

1533.3.1 ESP32

  • MCU: Dual-core Xtensa LX6, 240 MHz
  • Memory: 520 KB RAM, 4 MB Flash (typical)
  • Connectivity: Wi-Fi 802.11 b/g/n, Bluetooth Classic + BLE
  • Peripherals: Rich (ADC, DAC, touch sensors, SPI, I2C, UART)
  • Power Modes: Deep sleep < 10 uA

1533.3.2 ESP8266

  • MCU: Single-core Xtensa L106, 80/160 MHz
  • Connectivity: Wi-Fi 802.11 b/g/n
  • Lower cost and simpler than ESP32

1533.3.3 Strengths and Limitations

Strengths: - Built-in Wi-Fi/Bluetooth - Low cost ($2-10) - Low power with deep sleep - Arduino IDE compatible - Active community

Limitations: - Fewer I/O pins than Arduino Mega - 3.3V logic only - Wi-Fi stack consumes resources

Best For: - Wi-Fi-connected sensors - Home automation - IoT gateways - Battery-powered Wi-Fi devices

1533.3.4 Knowledge Check


1533.5 Raspberry Pi Family

1533.5.1 Raspberry Pi 4 Model B

  • Processor: Quad-core ARM Cortex-A72, 1.5 GHz
  • RAM: 1/2/4/8 GB options
  • Connectivity: Gigabit Ethernet, Wi-Fi, Bluetooth
  • Interfaces: USB 3.0, HDMI, GPIO header
  • OS: Raspberry Pi OS (Linux), Ubuntu, Windows IoT

1533.5.2 Raspberry Pi Zero/Zero W

  • Compact, low-cost variant
  • Single-core ARM11, 1 GHz
  • 512 MB RAM
  • Zero W adds Wi-Fi/Bluetooth

1533.5.3 Raspberry Pi Pico

  • MCU-class board (not Linux-capable)
  • RP2040 dual-core Cortex-M0+, 133 MHz
  • 264 KB RAM
  • Best For: MCU projects needing custom silicon

1533.5.4 Strengths and Limitations

Strengths: - Full Linux environment - Rich software ecosystem - Powerful processing for edge computing - Extensive peripherals - Large community

Limitations: - Higher power consumption (2-7W) - Not real-time (Linux has scheduling latency) - Larger form factor - Requires SD card for boot

Best For: - Edge gateways - Video processing - Machine learning inference - Complex IoT applications

1533.5.5 Knowledge Check


1533.6 Other Platforms

1533.6.1 BeagleBone Family

BeagleBone Black: - Processor: ARM Cortex-A8, 1 GHz - RAM: 512 MB DDR3 - Storage: 4 GB eMMC onboard - PRUs: Programmable Real-time Units for deterministic I/O - OS: Debian Linux

Strengths: - More I/O than Raspberry Pi (65 GPIO) - Real-time capable with PRUs - Industrial temperature variants - Open-source hardware

Best For: - Industrial applications - Real-time I/O with Linux - Robotics and automation

1533.6.2 STM32 Nucleo/Discovery Boards

Nucleo Boards: - Various STM32 MCU options (Cortex-M0/M3/M4/M7) - Arduino-compatible headers - ST-Link debugger onboard - Professional development environment (STM32CubeIDE)

Strengths: - Industrial-grade MCUs - Low power optimization - Professional toolchain - HAL libraries

Best For: - Production-intent prototypes - Low-power battery applications - Professional embedded development

1533.6.3 Particle Platform

Particle Photon/Argon/Boron: - MCU with integrated Wi-Fi or cellular connectivity - Cloud platform included - Over-the-air (OTA) updates - Cellular data plans for Boron

Strengths: - End-to-end IoT platform - Easy cloud connectivity - Built-in device management - Rapid prototyping for connected devices

Best For: - Connected products requiring cloud integration - Fleet management applications - Rapid IoT prototyping


1533.7 Platform Comparison Summary

Platform Processor Connectivity Power Cost Best For
Arduino Uno 8-bit AVR 16MHz None 45mA $25 Learning
Arduino Mega 8-bit AVR 16MHz None 50mA $45 Many I/O
ESP32 Dual-core 240MHz Wi-Fi + BLE 10uA sleep $5-10 IoT
ESP8266 Single-core 80MHz Wi-Fi 10uA sleep $3-5 Simple IoT
Raspberry Pi 4 Quad-core 1.5GHz Wi-Fi + ETH 600mA+ $35-75 Edge compute
STM32 Nucleo Cortex-M various Add modules 1uA sleep $10-25 Professional

1533.8 Whatโ€™s Next

Continue to Hardware Components for a comprehensive guide to sensors, actuators, and communication modules for IoT prototypes.