author
1Instructables41,641Views8CommentsJoined March 11th, 2016

Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • AudriusA1 commented on AudriusA1's instructable Remote Controlled IKEA Death-Star Lamp1 month ago
    Remote Controlled IKEA Death-Star Lamp

    Hi, the complexity here is not the remote control, but rather the microcontroller and all the wiring that comes with it. If to have just on-off operation then you could get away with a relay or two and a couple of position switches to physically break the wires. However, mounting switches to detect position at each end could be a callenge on its own. I'll leave that to you to figure it out.

    View Instructable »
  • AudriusA1 commented on AudriusA1's instructable Remote Controlled IKEA Death-Star Lamp5 months ago
    Remote Controlled IKEA Death-Star Lamp

    Hi, I'm pleased to hear that you are making progress. Assuming you've wired potentiometer correctly, you should be able to read the position value on POSITION_PIN. In fact, there is a commented out line in the GetPosition() that when uncommented would show position in the Serial Monitor. Most likely that value will be slightly different then mine so you will need to calibrate it. To do that, move the lamp to the top position (open) and set constant TOP_POSITION value to whatever is on POSITION_PIN + 1. Then move the lamp to the bottom position and set constant BOTTOM_POSITION value to POSITION_PIN - 1. Its important that the top value would be less that the bottom value. If that is not the case you will need to change the polarity on the potentiometer. Please note that +1 and -1 are the...

    see more »

    Hi, I'm pleased to hear that you are making progress. Assuming you've wired potentiometer correctly, you should be able to read the position value on POSITION_PIN. In fact, there is a commented out line in the GetPosition() that when uncommented would show position in the Serial Monitor. Most likely that value will be slightly different then mine so you will need to calibrate it. To do that, move the lamp to the top position (open) and set constant TOP_POSITION value to whatever is on POSITION_PIN + 1. Then move the lamp to the bottom position and set constant BOTTOM_POSITION value to POSITION_PIN - 1. Its important that the top value would be less that the bottom value. If that is not the case you will need to change the polarity on the potentiometer. Please note that +1 and -1 are the offset values to make sure that the lamp doesn't hit the max position as it could get stuck. This offset might need to be increased if position reading is not stable. Hope this helps and I would be definitely interested to see your final result.

    View Instructable »
  • Remote Controlled IKEA Death-Star Lamp

    Electronics are constantly on power. I had to rewire wall switch (S2 in the diagram) to one of the micro-controller's inputs. Having it powered on all the time also allows me to switch the lamp on via remote control.

    View Instructable »