I have an arduino nano with WS2812B. Having an issue where everything works fine in testing, but then after a couple mins in iracing the lights shut off and simhub shows the nano as disconnected. I think i finally narrowed it down to the issue. I have speed from 5 to 150 mph on two of the segments. You can't test speed in the test, just rpm, flags, etc. If i have the speed going it causes the issue. If i turn the speed effect off it never disconnects. Does anyone know how to fix this issue? Is it a bug in simhub or something else?
Edit: It is a strand of 141 lights connected in three sections, section 1 47 leds, section 2 46 leds, section 3 48 leds. first section is flags, speed, flags. Section 2 is pit limiter, rpm, pit limiter, then section three is flag, speed, flag.
Hi !
At first sight I would think about a powering issues, what power source are you using ? In order to test that theory could you try to set the brightness to a very minimal value (2 or 3%) ?
It is off of a usb 3.0 powered hub that is under my simulator. Will try lowering brightness as next test.
@jastool Ah if you use only the usb power you will probably reach easily the limits, usb3 may give you some additional room (assuming it accepts to deliver than the 500mA of the USB2 norm). But 140+ leds is a lot, you should consider adding an external power supply : https://github.com/SHWotever/SimHub/wiki/Arduino--Setup#powering-considerations
Nicolas
Thank you. Power seems to be it. If I lower brightness it doesn't crash. Will adjust my settings or add external power. Thank you for helping me figure out the root cause.