Hey. I am new to DALI control and recently started designing a DALI controller using stm32 microcontroller. I have few questions regarding to designing a controller unit for DALI.
1. I have have a 22V battery which I step down to 18V which i will be using to power DALI . From what I have read about DALI power supply, it must be limited to 250mA. The only relevant circuit I have managed to find was this one:
It makes very little sense to me and I cannot seem to understand how this circuit can limit the current to 250mA. I have made an attempt to simulate the circuit using multisim live simulator

I have added a resistor at the output to monitor the votlage and the current. Could someone advice me how to properly size the resistors ? Also, I do not understand why would we require to use 2 diodes in series with each other? that seems redundant to me.
2. From what I understood about dali controllers, I require 2 data lines (DALI1 and DALI2) to controll the DALI device. From most schematics I have come across, DALI1 and DALI2 are used as an inputs through a diode bridge so that confuses me as I thought DALI1 and DALI2 are supposed to be an output not an input. I am adding few example schematics below:
How do I properly design a controller for a DALI device as I think i am getting more confused by looking at these schematics. Thanks in advance
1. I have have a 22V battery which I step down to 18V which i will be using to power DALI . From what I have read about DALI power supply, it must be limited to 250mA. The only relevant circuit I have managed to find was this one:
It makes very little sense to me and I cannot seem to understand how this circuit can limit the current to 250mA. I have made an attempt to simulate the circuit using multisim live simulator

I have added a resistor at the output to monitor the votlage and the current. Could someone advice me how to properly size the resistors ? Also, I do not understand why would we require to use 2 diodes in series with each other? that seems redundant to me.
2. From what I understood about dali controllers, I require 2 data lines (DALI1 and DALI2) to controll the DALI device. From most schematics I have come across, DALI1 and DALI2 are used as an inputs through a diode bridge so that confuses me as I thought DALI1 and DALI2 are supposed to be an output not an input. I am adding few example schematics below:
How do I properly design a controller for a DALI device as I think i am getting more confused by looking at these schematics. Thanks in advance
