Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • Frans van Buul commented on Frans van Buul's instructable Wake-up ceiling light1 year ago
    Wake-up ceiling light

    Nice to hear that you're building the project! Hope it will all work out.By design, this lamp is only active as an alarm if you keep the wall switch on and switch off the lamp through the web interface. My wife and I simply keep the wall switch off during the weekend, so no need for anything special.Hardcoding weekend logic would be possible as well. Edit the file 'alarm.cpp'. In the alarm check logic, after "time_t localTime = localclock.getLocalTime();" you could do some additional checks. To prevent an alarm on Sunday (day 1) and Saturday (day 7) you could surround the alarm logic by something like "if( weekday(localTime) != 1 && weekDay(localTime) != 7) {" Making this configurable through a button is possible as well of course, but it would take changes a...

    see more »

    Nice to hear that you're building the project! Hope it will all work out.By design, this lamp is only active as an alarm if you keep the wall switch on and switch off the lamp through the web interface. My wife and I simply keep the wall switch off during the weekend, so no need for anything special.Hardcoding weekend logic would be possible as well. Edit the file 'alarm.cpp'. In the alarm check logic, after "time_t localTime = localclock.getLocalTime();" you could do some additional checks. To prevent an alarm on Sunday (day 1) and Saturday (day 7) you could surround the alarm logic by something like "if( weekday(localTime) != 1 && weekDay(localTime) != 7) {" Making this configurable through a button is possible as well of course, but it would take changes at several places (HTML, webserver, configuration, alarm). Simply follow the patterns that are already there for other configurable things, like the alarm time.

    View Instructable »
  • Frans van Buul commented on Frans van Buul's instructable Wake-up ceiling light2 years ago
    Wake-up ceiling light

    Hi Lee, sorry for a delayed response here. If you can't find one of these, there's not much I can do about it I'm afraid. The brand of my lamp is EGLO, maybe that will help.Otherwise, you could modify the schematic to support a higher voltage. One change you will need in that case is that the MOSFET driver stage around IC3 will need its owner power supply of around 10-12V rather than using the LED voltage directly.

    Hi Jeroen! Nice to hear that you like the project.I would recommend you buy some capacitors of the right capacity (it will set you back cents only).Looking at capacitor C1, there is theoretically no issue if the capacity would be higher. However, you need to take into account that practical capacitors are not ideal capacitors. 4.7uF and higher are usually electrolytic capacitors. These have a relatively large stray inductance, and that absolutely is a problem for a capacitor in this role. A 100nF ceramic capacitor doesn't have that issue - so go with that.For C2, you should't use a much bigger value than indicated.

    Hi Lee, sorry for a delayed response here. If you can't find one of these, there's not much I can do about it I'm afraid. The brand of my lamp is EGLO, maybe that will help.Otherwise, you could modify the schematic to support a higher voltage. One change you will need in that case is that the MOSFET driver stage around IC3 will need its owner power supply of around 10-12V rather than using the LED voltage directly.

    View Instructable »