The code to understand the PIR sensor and how it works.
Using the LED as an output in presence of movements.
Connect to the Adafruit MQTT. Making the project become a Internet of Things. The MQTT can monitor and record the PIR sensor whenever a movement is detected