--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
Is it that linux cannot handle the timing requirements of RDM?
Hi Ankur,
Op 9 apr. 2019, om 18:00 heeft Peter Newman <peterj...@gmail.com> het volgende geschreven:Sorry Arjun, that's simply not true!
Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:
It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.
On Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan
Hi Peter,
For native UART it is true. There are no working Linux drivers. The issue is timing. I have not seen otherwise.Op 9 apr. 2019, om 18:00 heeft Peter Newman <peterjnewman> het volgende geschreven:Sorry Arjun, that's simply not true!
There is a note : "The support is not 100% according to the standard .. “. That is telling me that it is not working in Linux. Unless we accept that we do not apply to the standards.Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:
I can help you with a good (inexpensive) RDM Responder -> open source and it successfully do the OLA RDM test.It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.
- Arjan
On Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
Op 9 apr. 2019, om 19:20 heeft Peter Newman <peterj...@gmail.com> het volgende geschreven:
On Tuesday, 9 April 2019 17:10:43 UTC+1, Arjan van Vught wrote:Hi Peter,For native UART it is true. There are no working Linux drivers. The issue is timing. I have not seen otherwise.Op 9 apr. 2019, om 18:00 heeft Peter Newman <peterjnewman> het volgende geschreven:Sorry Arjun, that's simply not true!Can you be more specific? I think detecting the break is likely to be the only potentially challenging part (I don't know if the Linux driver handles this), the rest is just reading and writing bytes and passing them up the OLA stack. Why do you think the onboard UART shouldn't be able to do it when a USB connected FTDI can?
There is a note : "The support is not 100% according to the standard .. “. That is telling me that it is not working in Linux. Unless we accept that we do not apply to the standards.Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:It just means he's not implemented it yet. At least he's honest enough to admit it, compared to some commercial controllers which seemingly don't even check the CRC:Or the hundreds of DMX fixtures which don't check the start code and therefore break with RDM.Indeed looking at the code, I think that comment is out of date for the current codebase:https://github.com/OpenLightingProject/ola/pull/1541/files#diff-e64ff017b2e7e17c99aede23745e3785R364I can help you with a good (inexpensive) RDM Responder -> open source and it successfully do the OLA RDM test.It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.Doing the OLA RDM tests doesn't imply compliance with the standard ( https://www.openlighting.org/rdm-tools/rdm-responder-tests/faq/#Is_this_a_E120_Compliance_Test ). The linked PR above allows a successful test run against a fixture (or to be more accurate correctly detected some failures in a buggy fixture).
From a quick look at your code I can't immediately see back-offs for slow responders.
- ArjanOn Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
Sorry Arjun, that's simply not true!Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:
What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.
On Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan
--
Hi Peter,
I’ve been told by Linux developers that it is almost, or mostly impossible to have RDM support in the Linux. Basically due to timing issues.Op 9 apr. 2019, om 19:20 heeft Peter Newman <peterjnewman> het volgende geschreven:
On Tuesday, 9 April 2019 17:10:43 UTC+1, Arjan van Vught wrote:Hi Peter,For native UART it is true. There are no working Linux drivers. The issue is timing. I have not seen otherwise.Op 9 apr. 2019, om 18:00 heeft Peter Newman <peterjnewman> het volgende geschreven:Sorry Arjun, that's simply not true!Can you be more specific? I think detecting the break is likely to be the only potentially challenging part (I don't know if the Linux driver handles this), the rest is just reading and writing bytes and passing them up the OLA stack. Why do you think the onboard UART shouldn't be able to do it when a USB connected FTDI can?
I also reference to https://lightning-dmxcontrol.com/faq#4 This is DMX, but I am convinced that it will also apply for RDM as well.There is a note : "The support is not 100% according to the standard .. “. That is telling me that it is not working in Linux. Unless we accept that we do not apply to the standards.Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:It just means he's not implemented it yet. At least he's honest enough to admit it, compared to some commercial controllers which seemingly don't even check the CRC:Or the hundreds of DMX fixtures which don't check the start code and therefore break with RDM.Indeed looking at the code, I think that comment is out of date for the current codebase:https://github.com/OpenLightingProject/ola/pull/1541/files#diff-e64ff017b2e7e17c99aede23745e3785R364I can help you with a good (inexpensive) RDM Responder -> open source and it successfully do the OLA RDM test.It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.Doing the OLA RDM tests doesn't imply compliance with the standard ( https://www.openlighting.org/rdm-tools/rdm-responder-tests/faq/#Is_this_a_E120_Compliance_Test ). The linked PR above allows a successful test run against a fixture (or to be more accurate correctly detected some failures in a buggy fixture).
Not sure if I understand this remark. Your advice is a having good RDM Responder when developing and debugging the possible native UART RDM plug-in. My responders are implemented according to the E1.20 timing standard. Hence I am suggesting to use such inexpensive RDM Responder (which will also pass the RDM Responder test).From a quick look at your code I can't immediately see back-offs for slow responders.
On Wed, Apr 10, 2019 at 2:00 AM Peter Newman <peterjnewman> wrote:Sorry Arjun, that's simply not true!Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:Thank you Peter. I appreciate your advise.What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.True, I managed to have logic analyser, enttec sniffer and RDM Responder. Looks of it I have all tools and pointer to start with. Will keep you posted.
Again Thank you Peter and Ola team.Regards,Ankur
On Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:--Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
On Tuesday, 9 April 2019 18:37:43 UTC+1, Arjan van Vught wrote:Hi Peter,I’ve been told by Linux developers that it is almost, or mostly impossible to have RDM support in the Linux. Basically due to timing issues.Op 9 apr. 2019, om 19:20 heeft Peter Newman <peterjnewman> het volgende geschreven:
On Tuesday, 9 April 2019 17:10:43 UTC+1, Arjan van Vught wrote:Hi Peter,For native UART it is true. There are no working Linux drivers. The issue is timing. I have not seen otherwise.Op 9 apr. 2019, om 18:00 heeft Peter Newman <peterjnewman> het volgende geschreven:Sorry Arjun, that's simply not true!Can you be more specific? I think detecting the break is likely to be the only potentially challenging part (I don't know if the Linux driver handles this), the rest is just reading and writing bytes and passing them up the OLA stack. Why do you think the onboard UART shouldn't be able to do it when a USB connected FTDI can?Well Keeper of the Keys appears to be doing a very good job of proving that wrong.
I also reference to https://lightning-dmxcontrol.com/faq#4 This is DMX, but I am convinced that it will also apply for RDM as well.There is a note : "The support is not 100% according to the standard .. “. That is telling me that it is not working in Linux. Unless we accept that we do not apply to the standards.Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:It just means he's not implemented it yet. At least he's honest enough to admit it, compared to some commercial controllers which seemingly don't even check the CRC:Or the hundreds of DMX fixtures which don't check the start code and therefore break with RDM.Indeed looking at the code, I think that comment is out of date for the current codebase:https://github.com/OpenLightingProject/ola/pull/1541/files#diff-e64ff017b2e7e17c99aede23745e3785R364I can help you with a good (inexpensive) RDM Responder -> open source and it successfully do the OLA RDM test.It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.Doing the OLA RDM tests doesn't imply compliance with the standard ( https://www.openlighting.org/rdm-tools/rdm-responder-tests/faq/#Is_this_a_E120_Compliance_Test ). The linked PR above allows a successful test run against a fixture (or to be more accurate correctly detected some failures in a buggy fixture).Indeed, OLA has a similar comment in it's FAQ:The linked comment says:"The open usb dmx just puts through the data it receives via usb. As your computer is doing multiple things at once, it can slightly delay the bytes that are sent through the usb port. If this is halfway an array of dmx channels, it can cause the dmx-packet to be corrupted, which results in a wrongly interpreted dmx-array by the receiving devices. This appears as flickering."I'm not sure this is technically true, I think a well written responder/DMX fixture ought to see the partial frame, and then timeout on the gap caused by the PCs delay and discard the rest of the packet. I don't think it should interpret it as a break and therefore offset frame data, although I imagine most people using an Open USB DMX are probably controlling fixtures at the cheaper end of the market.
--Not sure if I understand this remark. Your advice is a having good RDM Responder when developing and debugging the possible native UART RDM plug-in. My responders are implemented according to the E1.20 timing standard. Hence I am suggesting to use such inexpensive RDM Responder (which will also pass the RDM Responder test).From a quick look at your code I can't immediately see back-offs for slow responders.Apologies, I assumed you were talking about your controller code and had been looking at that, rather than your responder code as a responder to test against.My point still stands though, there are also Arduino ( https://github.com/mathertel/DmxSerial2 ) and Teensy ( https://github.com/chrisstaite/TeensyDmx/ ) based responder code too which I've worked on and tested against the OLA RDM responder tests. I still wouldn't recommend using them to develop and test code unless you've also got access to a different RDM controller to test your implementation first. It's all to easy to get a pin misconnected or similar and unless you've tested it you may be none the wiser.- Arjan- ArjanOn Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
Op 11 apr. 2019, om 23:51 heeft Peter Newman <peterj...@gmail.com> het volgende geschreven:Not sure if I understand this remark. Your advice is a having good RDM Responder when developing and debugging the possible native UART RDM plug-in. My responders are implemented according to the E1.20 timing standard. Hence I am suggesting to use such inexpensive RDM Responder (which will also pass the RDM Responder test).From a quick look at your code I can't immediately see back-offs for slow responders.Apologies, I assumed you were talking about your controller code and had been looking at that, rather than your responder code as a responder to test against.My point still stands though, there are also Arduino ( https://github.com/mathertel/DmxSerial2 ) and Teensy ( https://github.com/chrisstaite/TeensyDmx/ ) based responder code too which I've worked on and tested against the OLA RDM responder tests. I still wouldn't recommend using them to develop and test code unless you've also got access to a different RDM controller to test your implementation first. It's all to easy to get a pin misconnected or similar and unless you've tested it you may be none the wiser.
- Arjan- ArjanOn Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
Op 11 apr. 2019 om 23:51 heeft Peter Newman <peterjnewman> het volgende geschreven:
On Tuesday, 9 April 2019 18:37:43 UTC+1, Arjan van Vught wrote:Hi Peter,I’ve been told by Linux developers that it is almost, or mostly impossible to have RDM support in the Linux. Basically due to timing issues.Op 9 apr. 2019, om 19:20 heeft Peter Newman <peterjnewman> het volgende geschreven:
On Tuesday, 9 April 2019 17:10:43 UTC+1, Arjan van Vught wrote:Hi Peter,For native UART it is true. There are no working Linux drivers. The issue is timing. I have not seen otherwise.Op 9 apr. 2019, om 18:00 heeft Peter Newman <peterjnewman> het volgende geschreven:Sorry Arjun, that's simply not true!Can you be more specific? I think detecting the break is likely to be the only potentially challenging part (I don't know if the Linux driver handles this), the rest is just reading and writing bytes and passing them up the OLA stack. Why do you think the onboard UART shouldn't be able to do it when a USB connected FTDI can?Well Keeper of the Keys appears to be doing a very good job of proving that wrong.Keeper of the Keys are using FTDI and not the native UART.
I also reference to https://lightning-dmxcontrol.com/faq#4 This is DMX, but I am convinced that it will also apply for RDM as well.There is a note : "The support is not 100% according to the standard .. “. That is telling me that it is not working in Linux. Unless we accept that we do not apply to the standards.Keeper of the Keys has working code which does RDM over an FTDI on Linux, I see no reason that shouldn't work on the native UART either. Ankur, this would also be the best code/plugin to base it off of. He's still doing a little bit of fine tuning based on my reviews, but it works:It just means he's not implemented it yet. At least he's honest enough to admit it, compared to some commercial controllers which seemingly don't even check the CRC:Or the hundreds of DMX fixtures which don't check the start code and therefore break with RDM.Indeed looking at the code, I think that comment is out of date for the current codebase:https://github.com/OpenLightingProject/ola/pull/1541/files#diff-e64ff017b2e7e17c99aede23745e3785R364I can help you with a good (inexpensive) RDM Responder -> open source and it successfully do the OLA RDM test.It may not even be too hard (famous last words), given the interface code is pretty similar apart from how the raw data is actually written.Likewise others had done it previously on Windows with an FTDI:What I would say if you're planning to implement this on the UART is you need a known good RDM responder and ideally a scope or logic analyser, so you don't have too many variables when you're first testing.Doing the OLA RDM tests doesn't imply compliance with the standard ( https://www.openlighting.org/rdm-tools/rdm-responder-tests/faq/#Is_this_a_E120_Compliance_Test ). The linked PR above allows a successful test run against a fixture (or to be more accurate correctly detected some failures in a buggy fixture).Indeed, OLA has a similar comment in it's FAQ:The linked comment says:"The open usb dmx just puts through the data it receives via usb. As your computer is doing multiple things at once, it can slightly delay the bytes that are sent through the usb port. If this is halfway an array of dmx channels, it can cause the dmx-packet to be corrupted, which results in a wrongly interpreted dmx-array by the receiving devices. This appears as flickering."I'm not sure this is technically true, I think a well written responder/DMX fixture ought to see the partial frame, and then timeout on the gap caused by the PCs delay and discard the rest of the packet. I don't think it should interpret it as a break and therefore offset frame data, although I imagine most people using an Open USB DMX are probably controlling fixtures at the cheaper end of the market.And the Open USB DMX are not opto-isolated as well. It really depends on the requirements you have set when using such a solution.
Instead of using USB, why not using Art-Net 4 moving forward ?
Maybe I should start a new thread for; What is the acceptance for Art-Net 4? It can do RDM and then the more network friendly sACN E1.31 DMX.
Op 11 apr. 2019, om 23:51 heeft Peter Newman <peterjnewman> het volgende geschreven:Not sure if I understand this remark. Your advice is a having good RDM Responder when developing and debugging the possible native UART RDM plug-in. My responders are implemented according to the E1.20 timing standard. Hence I am suggesting to use such inexpensive RDM Responder (which will also pass the RDM Responder test).From a quick look at your code I can't immediately see back-offs for slow responders.Apologies, I assumed you were talking about your controller code and had been looking at that, rather than your responder code as a responder to test against.My point still stands though, there are also Arduino ( https://github.com/mathertel/DmxSerial2 ) and Teensy ( https://github.com/chrisstaite/TeensyDmx/ ) based responder code too which I've worked on and tested against the OLA RDM responder tests. I still wouldn't recommend using them to develop and test code unless you've also got access to a different RDM controller to test your implementation first. It's all to easy to get a pin misconnected or similar and unless you've tested it you may be none the wiser.I am not sure if I do understand the pin misconnected remark; What has pin’s to do with software? Basically you can do a very initial simple test with a ’null-modem’ cable between the RDM Controller and the RDM Responder. Of course with the assumption that they both running at the same voltage (3V3 vs 5V). In such a controlled development environment, there is also no need to have opto-isolation.
In all fairness, the DmxSererial2 code is not comparable with https://github.com/vanvught/rpidmx512 . Just compare the supported PIDs -> http://www.orangepi-dmx.org/orange-pi-dmx512-rdm/rdm/rdm-supported-pids , and the built-in supported sensors -> http://www.orangepi-dmx.org/orange-pi-dmx512-rdm/rdm/built-in-supported-sensors
You can use, for example a 10$ Raspberry Pi Zero for initial start of development. My point; no need to invest in an expensive RDM Responder for an initial code development.
- Arjan- Arjan- Arjan
On Tuesday, 9 April 2019 13:59:00 UTC+1, Arjan van Vught wrote:Hi Ankur,
Op 9 apr. 2019 om 14:46 heeft Ankur Patel <bkankur> het volgende geschreven:Yes, that is the case.Is it that linux cannot handle the timing requirements of RDM?- Arjan--
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
Op 12 apr. 2019, om 18:11 heeft Peter Newman <peterj...@gmail.com> het volgende geschreven:
You can use, for example a 10$ Raspberry Pi Zero for initial start of development. My point; no need to invest in an expensive RDM Responder for an initial code development.An Arduino will likely still be cheaper than a Pi Zero if cost is your main driver.
I'd agree you don't need to buy an expensive RDM responder (although it depends what you mean by expensive, there are plenty of sub £75 LED drivers with RDM support available now, you probably want a scope or logic analyser too, in which case that cost may well be cheap).
I'd still strongly recommend (and this is based on experience assisting numerous other people asking for help over the years) to people if they're going down this route to ensure they've got one part that's tested and known working, so if they're going to DIY the controller AND the responder, then borrow someone else's controller first to prove your responder works. If they really can't do that, then at least build known working controller and responder circuits first (e.g. Arduino), or prove the DMX out bit works or something, before attempting to write a whole new controller stack on e.g. the native UART or SPI or whatever.
Wiith a Raspberry Pi Zero for $10, you have also the SDCard for easy upgrading of the firmware. And easy setting the RDM Responder configuration by means of .txt files.Op 12 apr. 2019, om 18:11 heeft Peter Newman <peterjnewman> het volgende geschreven:
You can use, for example a 10$ Raspberry Pi Zero for initial start of development. My point; no need to invest in an expensive RDM Responder for an initial code development.An Arduino will likely still be cheaper than a Pi Zero if cost is your main driver.Also there it HDMI, which gives you a fast debug output if needed. It is just a more easier platform to work it.
Note that I am slowly moving away from the Raspberry Pi boards. The next supported board is the Orange Pi Zero. Major advantage is its availability and the onboard SPI flash; the board boots from SPI flash and all configuration items can be stored in SPI flash.I'd agree you don't need to buy an expensive RDM responder (although it depends what you mean by expensive, there are plenty of sub £75 LED drivers with RDM support available now, you probably want a scope or logic analyser too, in which case that cost may well be cheap).I have such a cheap RDM dimmer. And in cheap, it won’t passes the OLA RDM test. Such a device, is in my opinion, not good to work with when developing a RDM Controller.
There is no DIY RDM Responder in this case. The variable here is the RDM Controller. So it is a reliable development environment.I'd still strongly recommend (and this is based on experience assisting numerous other people asking for help over the years) to people if they're going down this route to ensure they've got one part that's tested and known working, so if they're going to DIY the controller AND the responder, then borrow someone else's controller first to prove your responder works. If they really can't do that, then at least build known working controller and responder circuits first (e.g. Arduino), or prove the DMX out bit works or something, before attempting to write a whole new controller stack on e.g. the native UART or SPI or whatever.
- Arjan
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
Hello Peter,Many thanks for your pointers, got basic RDM working using native Uart. I can able to discover around 40 fixtures and are responding to DMX as well. Also I can set RDM Get/Set on all of them with no issues.At present, I am tuning it up to have smooth RDM when DMX is running on background. For now when I initiate RDM, looks like it stops DMX til it receives response from fixture. I will also upload it somewhere so that you or anyone can do code review on it.Again thanks all.Regards,Ankur.
On Mon, Apr 15, 2019 at 7:46 AM Peter Newman <peterjnewman> wrote:
--
On Friday, 12 April 2019 18:09:11 UTC+1, Arjan van Vught wrote:Wiith a Raspberry Pi Zero for $10, you have also the SDCard for easy upgrading of the firmware. And easy setting the RDM Responder configuration by means of .txt files.Op 12 apr. 2019, om 18:11 heeft Peter Newman <peterjnewman> het volgende geschreven:
You can use, for example a 10$ Raspberry Pi Zero for initial start of development. My point; no need to invest in an expensive RDM Responder for an initial code development.An Arduino will likely still be cheaper than a Pi Zero if cost is your main driver.Also there it HDMI, which gives you a fast debug output if needed. It is just a more easier platform to work it.That sounds like the SD card is another expense, but it depends what you've got available. If the HDMI output can display packet captures, that could actually be very useful when doing initial development.Note that I am slowly moving away from the Raspberry Pi boards. The next supported board is the Orange Pi Zero. Major advantage is its availability and the onboard SPI flash; the board boots from SPI flash and all configuration items can be stored in SPI flash.I'd agree you don't need to buy an expensive RDM responder (although it depends what you mean by expensive, there are plenty of sub £75 LED drivers with RDM support available now, you probably want a scope or logic analyser too, in which case that cost may well be cheap).I have such a cheap RDM dimmer. And in cheap, it won’t passes the OLA RDM test. Such a device, is in my opinion, not good to work with when developing a RDM Controller.Does it respond correctly to discovery, GET DEVICE_INFO and GET/SET DMX_START_ADDRESS (for example), if so then it's completely sufficient for developing an OLA based RDM controller.There is no DIY RDM Responder in this case. The variable here is the RDM Controller. So it is a reliable development environment.I'd still strongly recommend (and this is based on experience assisting numerous other people asking for help over the years) to people if they're going down this route to ensure they've got one part that's tested and known working, so if they're going to DIY the controller AND the responder, then borrow someone else's controller first to prove your responder works. If they really can't do that, then at least build known working controller and responder circuits first (e.g. Arduino), or prove the DMX out bit works or something, before attempting to write a whole new controller stack on e.g. the native UART or SPI or whatever.Unless you're sending out assembled (and tested) units, then there is a DIY responder! When was the last time you heard of a commercial unit arriving broken? At a minimum with an Arduino or Pi based solution, you're going to have the microcontroller (or SBC) and a shield/hat which need plugging together and some code loading. I'll admit with a Pi and a Hat, and having checked the HDMI output to prove it's booted, there's probably not much can go wrong with it at that stage (assuming the Hat has a fitted XLR), but equally at the expense of all that you've probably paid for a cheap commercial unit. If you start DIYing parts of the system (e.g. on breadboard), or moving to processors with less feedback (although Arduino's serial console could probably still show enough to give me a good level of faith), then with each change you reduce the reliability of your development environment and hence increase the risk it's the responder at fault rather than your work in progress code. A commercial RDM responder (or controller), rules all of that out instantly, as you can confirm 100% the other end of the chain works in at least some scenario (and then test kit allows you to play spot the difference if it doesn't work as intended with your new RDM controller).- Arjan
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lighting+unsubscribe@googlegroups.com
To unsubscribe from this group, send email to open-l...@googlegroups.com
--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en
---
You received this message because you are subscribed to the Google Groups "open-lighting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-lightin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-lighting/cbdab76a-bcc7-464f-adc1-e0af6d658499n%40googlegroups.com.
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/open-lighting/b128b787-4fa0-4cb9-b927-ad22bfe8ed9a%40cubic.org.
01.07.2022 05:17:44 Rowan Maclachlan <dmx...@gmail.com>:
To view this discussion on the web visit https://groups.google.com/d/msgid/open-lighting/CACkA%2BzcFxDq_CgBa-tOXKi5FORzPH-TVjvo4wJpQQAUecHRqzg%40mail.gmail.com.
01.07.2022 05:17:44 Rowan Maclachlan <dmx...@gmail.com>:
Hi Michael,
To view this discussion on the web visit https://groups.google.com/d/msgid/open-lighting/CACkA%2BzcFxDq_CgBa-tOXKi5FORzPH-TVjvo4wJpQQAUecHRqzg%40mail.gmail.com.