As we conclude, here is a list of questions for you to test your knowledge of this chapter's material. You will find the answers in the Assessments section of the book:
- Can a PIR sensor detect the direction that an object is moving?
- What are some factors that can affect the measurement accuracy of an ultrasonic distance sensor?
- How does the output of a latching or non-latching Hall-effect sensor differ from the output of a ratiometric Hall-effect sensor?
- In relation to this PiGPIO function call, callback = pi.callback(GPIO, pigpio.EITHER_EDGE, callback_handler), what does the pigpio.EITHER_EDGE parameter mean?
- In a 5-volt to 3.3-volt resistor-based voltage divider consisting of a 1k Ω and 2k Ω resistor, why is important to connect the two resistor values the correct way around in a circuit?
- Both the HC-SR04 ultrasonic distance sensor and the HC-SR501 PIR sensor were powered using 5 volts connected to their respective Vcc pins. Why did...