Skip to Content
Internet of Things with Python
book

Internet of Things with Python

by Gastón C. Hillar
May 2016
Intermediate to advanced content levelIntermediate to advanced
388 pages
9h 9m
English
Packt Publishing
Content preview from Internet of Things with Python

Test your knowledge

  1. The Intel Galileo Gen 2 board provides the following resolution for the analog to digital converter:
    1. 32 bits.
    2. 64 bits.
    3. 12 bits.
  2. The analog pins allow us to detect a maximum of:
    1. 4,096 different values, with values ranging from 0 to 4095 (inclusive).
    2. 16,384 different values, with values ranging from 0 to 16,383 (inclusive).
    3. 256 different values, with values ranging from 0 to 255 (inclusive).
  3. We can configure the number of bits we want to use as the resolution by calling the following method of an mraa.Aio instance:
    1. setADCResolution.
    2. setBit.
    3. setResolutionBits.
  4. A call to the read method for a mraa.Aio instance returns:
    1. A raw number of units based on the number of the resolution bits configured for the instance.
    2. A voltage value automatically ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Getting Started with Python for the Internet of Things

Getting Started with Python for the Internet of Things

Tim Cox, Dr. Steven Lawrence Fernandes, Sai Yamanoor, Srihari Yamanoor, Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781785881381Supplemental Content