STM32-PIR-Motion-Sensor Devices STM32F103C8T6 HC-SR501 Passive Infrared (PIR) Motion Sensor Connection 5V, Ground and PB6 pins connected to HC-SR501