CWISA-102 Chapter Eight

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

ComponentDescription
ROMRead-only memory for nonvolatile program code.
Flash memoryA ROM that can be reprogrammed, used to store program code.
SRAMStatic random access memory for volatile data storage.
RTCReal-time clock for low-power functions.
GPIOGeneral-purpose input/output peripheral for data interface, controlling external devices and reading signals from them.
UARTUniversal asynchronous receiver/transmitter for peripheral data transfers with a serial protocol.
SPISerial peripheral interface for off-chip communications.
ADC/DACAnalog-to-digital converter / digital-to-analog converter.

Types of Memory

  1. Non-volatile: retains data when power is removed.
  2. Volatile: loses data when power is removed.
  3. Primary storage: used for interaction with the processor.
  4. Secondary storage: used for long-term or mass storage.

Storage

  1. Read-only memory: may store boot information, firmware and flash memory (common in IoT).
  2. Spinning drives: not common in IoT.
  3. 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