Simple 4 channel DMX controller


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    Very nice.

    One thing to be aware of is the DMX spec says there must be a minimum of 24 channels in a DMX message, so some cheaper devices might not be able to receive the dmx channels correctly.

    One option is to send out 20 '0's at the end of the HSEROUT statement.

    bill

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bcd View Post
    Very nice.
    bill
    So, if I understand your comment correctly, this simple implementation really works (aside from the 24 channel minimum that you mentioned) ?

    I don't know how DMX works, don't know the actual protocol, never used it, never had a need to use it (can't be too crazy hard as long as a guy reads the protocol documentation thoroughly).
    BUT, every once in awhile, about once or twice a year, usually before Christmas, a few new folks log on here, and make a big to-do out of this, that, and the other thing, and can't get a DMX controller to work.
    I guess I'm just wondering what the big deal was...after all, if code above works, well, jeeze, that's not so tough...

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    I guess I'm just wondering what the big deal was...
    This is the Transmit end of the DMX system.

    The "big deal" comes on the Receiving end.
    It's struggling to PWM some large number of channels at the same time it's receiving the DMX data at 250Kbaud.

    Seems to be a favorite "First Time" project.


    eggman,

    Short, sweet, and to the point.
    Very nice indeed.
    DT

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    This is the Transmit end of the DMX system.
    The "big deal" comes on the Receiving end.
    It's struggling to Dim some large number of channels at the same time it's receiving the DMX data at 250Kbaud.
    Seems to be a favorite "First Time" project.
    I suppose it would be a struggle, for the noob, trying to keep the RCREG from overflowing, while performing other tasks.
    At any rate, I'm bookmarking it. It may 'only' be the TX end, but reverse engineering some useful RX code doesn't look too difficult.

  5. #5
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Re: Simple 4 channel DMX controller

    This thread code looks goofed up any chances of including a txt file for the benefit of others.

    Thanks.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Simple 4 channel DMX controller

    Check it now.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Re: Simple 4 channel DMX controller

    Thanks DAVE.

Similar Threads

  1. DMX receive issue
    By NoahLD in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th August 2014, 13:51
  2. 4 Channel Thermostat using PID loops
    By malc-c in forum Code Examples
    Replies: 36
    Last Post: - 18th March 2013, 10:17
  3. 4 pin 4 x 4 keypad interface using pic basic pro
    By dunlao_john in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th January 2009, 05:21
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Simple 4 line LCD display with 18F4550
    By pic-ker in forum Code Examples
    Replies: 4
    Last Post: - 9th April 2007, 02:58

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