Morning All
I am new to Arduino, so please be gentle
I have been playing with the FastLED library and have put some code together to do what I want with some WS2811 LED strings.
I have cut a DMX cable up and wired it to the MAX485 controller, then wired this to pin 0 for data and 5v for power on my Uno. MAX485 lights up.
To confirm MAX485 wiring -
RO (Data) to Pin0 on Uno
RE, DE, GRND to Ground on Uno
The next step is to be able to use DMX from something like Freestyler to control this pixel string. I have numerous existing DMX lights and fixtures already in use so am reasonably familiar with Freestyler and DMX wiring etc.
I have looked at various online guides about using DMX with Arduino, but most are very old.
I don't need to do anything complicated here, I simply want to allocate a DMX address to the Arduino and then kick off various routines based on the channel value. I am happy to set the address manually in code, i can soon change it if I configure a few of these.
For example, assign DMX address 400 to the Arduino, with 2 channels.
Channel 1 is master brightness. It simply changes the pixel brightness.
Channel 2 is the split into multiple ranges-
0-10 - Turns all LED off
11-20 - Runs sequence1
21-30 - Runs sequence2
31-40 - Runs sequence3
etc.
Because most of the guides seem out of date, could somebody kindly point me in the direction of a simple step by step guide on doing this?