Skip to content

Latest commit

 

History

History

Practical Python Programming for IoT

Chapter 11 - Measuring Distance and Detecting Movement

  • requirements.txt - Python dependencies required for this chapter

  • hc-sr04.py - Distance Measurement with the HC-SR04 Ultrasonic Sensor

  • hc-sr501.py - Movement Detection with the HC-SR501 PIR Sensor

  • hall_effect_digital.py - Hall-Effect Sensor Example - Switch or Latching Type

  • hall_effect_analog.py - Hall-Effect Sensor Example - Ratiometric Type