You Are Here: Home » AVR ATmega Projects » Sensor - Transducer - Detector Projects » Physical computing with ATtiny

Physical computing with ATtiny




Story

I have a nice “carranca” (or wall mask) from Chile that stands in my corridor. It’s a very beautiful decorative mask that I liked from the very first moment I saw it at the shop. Few weeks ago I wondered if I could bring it to life by adding a motion sensor and some lights in it, since it has three convenient holes (two for the eyes and one for the mouth) and enough space on the back for housing wires, batteries and stuff.

Chilean wall mask bought in PichilemuPhysical computing with ATtiny

The circuit that I had in mind for my ATtiny has very simple: a digital signal from a PIR motion sensor would come in one pin, another pin would send a digital signal out for the lights. At the end, the only change I made was to use two different pins for the eye-lights: a PWM one for the left eye, another PWM one for the right eye. (PWM so I could fade LEDs in and out, and independently from each other).

3 neon LEDs on each eye, PIR motion sensor installed in the mouth and the ATtiny + battery stored in between them.

Another thing that I had clear is that I was going to use interruptions and power-save-mode for saving me the trouble of switching/replacing battery every day.

Nowadays I’m using a small 3.7V 860mAh battery taken from an old Nokia mobile phone and it can provide enough energy to keep the system working for at least 4 months straight.

Leave a Comment

You must be logged in to post a comment.

Read previous post:
MyComm A portable satellite messaging system
MyComm: A portable satellite messaging system

Never before have we been so incredibly connected to one another than today; thanks to the prevalence of internet and...

Close
Scroll to top