I am building a set of DMX addressable units using arduinos and the common DMX/RDM sheild. Instead of using DIP switches to set the address I wanted to use RDM.
We have a test rig working with OLA recieving data from 2 arduinos loaded with Matthias Hertel's DMXSerial2 example code.
Its working perfectly, we have all four channels working and RDM protocol is being sent and can be changed in OLA.
So far so good.
Now I wish to add code for sending analog and digital sensors back to OLA. I would like to add fan speed and temperature sensors to start.
I also would like to change the PID's like E120_LAMP_HOURS to something more relevent (we are not using a lamp, we have DC motors and servos.
I noticed the firmware for the PIC32 based Number1 unit is sensor capable and wondered if someone on the forum could help with adding similar code to the DMXSerial2 example.
From what I can gather from the DMXSerial2 library, the library has a structure to send the sensor data im just not sure how to work it into the loop.
Any help would be appreciated.