/Projects/IR light dimmer v1

This is a very simple IR light dimmer that you will wish to have sooner or later, especially those who are lazy enough to get up and turn off the lights. There are two versions of PCB for two sizes of capacitors, so PCBs are: 32.5 x 26.5mm and 28.5 x 27mm.
You can download the project files at the bottom of this page by clicking on red "download" button.

dimmer2

Features of current beta version of firmware:

- Soft start (gradually turning on the light bulb)
- Soft down (gradually turning off the light bulb)
- Learning IR codes from RC5 and NEC remotes
- Dimming in 10 levels by using only IR remote
- Previous dimm-level remembering when operating with remote
- Sleep timer in duration of 1.6min for 60Hz version and 2min for 50Hz version
- ON/OFF control with wall pushbutton

Dimmer is connected to existing home wiring installation inside a junction box, which is usually located above the light switch. In order to properly connect the dimmer to installation one should follow the schematics provided for that purpose. If connected differently there is a very big chance of some freaky side effects such as burned PIC microcontroller, serious fire and who knows what else.

Learning remote control IR codes (programming procedure)
After connecting dimmer to installation you must program the remote control buttons. Here is how to do that:

1. Hold the wall pushbutton for 11 sec so that dimmer can enter programming mode. After those 11 sec, LED will start to blink fast, and light will dimm to third (3.) level. Now you have 11 sec to complete the programming sequence:
2. Press the first button on your remote that will increase light level or turn on the light when it is turned off (ON/UP)
3. Press the second button on your remote that will be used to decrease the light level (DOWN)
4. Press the third button that will be used for activating/deactivating sleep mode (SLEEP)
5. Finally, press the fourth button that will be used to turn off light completely (OFF)

During programming, both the light bulb and LED will blink to confirm IR code reception. If your remote control does not have all 4 buttons that you can use, you can repeat previous button but that will cancel out some features. For example, if your remote has only two buttons (A and B), and if during programming you press: A A A B, that means that key A will be used for ON/UP function, and key B will be used to completely turn off the light. If you choose combination A B B B, it means that the key A will be again used for ON/UP function, and key B will be used to decrease light level (it will also turn the light off completely in 10 button presses - until zero level).
Programming notice: If during programming, you notice that LED blinks even when you don't press any buttons on your remote control, it is probably because you used TSOP11xx instead of TSOP17xx receiver module. In that case, you will probably not be able to program your dimmer properly.
If you are not satisfied with your choice of remote controller buttons, you can repeat the learning procedure as much as you like.
If you are planning to use your TV's remote controller, you should probably choose those teletext buttons: red, green, yellow and blue to avoid, for example, switching channels when operating the dimmer.

Sleep timer
Sleep timer can be activated by a bit longer wall-pushbutton press, more than 1.8 sec to be precise, or by pressing the appropriate button on the remote controller. Sleep timer cancellation is accomplished just like the activation. It is possible to increase/decrease the light level when sleep timer is active. Dimmer will automatically set the light level to six (6) when entering the sleep mode, but only if previous level was greater than 6.

dimmer1

Important notice: This device is connected to mains power line, so it requires a lot of respect. If you are not sure in what you are doing, you better leave the installation part to the experienced electrician.

Dimmer in operation:

Note: Dimmer works better with TIC206 rather than TIC216!

Author (sent by): Trax

Download counter: 55,348

Rating: (3.00, votes 8215)

Vote:

Date: 07-02-2009

Lokalna verzija ove stranice: IR dimmer svjetla v1

617_ir_light_dimmer_v1.zip

Bookmark and Share Comments (387)

comment [97]

pozdrav svima pošto sam novi dali mi može neko objasniti gdje naći djelove ili imali gdje na internetu da se može kupiti ako da može li mi dati link. i gdje mogu nać nove štampane ploće
IP: n/a

comment [96]

to je se i meni desavalo al mi nije valjao programator nije davao 13v na mclr pa sam to sredio i sad mi nejavlja nikakve greske
IP: n/a

comment [95]

koristim ic-prog i kad kliknem program all pojavi mi se ko neka opcija izbornika: No oscilator calibration value found.Do you want to use value from file (0000h) instead.. i posle kad sve ko ucita ima ona verifikacija i tu se pojavi greska ko: greska u adresi 0000h.. jel ovo adresa ili..
IP: n/a

comment [94]

TIC206 sam kupio u www.elektronika.rs.ba, kontaktiraj ih e-mailom i trazi.
IP: n/a

comment [93]

e trax gdje si ti nabavio triak ( TIC206)..bio sam gore u "integralu" kod mide pa mi kaze da nema i da nece ni nabavljat..pa jel ti koristis stare uredaje za pronalazak dijelova ili ima neka radnja( osim integrala)...
IP: n/a

comment [92]

to sam procitao al nisam nigdje nasao TSOP1738, TSOP1736, SFH5110 ni jedan od njih prodavac mi je dao tfm5380 rekao je da je to dobra zamjena al izgleda da nije. ....niste koristili TSOP17xx nego TSOP11xx koji je previše osjetljiv na smetnje.... e kakve smetnje? kako ih otklonit?
IP: n/a

comment [91]

Nadam se da mi konstruktor nece zameriti sto mu koristim text, al ovde lepo pise.... Napomena za programiranje: Ukoliko primjetite da LED blinka i kada niste pritisnuli tipku na daljinskom upravljaču, to je zato što niste koristili TSOP17xx nego TSOP11xx koji je previše osjetljiv na smetnje. U tom slučaju programiranje ćete sprovesti veoma teško ili nikako.
IP: n/a

comment [90]

Greska otkrivena :) nije mi valja programator. E sad postoji druga greska stavio sam umjesto zadatog ir prijemnika postavio sam neki TFM5380 i sad mi stalno blinka led a nikako nemogu da programiram tastere na daljincu. da li moze nekako da se iskombinuje sa ovim ir posto sam trazio tsop i nigdje nisam nasao pa sam uzeo ovaj on je kao zamjena al izgleda da nije
IP: n/a

comment [89]

hmm ili nije stigo cijeli text ili kod mene neki belja.. nastavak:: ocitane vrijednosti su bez ukljucenog microkontrolera znaci samo je programer prikopcan na COM port.. unaprijed zahvalan
IP: n/a

comment [88]

pozdrav.. bio bih zahvalan na maloj pomoci.. da bi inicijalizirao programator( RCD ) da li mora microkontroler biti ustekan u programator.. i jos nesto..kada prikopcam programator na COM port,pokrenem WINPIC i podesim opcije..upali mi se lampica na programatoru ko znak da radi ( hmm kako li radi :(( ) i tada ocitam vrijednosti na CLOCK =0V , DATA =5 V,VDD =5V i MCLR = nesto malo oko 0.2 ili tak nesh..da li se te vrijednosti promijene kada prikopcam u programator microkontroler jer ove ocitane vrijed
IP: n/a


Comment page: <...2526272829303132...>


add comment

name

e-mail (will not be published)

website

How much is = also add letter "a" at the end of your result! Eg.: 7a

Please log-in!

You can log-in on forum link: Login page. After logging-in, return to this page and click refresh in your browser.

site friends

sponsored links

ads