GPL 3.0

Recommend Projects

Night Light LED dimmer

1 year ago 420
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments


Night Light LED dimmer documentation and code are available at Light. I made this as alternative to bet site night light. I'm using a ribbon type LED trip thats stuck to the mack of a head board which hids a bit between the carvings on head board and the control module is basically a PWM controlled with 3 buttons: Up, Down, and On/Of switching and IRL540 FET transistor driving the output

Operating principle. The Up / Down buttons step through brightness by adjusting PWD duty cycle. Back light LED on the board will also change in brightness and it will dim as main light gets darker or go off or brighter as the main LED is brighter. It will blink when PWM reaches 0% or 100% duty to indicate full scale. The On/Off has additional finction from the self explanitory on/off. When you shut the lights off with it, it will slowly brighten or bring main PWM to last state when it was shut down by the switch. When the PWM was brought to 0% with the down button, pressing On switch will bring PWM slowly to 100% there is secondary output provided through small signal NPN transistor like 2n2222 or 2n4401 to ground on the output port, however software routing has not been implemented to take adventage of it. T2 and R7 therefore can be omited. P2 provides interface for ICSP to the chip to have it reprogrammed with updated software.






The owner does not allow comments in this project now

Comments (0)

如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.