Dimmer Circuit


Closed Thread
Results 1 to 10 of 10

Thread: Dimmer Circuit

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Ok Im A Idiot :-),Ifind the way I must just for every Channel put a New Zero Cross Detection like here:

    POS_FLNK:IF ZeroDetect = 0 Then POS_FLNK
    NEG_FLNK:IF ZeroDetect = 1 Then NEG_FLNK
    PauseUs Delay_1
    high PortC.0
    pauseUs 100
    low PortC.0
    POS2_FLNK:IF ZeroDetect = 0 Then POS2_FLNK
    NEG2_FLNK:IF ZeroDetect = 1 Then NEG2_FLNK
    PauseUs Delay_2
    high PortC.1
    pauseUs 100
    low PortC.1
    hserin 1,MainStart,[WAIT("!"),DataIn[0],DataIn[1]]
    Delay_1 = Datain[0] * 100
    Delay_2 = Datain[1] * 100
    GoTo MainStart

    Regard Pesti

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Hallo,

    My Code is Working ,but :-) I dont have the full Brightness on all the light bulbs.

    Did some one know what I can change in my Code,
    I use now a 20 Mhz Osc.

    Thanks.

    Regard
    Pesti

Similar Threads

  1. Circuit Design Question
    By bradb in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th August 2009, 08:18
  2. Ideas on ir-code for dimmer
    By tirithen in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th February 2009, 23:22
  3. Short circuit portection circuit ?
    By iugmoh in forum Schematics
    Replies: 1
    Last Post: - 21st December 2008, 21:33
  4. Circuit reliability issues
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd November 2007, 14:55
  5. Replies: 3
    Last Post: - 29th October 2006, 09:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts