Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: 128 Channel PIC Dimmer System

  1. #1
    Join Date
    May 2007
    Location
    Tulsa, Ok
    Posts
    428
    Post Thanks / Like

    Default 128 Channel PIC Dimmer System

    This system is a PWM type of system so it will work with incandesant or LEDs.

    The baud rate is 115,200 bps and the I/C is running at 40 MHz.

    The system consists of:
    12 VAC wall wart transformer
    One (1) PC Interface
    Four (4) 32 Channel Field Modules
    Thirty Two (32) 4 Channel SSR's

    All 128 channels of data is sent to all four modules. The field modules identify their respective module numbers with hardware jumpers and only accepts the data it needs.

    The plugin allows you to run 1, 2, 3, or 4 modules. 32 consecutive channels are sent to a module. The user selects the starting channel of the 32 channels.

    The PC interface connects to a 9 pin RS-232 serial port on the PC. The RS-232 data is converted to RS-485 and sent to the field modules. Since the data is transmitted via RS-485, the distance of the cable between the PC Interface and the field module(s) can be a several hundred feet. I have not tested that yet, I'm working on testing ~ 150 feet.

    Below is a diagram of the architecture.


    Below is a picture of the PC interface.


    Below is a picture of the 32 Channel Field Module.


    The connections for the SSR's are right for Sean's SSR's.

    The system is capable of bi-directional communication.

    For those that are interested:


    Here is the bill of materials

    Here is the field module ExpressPCB file

    Here is the PC Interface ExpressPCB file

    Here is the .ASM file (for sourcing controllers, +5VDC turn on triac)

    Here is the .HEX file (for sourcing controllers, +5VDC turn on triac)

    Here is the Vixen plugin file (place the file in the Vixen plugins directory)

    Note: Be sure to get the latest version of ExpressPCB at www.ExpressPCB.com

    Edit: July 10, 2007 Added FGDIMMER_50Hz.HEX file
    Edit: August 13, 2007
    Added FG_SINK_50HZ.ZIP (ASM & HEX file)
    Added FG_SINK_60HZ.ZIP (ASM & HEX file)
    Attached Files Attached Files
    Last edited by FireGod; 02-20-2009 at 11:39 PM.

  2. #2
    Join Date
    May 2007
    Location
    Mountain House California
    Posts
    216
    Post Thanks / Like

    Default

    If I have not said it before, great work. This is a really great looking system, and a great concept. If I was not already commited to the 64 channel Renard design, I would probably go this route. But on the other hand, I prefere all my control boards to be in a centralized location. Less water proof enclosures.

    This is a great design, and I hope it makes it's way into a few displays this year.

    Keep up the great work and development.
    David Scott

    If it aint broke, I got a bigger hammer.

  3. #3
    Join Date
    May 2007
    Location
    Janesville, WI
    Posts
    101
    Post Thanks / Like

    Default

    So i assume with the information from the old forum that this requires 11vac or 240 (or whatever it is in oz)vac? If not, what voltage does it use?
    My sig is better than yours!

  4. #4
    Join Date
    May 2007
    Location
    Tulsa, Ok
    Posts
    428
    Post Thanks / Like

    Default

    Quote Originally Posted by Zane
    So i assume with the information from the old forum that this requires 11vac or 240 (or whatever it is in oz)vac? If not, what voltage does it use?
    It uses a Mouser P/N 412-212104 wall transformer (found on the Bill of Materials referenced in the first post above). It is a 120VAC to 12VAC 1000mA transformer. The PC interface uses the 12VAC for the zero crossing signal and also rectifies it and regulats it down to 5VDC for the electronics.

    The Bill of Material includes EVERYTHING you need except the boards, SSRs, and CAT5 cables.

  5. #5
    Join Date
    May 2007
    Location
    Tulsa, Ok
    Posts
    428
    Post Thanks / Like

    Default

    Revised the picture of the PC interface to show the 2200UF capacitor and the deletion of the adjustable voltage regulator.

    David Scott Caffey

  6. #6
    Join Date
    May 2007
    Posts
    5,338
    Post Thanks / Like

    Default

    David,

    Is there a document somewhere that shows what the serial protocol is? You described it at one time, but I'm having trouble finding it over the jumble at picdimmer.

    --

    Phil

  7. #7
    Join Date
    May 2007
    Location
    Tulsa, Ok
    Posts
    428
    Post Thanks / Like

    Default

    Quote Originally Posted by P. Short
    David,

    Is there a document somewhere that shows what the serial protocol is? You described it at one time, but I'm having trouble finding it over the jumble at picdimmer.

    --

    Phil
    34bytes per module:
    sync char 85 dec (55h)
    module number (1, 2, 3,or 4)
    32bytes of data (100 dec (64h)= 0% and 200 dec (C8h)= 100%)

  8. #8
    Join Date
    May 2007
    Posts
    5,338
    Post Thanks / Like

    Default

    Thanks. Switching to that protocol would make it much easier to dim the 64-channel 595 board (except for that fact that it seems to be 101 levels, rather than 100 levels).

    --

    Phil

  9. #9
    Join Date
    May 2007
    Location
    Tulsa, Ok
    Posts
    428
    Post Thanks / Like

    Default

    Is zero a level of dimming since there is no dimming? 220, 221 whatever it takes.

  10. #10
    Join Date
    Jul 2007
    Posts
    3
    Post Thanks / Like

    Default Is a schematic available??

    Looks like you've done an excellent job!! Is there a schematic of the two boards that might be available?? (The PCB's and layouts are listed - but no schematic).

    Thanks in advance!

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

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