Introduction

Ever suspected someone of sneaking into your room and plays with your stuff when you’re not around? Well now you can catch them in the act with your own motion sensing CodeBug.

This activity will show you how to connect a PIR sensor to CodeBug and read its value. If your PIR has a male pin connector, you will need male to female jumper cables. If your PIR has a female socket connector, you will need male to male jumper cables.

You will need
CodeBug CodeBug
Micro USB cable
Computer
PIR Sensor
Jumper cables

Activities with this step

Back to top