I have built a hardware interface utilising an Arduino Due based processor (Atmel ATSAM3X8E) however need some assistance with the actual software interfacing.
Do see the attached project scope for all information - including the very well documented Clipsal C-Bus protocol. You'll need to review the embedded PDF files in the DOCX file to help in your bid. I don't believe the required code to be terribly complex - only a good understanding of checksum calculation and serial communication is required. If you have DMX experience then this should make the task even easier, hopefully!
The required scope of works for this project include:
Clipsal C-Bus interface via a Serial UART connection
o Setting levels of C-Bus Groups via Arduino IDE functions:
o Responding to received group level requests (see DMX Universes)
o Checksum calculations
For sending data: calculate the required checksum to append to the data string
For received data: calculate the checksum of received data to validate its integrity
o Acknowledgement evaluation of C-Bus messages
2x DMX Universes
o Mapping of DMX Slot-Addresses to Clipsal C-Bus group addresses
o Lighting levels of between 0-255 (fully OFF to fully ON) required (ie: dimming)
o DMX & C-Bus both support an 8-bit, 0-255 level
o Must be as real-time as possible (fast):
EG: As soon as a lighting group message is received on the C-Bus UART port, such as setting a light to 55%, it must be sent out to the DMX universe.
A fast response to messages will aid in dimming: EG: when a light is dimmed from 100% to 0% over 4 seconds the C-Bus UART port will receive potentially dozens of messages over 4 seconds – each message with an incrementally lower lighting level. (100%, 98%, 95%, etc etc).
Temperature & humidity thermistor readings
o Read the thermistors every 5 seconds
o Send the temperature & humidity level to the C-Bus network every 30 seconds, and immediately if the difference varies by more than 1degree (temperature) or 1% (humidity)
Send clock time & date to C-Bus Network - Arduino IDE function
o A function so I can send the time & date to the C-Bus network.
o This function will be used to set the time from a GPS acquired time (out of scope)
5 freelancer đang chào giá trung bình $132 cho công việc này
hello, dear sir, we are happy to find your project would like to be completed by our team, our group has some specialists In the field of Arduino and C++ development, please offer us a chance to help you, thanks.