Mikrokontroler ESP32 (IoT Device)
ESP32 merupakan single chip 2.4 GHz digabung Wi-Fi dan Bluetooth yang didesain dengan teknologi TSMC (Taiwan Semiconductor Manufacturing Company) ultra low power 40 nm. Mikrokontroler ini didesain dan dioptimasi untuk performa daya terbaik, performa RF, kekokohan, keserbagunaan, fitur dan keandalan untuk aplikasi yang luas dan kekuatan riwayat yang berbeda.
ESP32 didesain untuk mobile, mudah dipakai, dan aplikasi Internet of Things (IoT). Mikrokontroler ini memiliki banyak feature dengan chip daya rendah, terdapat fine resolution clock gating, mode daya, dan skala daya dinamika.
Gambar 1. Blok Diagram ESP32
Gambar 2. Pin Layout Chip ESP32
Fitur dan Spesifikasi ESP32:
1. Processors:
- Main processor: Tensilica Xtensa 32-bit LX6 microprocessor
- Cores: 2 or 1 (depending on variation)
- Clock frequency: up to 240 MHz
- Performance: up to 600 DMIPS
- Ultra low power co-processor: allows you to do ADC conversions, computation, and level thresholds while in deep sleep.
2. Wireless connectivity:
- Wi-Fi: 802.11 b/g/n/e/i (802.11n @ 2.4 GHz up to 150 Mbit/s)
- Bluetooth: v4.2 BR/EDR and Bluetooth Low Energy (BLE)
3. Memory:
- Internal memory:
- ROM: 448 KiB
- SRAM: 520 KiB
- RTC fast SRAM: 8 KiB
- RTC slow SRAM: 8 KiB
- eFuse: 1 Kibit
Embedded flash:
- 0 MiB (ESP32-D0WDQ6, ESP32-D0WD, and ESP32-S0WD chips)
- 2 MiB (ESP32-D2WD chip)
- 4 MiB (ESP32-PICO-D4 SiP module)
- External flash & SRAM: ESP32 supports up to four 16 MiB external QSPI flashes and SRAMs with hardware encryption based on AES to protect developers' programs and data. ESP32 can access the external QSPI flash and SRAM through high-speed caches.
- Up to 16 MiB of external flash are memory-mapped onto the CPU code space, supporting 8-bit, 16-bit and 32-bit access. Code execution is supported.
- Up to 8 MiB of external flash/SRAM memory are mapped onto the CPU data space, supporting 8-bit, 16-bit and 32-bit access. Data-read is supported on the flash and SRAM. Data-write is supported on the SRAM.
4. Peripheral input/output: Rich peripheral interface with DMA that includes capacitive touch, ADCs (analog-to-digital converter), DACs (digital-to-analog converter), I²C (Inter-Integrated Circuit), UART (universal asynchronous receiver/transmitter), CAN 2.0 (Controller Area Network), SPI (Serial Peripheral Interface), I²S (Integrated Inter-IC Sound), RMII (Reduced Media-Independent Interface), PWM (pulse width modulation), and more.
5. Security:
- IEEE 802.11 standard security features all supported, including WFA, WPA/WPA2 and WAPI
- Secure boot
- Flash encryption
- 1024-bit OTP, up to 768-bit for customers
- Cryptographic hardware acceleration: AES, SHA-2, RSA, elliptic curve cryptography (ECC), random number generator (RNG).
Gambar 3. ESP32 Pinout