⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lichtdimmer_uk.htm

📁 dimmer pic ile yapilmis dimmer devresi ve programi
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0041)http://www.picbasic.nl/lichtdimmer_uk.htm -->
<HTML><HEAD><TITLE>Control dimmer with TV remote</TITLE>
<SCRIPT language=javascript><!--if (parent.location.href == self.location.href){window.location.href = 'indexes_uk.htm'}//--></SCRIPT>

<STYLE type=text/css>BODY {
	SCROLLBAR-FACE-COLOR: #cc0000; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #cc0000; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #800000; SCROLLBAR-DARKSHADOW-COLOR: #cc0000; SCROLLBAR-BASE-COLOR: #800000
}
</STYLE>

<META http-equiv=Content-Language content=nl>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content=FrontPage.Editor.Document name=ProgId>
<STYLE fprolloverstyle>A:hover {
	COLOR: #ffcc66
}
</STYLE>

<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY style="FONT-FAMILY: Arial" text=#ffffff vLink=#c0c0c0 aLink=#c0c0c0 
link=#ff9933 background=lichtdimmer_uk_dosyalar/achtergrond.gif>
<H2>Wireless controlled lightdimmer</H2>
<P>The meaning from this design is to build it in -i.e. a shaded lamp- and to 
switch this lamp on and off the normal way, just like it was switched before the 
dimmer was build in, then you could by exception dimming the lamp more or less 
with your TV remote control.<BR>When you switch the power on there will follow a 
soft-start till the lamp burns at the previously adjusted dim level.<BR>With the 
'0' button in TV mode you can dim the lamp, turn more and less bright.<BR>The 
remote control should send more then one RC5-signal per button-press seeing that 
the first one is ignored, this does imply that when the remote button is pressed 
a short time, there nothing happens.<BR>With the P+ and P- button from a system 
at choice you can adjust the maximum and minimum dim-levels and with the '1' 
button the start-up brightness.<BR>The next time when the 230V power is switched 
on the lamp starts up at the adjusted dim-level.</P>
<P><IMG height=480 src="lichtdimmer_uk_dosyalar/dimmer_tv-remote.jpg" width=640 
border=0><BR><I>Dim your lighting with your self made PCB and a normal TV remote 
control.</I><BR>&nbsp;</P>
<P><B>(Re)adjust the dim-levels:</B><BR>(only necessary when changing the 
maximum-, minimum- or start-up- level)<BR>First you should select an unused 
system on your remote control, i.e. SAT, AMP, VCR2 or DCC mode.</P>
<P><U>Adjust maximum level:</U> Keep, while switching the power on, the P+ 
button from the remote control pressed and wait until the lamp burns on desired 
maximum level.</P>
<P><U>Adjust minimum level:</U> Keep, while switching the power on, the P- 
button from the remote control pressed and wait until the lamp burns on desired 
minimum level. Recommended is to adjust the minimum dim level not to "lamp off" 
level, because then it's easy to forget to switch the power off and use 
unnecessary power.</P>
<P><U>Adjust start-up level:</U> Keep, while switching the power on, the '0' 
button from your remote control pressed and wait until the lamp burns on desired 
level.</P>
<P><U>Re-adjust the default values (reset):</U> Keep, while switching the power 
on, the MUTE button from the remote control pressed.</P>
<P>During adjusting the dim-levels, the dim-level changes slower then normal to 
make adjusting easier.<BR>When letting the button loose and the adjustment is 
ok, the red- en green LED blinks for a while.<BR>With the -for the dimmer 
reserved- system selected on the remote control, the P+ (dim-level up) / P- 
(dim-level down) and button '0' (up/down turn by turn) works too.<BR>Button '1' 
dims directly to the adjusted start-up level.<BR>Which system on the remote 
control is choosen doesn't matter, the '0' button works always in the TV-mode 
too.</P>
<P>Above described applies to the here downloadable .BAS and .HEX examples, but 
you can ofcourse modify it to your own wishes.<BR>Keep in mind that a remote 
control does not always send that what you expected.<BR>The volume from TV, SAT, 
VCR1 and VCR2 are all the same.<BR>Just as the volumegroup from TAPE, TUNER, CD, 
etc.<BR>And the '0'-'9' buttons from system TAPE for example send nothing at 
all.</P>
<P>See the lists: <A href="http://www.picbasic.nl/rc5slijst.htm">RC5 system 
codes</A> and <A href="http://www.picbasic.nl/rc5clijst.htm">RC5 command 
codes</A></P>
<HR>

<P><IMG height=480 src="lichtdimmer_uk_dosyalar/dimmer_cmp.jpg" width=640 
border=0><BR><I>The components, a transformer isn't used here.</I><BR>&nbsp;</P>
<TABLE cellSpacing=0 cellPadding=2 border=0>
  <TBODY>
  <TR>
    <TD>PCB</TD>
    <TD>101226 (or etch it self ofcourse)</TD></TR>
  <TR>
    <TD>PIC</TD>
    <TD>12F629 with program 'RC5 dimmer_UK'</TD></TR>
  <TR>
    <TD>IC</TD>
    <TD>U2008B</TD></TR>
  <TR>
    <TD noWrap>Optocoupler</TD>
    <TD>4N25</TD></TR>
  <TR>
    <TD>Triac</TD>
    <TD>TIC226</TD></TR>
  <TR>
    <TD>LED</TD>
    <TD>Red en green, 3mm</TD></TR>
  <TR>
    <TD>IR receiver</TD>
    <TD>TSOP1736</TD></TR>
  <TR>
    <TD>Regulator</TD>
    <TD>78L05 small voltage regulator (TO-92)</TD></TR>
  <TR>
    <TD>Transistor</TD>
    <TD>BC517 <I>don't replace with "just another NPN type" (= NPN 
      darlington)</I></TD></TR>
  <TR>
    <TD>Diode</TD>
    <TD>1N4007</TD></TR>
  <TR>
    <TD>Resistor</TD>
    <TD>180E + 470E + 2k2 + 4k7 + 6k8 + 8k2 + 10k + 18k + 68k + 680k</TD></TR>
  <TR>
    <TD>Resistor</TD>
    <TD>11 Watt / 8k2</TD></TR>
  <TR>
    <TD>Capacitor</TD>
    <TD noWrap>10n + 3x 100n + (1礔 + 2x 2,2礔 tant) + (47礔/16V + 220礔/25V 
      electrolytic, radial)</TD></TR></TBODY></TABLE><BR>
<HR color=#ffff66>

<P><FONT color=#ffff66><BLINK>
<MARQUEE scrollAmount=1 scrollDelay=0 behavior=alternate width=219 
height=18>ATTENTION, HIGH VOLTAGE!</MARQUEE></BLINK><BR>Watch out when building 
this project, seeing that the whole PCB is under life line high 
voltage!!!<BR><B>Don't program the PIC in the PCB with --in circuit 
programming-- !</B><BR>Seeing that this PCB doesn't use a transformer, the whole 
PCB is under high 230V network voltage.<BR>The PIC as well!<BR><BR>The 11 Watt 
resistor can be very warm (60癈), beware for burning or melting materials and 
bodyparts!</FONT></P>
<HR color=#ffff66>

<P><IMG height=480 src="lichtdimmer_uk_dosyalar/dimmer_cmpzijde.jpg" width=640 
border=0><BR><I>Some parts doesn't fit 100% on this proto-type, but the original 
PCB is corrected (see bottom photo).<BR>The triac doesn't get warm so the upper 
metal part can cut off eventually.</I><BR>&nbsp;</P>
<P><IMG height=246 src="lichtdimmer_uk_dosyalar/dimmer_zijaanzicht.jpg" 
width=640 border=0><BR><I>The 11 watt resistor becomes pretty hot (60癈 is 
normal in this case).<BR>That's why you should solder the resistor with 
bootlace-ferrules a bit higher on the PCB.<BR>It's important that you bend the 
two wire's from this resistor on the solderside from the PCB<BR>before you 
solder it.</I><BR>&nbsp;</P>
<P><IMG height=480 src="lichtdimmer_uk_dosyalar/dimmer_isolatie.jpg" width=640 
border=0><BR><I>To keep the PCB compact, a big connector is omitted.<BR>The 
connect-wire's are soldered directly on the PCB's solderside.<BR>Isolate after 
testing the solderside from the PCB with a hotmelt 
glue-pistol.</I><BR>&nbsp;</P>
<P><IMG height=500 src="lichtdimmer_uk_dosyalar/schema_dimmer.gif" width=721 
border=0><BR><I>When only the part on the rightside from the optocoupler is 
build, thus without PIC, 78L05, TSOP1736, etc.<BR>then increase R7 from 8k2 to 
22k.<BR>Then it's also possible to change the resistor in a smaller (2W ) 
type.</I><BR>&nbsp;</P>
<P><IMG height=199 src="lichtdimmer_uk_dosyalar/pcb_101226.gif" width=257 
border=0>&nbsp; <IMG height=199 src="lichtdimmer_uk_dosyalar/cmp_101226.gif" 
width=257 border=0>&nbsp; <IMG height=199 
src="lichtdimmer_uk_dosyalar/pcb_101226.jpg" width=257 border=0><BR>&nbsp;</P>
<TABLE cellSpacing=0 cellPadding=2 border=0>
  <TBODY>
  <TR>
    <TD><IMG height=13 src="lichtdimmer_uk_dosyalar/bulletrondje.gif" width=13 
      border=0></TD>
    <TD noWrap><A href="http://www.picbasic.nl/downloads/RC5_DIM.HEX">Download 
      RC5_DIM.HEX, <I>V-1</I> to program in a PIC12F629</A></TD></TR>
  <TR>
    <TD vAlign=top></TD>
    <TD>Download RC5_Dimmer_V-1_ UK.bas, the sourcecode for PIC 
      Basic<BR><I><FONT color=#ffff66>+++ Sourcecode not available (Else look at 
      the Dutch part) +++</FONT></I></TD></TR>
  <TR>
    <TD vAlign=top><IMG height=13 
      src="lichtdimmer_uk_dosyalar/bulletrondje.gif" width=13 border=0></TD>
    <TD><A href="http://www.picbasic.nl/downloads/SCH_101226_dimmer.pdf" 
      target=_blank>Download scheme as PDF file</A></TD></TR>
  <TR>
    <TD><IMG height=13 src="lichtdimmer_uk_dosyalar/bulletrondje.gif" width=13 
      border=0></TD>
    <TD><A href="http://www.picbasic.nl/downloads/PCB_101226.pdf" 
      target=_blank>PCB layout 101226 as PDF file</A></TD></TR>
  <TR>
    <TD><IMG height=13 src="lichtdimmer_uk_dosyalar/bulletrondje.gif" width=13 
      border=0></TD>
    <TD><A href="http://www.picbasic.nl/downloads/U2008B.pdf" 
      target=_blank>Datasheet U2008.pdf</A></TD></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -