Input

The input block will contain electronic components that give the control circuit information. These components give the control circuit the ability to sense the outside world. Some examples of input components would be:

  • Buttons or switches: Buttons and switches can be used to turn the flow of electricity on or off. When they are in the off-state electricity will not flow through the circuit; however, when they are in the on-state electricity does flow through the circuit.
  • Temperature sensors: Temperature sensors adjust the amount of resistance in a circuit based on the temperature causing the voltage to vary by the temperature. By reading the amount of voltage coming in, the control circuit can calculate the current temperature.

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.