I am using an Arduino Micro (ATmega32U4 processor) with a RS-485 breakout board connected to a DMX controllable light. I ran through the FadeUp example which worked perfectly (much better refresh rate than the DMX controller that I bought off the shelf!).
I then used the SerialToDmx example using the serial monitor in the Arduino IDE which again worked perfectly. I then went onto using the software that I created, which sends data over serial to the Arduino, but still using the SerialToDmx example; I just changed my code to send the data differently. I am sending the data at quite a high rate and found that it stopped working. I removed the line 'Serial.println();' which is line 42 in the example and this solved the issue.
Just wondering if anyone else has had any problems with sending and receiving data over the serial port? Is this a limitation of the Arduino or is sending serial data back every time it receives data stopping the DmxSimple from processing the data properly? (I set the baud rate to the maximum of 115200 to see if that would help but it didn't)
Thanks
UPDATE: turns out that I had an older version of DmxSimple installed, works perfectly with 3.1
I am using an Arduino Micro (ATmega32U4 processor) with a RS-485 breakout board connected to a DMX controllable light. I ran through the FadeUp example which worked perfectly (much better refresh rate than the DMX controller that I bought off the shelf!).
I then used the SerialToDmx example using the serial monitor in the Arduino IDE which again worked perfectly. I then went onto using the software that I created, which sends data over serial to the Arduino, but still using the SerialToDmx example; I just changed my code to send the data differently. I am sending the data at quite a high rate and found that it stopped working. I removed the line 'Serial.println();' which is line 42 in the example and this solved the issue.
Just wondering if anyone else has had any problems with sending and receiving data over the serial port? Is this a limitation of the Arduino or is sending serial data back every time it receives data stopping the DmxSimple from processing the data properly? (I set the baud rate to the maximum of 115200 to see if that would help but it didn't)
Thanks
UPDATE: turns out that I had an older version of DmxSimple installed, works perfectly with 3.1