Below you will find the key ideas from Chapter 8 of CWISA-102.
IoT Hardware and Software
Beginning a project with a chip requires a substantial investment of development time and effort. In contrast, starting a project with a computer board takes less time and effort. Choosing a controller board can achieve an excellent balance between cost, time and flexibility. In this context, the term “chip” goes beyond a mere processor; it is commonly called a microcontroller. A microcontroller may incorporate diverse components such as ROM, flash memory, SRAM, UARTs and ADC/DAC, offering a comprehensive array of functionalities.
Processors
Special purpose
- Typically have less processing power (less than 500 MHz).
- May include communications.
- May have integrated flash.
- May have multiple cores.
- Excellent for battery conservation.
- Example: ESP32.
General purpose
- More processing power (more than 500 MHz).
- Require extra chips for communications.
- Require external flash.
- Greater power consumption.
- Example: ARM Cortex.
Common Microcontroller Components
| Component | Description |
|---|---|
| ROM | Read-only memory for nonvolatile program code. |
| Flash memory | A ROM that can be reprogrammed, used to store program code. |
| SRAM | Static random access memory for volatile data storage. |
| RTC | Real-time clock for low-power functions. |
| GPIO | General-purpose input/output peripheral for data interface, controlling external devices and reading signals from them. |
| UART | Universal asynchronous receiver/transmitter for peripheral data transfers with a serial protocol. |
| SPI | Serial peripheral interface for off-chip communications. |
| ADC/DAC | Analog-to-digital converter / digital-to-analog converter. |
Types of Memory
- Non-volatile: retains data when power is removed.
- Volatile: loses data when power is removed.
- Primary storage: used for interaction with the processor.
- Secondary storage: used for long-term or mass storage.
Storage
- Read-only memory: may store boot information, firmware and flash memory (common in IoT).
- Spinning drives: not common in IoT.
- Remote data storage: NAS, SAN, file transfer protocols (common in IoT).
Sensors / Actuators
Integrated
- Off-the-shelf all-in-one devices.
- Connected internal sensors / actuators.
- On-board sensors.
External
- The sensor is external to the computer.
- May be pluggable.
- Connected through serial or other standard or custom interfaces.


Deja una respuesta