Wiring up your sensor
You may need to check the information sheet of your PIR sensor, however they usually have three pins, labelled (+) (OUT) and (-). Using three jumper cables, connect the positive (+) pin of the PIR to the VCC hole on CodeBug’s black expansion port, connect the negative (-) pin to the GND hole on CodeBug’s expansion port and the output pin to the SDO hole.
