Almost every teenager (or someone who live with his parents) don't want to get caught while watching porn..
This short project can help you!
This project was inspired by the "boss key".
Hope you will enjoy.
Step 1: Parts and Materials
- Arduino pro micro
- PIR sensor
- USB cable
- Jumper wires
- Plastic (optional)
- Computer (support Windows only)
Step 2: Build the Circuit
The wire is simple:
1. Connect the PIR GND's to one of the Arduino GND's.
2. Connect the PIR "+5V" to the Arduino "5V" output.
3. Connect the PIR "out" to pin 7 on the Arduino (you can change it if you want, but remember to change it in the code as well).
Step 3: The Python Code (+NIRCMD)
1. Download Python 2.6+.
2. Download pywin32.
3. Download "nircmd" (link: http://www.nirsoft.net/utils/nircmd.html) nircmd used to mute the computer.
4. Download the Python file
Step 4: Arduino Code
Just copy the code to the Arduino (IDE) - I used the code from: http://playground.arduino.cc/Code/PIRsense - written by Kristian Gohlke.
Download the code.
Step 5: In Action and Credit
The video could be better but I was lazy=/
Most of the credit is to Addison yecheng wang and to his project "Arduino boss key" https://www.instructables.com/id/Wirte-code-Arduino...
I literally took his project and transfer it to arduino uno using python.
Feel free to change anything.