HACKED Ikea Paper Lamp.

Published

Introduction: HACKED Ikea Paper Lamp.

About: Everywhere I go, there I am.
My wife has been talking about getting one of those really chinsy plug in the wall night lights for the nursery. Seeing as how I had a number of extra LED strips, a lamp that was already located in the nursery,  microcontrollers, and SCR's kicking around I told her I'd make her something better. I strapped an LED strip to the center pole of an IKEA paper lamp. Attached the capacitive touch sensor to the pole. Wham-Bam, LED touch sensitive hacked lamp.
I used the same circuit outlined HERE in a previous instructable, except I used an Attiny 8, and an SCR instead of an SSR.
 

Share

    Recommendations

    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Water Contest

      Water Contest

    Discussions

    Hi Timbit1985,

    I selected ATtiny85 (internal 8Mhz clock) and successfully burned this bootloader into my ATtiny85-20PU. Uploaded the blink sketch, works at expected. However, I receive the following error when attempting to upload your sketch:

    'PORTD' was not declared in this scope

    sketch_nov18c.ino:70:47: error: invalid suffix "Mhx" on integer constant

    sketch_nov18c.ino: In function 'uint8_t readCapacitivePin(int)':

    sketch_nov18c:68: error: 'PORTD' was not declared in this scope

    sketch_nov18c:69: error: 'DDRD' was not declared in this scope

    sketch_nov18c:70: error: 'internal' was not declared in this scope

    sketch_nov18c:70: error: expected `)' before numeric constant

    sketch_nov18c:80: error: 'PORTC' was not declared in this scope

    sketch_nov18c:81: error: 'DDRC' was not declared in this scope

    sketch_nov18c:83: error: 'PINC' was not declared in this scope

    I assume its an internal register issue.

    Thank you in advance.

    Best regards, Ron