Whereas digital deals with fully on and off states, analog deals with degrees—on, off, or somewhere in-between. Think of a window in your house. In a digital world, it could be fully open (digital high) or fully closed (digital low); however, in reality, it's analog in that we can open it somewhere between fully closed and fully open, for example, a quarter open.
Simple and common examples of analog electronic components include the following:
- Potentiometers (also known as pots): This is a dial or slider that produces a range of resistance values. Real-world examples include volume controls and header thermostat controls.
- Light-Dependent-Resistors (LDRs): These are electronic components to measure light levels, and you find these in automatic night lights.
- Thermistors: These are electronic components for measuring temperature that you might find in heaters, fridges, or anywhere where temperature is measured.
The Raspberry Pi does not come with...