Reader small image

You're reading from  Practical Python Programming for IoT

Product typeBook
Published inNov 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838982461
Edition1st Edition
Languages
Right arrow

Understanding analog IO

Whereas digital deals with fully on and off states, analog deals with degreeson, 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...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Practical Python Programming for IoT
Published in: Nov 2020Publisher: PacktISBN-13: 9781838982461