For the second term of my physical computing class, we had to create a small project using the ATTINY microcontroller!
In order to keep things simple, I decided to build a small circuit that lights up an LED when someone is moving thanks to a Passive Infrared Sensor. Next step would to trigger a relay so that for example I could have a light turn on just when I'm close to it!
As always, I started by using the Arduino as the power source and the programmer of the ATTINY controller. To do this, we followed a nice tutorial available here: http://highlowtech.org/?p=1695
Prototyping
The PIR sensor used.
It just needs 5V, GND and the actual pin where it will send 5V if it gets triggered