> The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.
> -- _by [iotagenda](https://internetofthingsagenda.techtarget.com/definition/Internet-of-Things-IoT)_
## The Thing
* is physical device
* provides unique identifier
* contains control unit
* contains sensors and actuators
* can communicate
## Sense-Think-Act-Communicate Cycle
![Sense Think Act Communicate Cycle](../images/sense.think.act.cycle.png)
## µController vs µProcessor vs µComputer
### Von Neuman Architecture
![Von Neumann Architecture](../images/von.neumann.architecture.png)
### Harvard Architecture
![Harvard Architecture](../images/harvard.architecture.png)
![Raspberry Pi](images/pi-plug-in.gif)
![Arduino UNO](images/arduino.png)
![BBC Micro:bit](images/microbit.png)
![ESP32](images/esp32.png)
![ESP32 Block Diagram](images/esp32.block.diagram.svg)
* notes:
* https://en.wikipedia.org/wiki/ESP32
![Raspberyy Pi Pico WH](https://www.notebookcheck.net/fileadmin/Notebooks/News/_nc3/picopicwfea.jpg)
* notes:
* https://www.notebookcheck.net/Raspberry-Pi-Pico-W-Bluetooth-5-2-support-available-for-RP2040-microcontroller-board.727378.0.html
[![Micropython](images/micropython.png)](http://micropython.org)
## Sensor
Converts other form of energy into electrical energy
## Actuator
Converts electrical energy into other form of energy
## Components of Smart Waste Bin
* level sensor
* flame sensor
* temperature and humidity
* (lid) opening sensor
* communication module
* moisture sensor
* localization sensor
* state actuators
![Design is the Art of Simplicity](images/design.is.the.art.of.simplicity.jpg)
![KISS](images/kiss.jpg)
notes:
* http://www.anwarbosbool.com/2012/06/kiss-principle/
![State Machine of Turnstile](images/state.machine-turnstile.jpg)