Conclusion

This technical brief describes one possible implementation of a DALI-2 frame handling based on Manchester encoding/decoding and offers network connectivity in DALI-2 systems. The Tx demo sends frames, containing a counter value for each button press, and the Rx demo displays three bits of the received counter value on three LEDs, and the Error flag on the fourth LED. The clock speed required for the transceiver to work goes down to 4 MHz, which is much less than the maximum 32 MHz supported by the PIC16F1779, thus reducing the power consumption.