HACKED Ikea Paper Lamp.

5,950

9

1

Posted

Introduction: HACKED Ikea Paper Lamp.

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

  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Paper Contest 2018

    Paper Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments

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