ErnieHorning wrote:RS485, yes. RS232, not so easy. The capacitance of the wiring plays a big part in whether the pulses get through.
Yeah, I agree, it has to be RS-485. That's why the USB to serial dongles only go to 230Kbit. Just need a cheap way to have many of the Renard outputs. I am doing a FPGA card with Ethernet to 32 outputs (RS-485), and they could all be Renard. Would it be beneficial to support the higher baud rates? And if so which ones?
I have both RS232 and RS485 dongles that go up to or above 1 Meg. It depends of the chip and the driver. The standard windows driver tops out at 230K.
I’ve done loopback tests at up to 921K and it works on the bench with no errors. I haven’t tried it with a cable yet though, I’m assuming CAT5 is a must.
ErnieHorning wrote:The standard windows driver tops out at 230K.
Is this why a dongle is typically used for DMX at 250k baud?
don
ErnieHorning wrote:I have both RS232 and RS485 dongles that go up to or above 1 Meg. It depends of the chip and the driver. The standard windows driver tops out at 230K.I’ve done loopback tests at up to 921K and it works on the bench with no errors. I haven’t tried it with a cable yet though, I’m assuming CAT5 is a must.
I used CAT5 cable lengths to 200 feet with RS-485 at about 800 KHz and it worked fine. The spec says you can make 900 feet.
djulien wrote:Is this why a dongle is typically used for DMX at 250k baud?don
Yes, that could be a factor; also, even if you meet average throughput for 250 Kbaud (25,000 bytes/sec since it uses 10 bits for each data byte), a big OS may have unacceptable pauses in the output stream (while other tasks get the processor or shared resources). If you use a DMX pro style dongle, it all gets buffered in the dongle, then sent out on RS 485 with precise timing.
Nevertheless, the OpenDMX style dongle often works well enough, depending on the OS and load and the devices being driven (ie: without the kind of full packet buffering described above).
Zeph wrote:Yes, that could be a factor; also, even if you meet average throughput for 250 Kbaud (25,000 bytes/sec since it uses 10 bits for each data byte), a big OS may have unacceptable pauses in the output stream (while other tasks get the processor or shared resources). If you use a DMX pro style dongle, it all gets buffered in the dongle, then sent out on RS 485 with precise timing.Nevertheless, the OpenDMX style dongle often works well enough, depending on the OS and load and the devices being driven (ie: without the kind of full packet buffering described above).
thanks for clarifying.
don
Oshpark says that they have shipped the new pixel controllers to me, so they should arrive in a day or two.
I've received the board, built it up, and programmed the PIC. It's working with the WS2811 that I have. The bad news is that I have the Tx and Rx pins reversed on the PIC, so I had to make some cuts and add some jumpers on the back side of the existing board. So, another rev of the board and another three weeks, or so of time. Darn.
Double darn!!!
Sent from my SCH-I500 using Tapatalk 2
It's not really a prototype if it works the first time. 🙂
