|
The EggLight is a high tech light. Inside that tiny egg like housing is a microcontroller that powers an LED. A simple code based touch sensor was designed to turn the light on. To see more projects by Proteus have a look at his site. Video after the jump. +It had to be small The Design: The Capacitive touch sensor itself is nothing more than… CODE =D (and some resistors) You see, each Pin (well most of them anyway) in the PIC microcontroller can be programmed during runtime to be INPUT, OUTPUT(HIGH or LOW) or just to be FLOATING on a tri-state condition… What you need to do is (look at the schematics so you’ll understand) if a person is holding his finger between the finger contacts the capacitance of the pin is greatly increased , this way the gap of time that the Pin will take to discharge (during float) will be much larger than normal operation (no finger)… now look at the code below using two pins:”
|