E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM General Implementation Discussion

RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product.

Reply
 
Thread Tools Search this Thread Display Modes
Old October 14th, 2009   #1
lucbeullens
Junior Member
 
Join Date: Oct 2009
Posts: 1
Default Controlling PWM freq. using RDM

Hi,

I would like to control/select the PWM frequency of a led dimmer by using RDM. I have 4 possible frequencies that I want to configure/select.

I have used 4 DMX-personalities to select 1 ,2 ,3 or 4 channels.
I could extend that and have something like this:

1 channel /250Hz
1 channel /500Hz
1 channel /1KHz
1 channel /2KHz
2 channels /250Hz
2 channels /500Hz
....
4 channels /2KHz

But that just don't seem to be the proper way to use DMX personalities.
Additionally I want to add a current setting as well. (100mA, 350mA, 700mA, 1A).
This would give me a list of 64 personalities

Is there a better way to implement a frequency setting or a current setting?

Using a Device Configuration Parameter would be perfect except that there are only 4 parameter defined (pan invert/tilt invert ...)

Is there anyone that has done something like this or that can advice me on this one?

Regard
Luc Beullens
lucbeullens is offline   Reply With Quote
Old October 14th, 2009   #2
kingartjr
Junior Member
 
Join Date: Apr 2009
Location: Portland OR
Posts: 1
Default

you could use personalities and sub-devices. Your root device could set the personality with the number of channels. Then have a sub-device for each channel. The personality for the channel could set the frequency of that channel. You could just add PIDS to support these configurations as well.
kingartjr is offline   Reply With Quote
Old October 14th, 2009   #3
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 353
Default

kingartjr's suggestion is a good one.

Alternately, it's perfectly valid to have 64 personalities.
ericthegeek is offline   Reply With Quote
Old October 14th, 2009   #4
mike_k
Task Group Member
 
Join Date: May 2009
Location: Gothenburg
Posts: 40
Default

If you are planning to have the device "out of the box" supported by most controllers I would suggest having 64 personalities.
Having manufacturer specific PIDs often don't blend in very well in the controller UI thus making it less intuitive to the user how to change it.
__________________
Michael Karlsson
LumenRadio AB
mike_k is offline   Reply With Quote
Old October 16th, 2009   #5
dangeross
Junior Member
 
Join Date: Feb 2009
Posts: 13
Default

The only possible problem I see with using DMX personalities is that if in the future you add more channels, frequencies, or current settings you could easily find yourself exceeding the 8-bit limit for personalities. Unless you can get PWM_FREQ and CURRENT_LIM added to the Configuration 0x06xx PID category in the Standard manufacturer specific may be you safest bet for future product expansion.
dangeross is offline   Reply With Quote
Old October 16th, 2009   #6
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 353
Default

I'm a little uncomfortable setting the LED current via a personality. If the wrong current setting is used, it has the potential to damage the connected LEDs. Typically, something that can damage hardware isn't the kind of setting you want to expose via a personality; It's too easy for the user to set (or mis-set).

Can you tell us a bit more about the product? Typically the max current for an LED is pre-set at the factory based on the specific LED emitters being used. If it is a factory only setting, that's a perfect application for a manufacturer specific PID.
ericthegeek is offline   Reply With Quote
Old October 19th, 2009   #7
prwatE120
Task Group Member
 
Join Date: Jun 2006
Posts: 179
Default

I am also of the view that using the DMX_PERSONALITY for this type of operational distinction is the wrong approach. Until such time as the additional dimmer related commands are released, I would recommend the use of Manufacturer specific commands fro the functions you require. I do not think there will be many "generic" LED dimmers/controllers that provide the extent of flexibility yiou have described - and this is another reason to make use of a Manufacturer Specific PID.

Peter Willis
prwatE120 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.