0
\$\begingroup\$

Does anyone have experience using a transceiver between a microcontroller and DALI bus? Please see the attached wiring diagram. I am not sure what is wrong with the circuit, but when I measure the voltage on the DALI bus, I get a reading of 18.5VDC, which is within the expected range of 16-22VDC. However, when I connect the positive or negative terminal to the MAX485 transceiver, the voltage drops to 3VDC?

enter image description here

#include <Dali.h>

void setup() {
Dali.begin(0, 1);
}

void loop() {
Dali.sendCmd(1, Dali.CMD_UP);
delay(1000);
}
\$\endgroup\$
1
  • 1
    \$\begingroup\$ I think you need to read the data sheet for the MAX485. It doesn't look like you have connected it in a way that makes any sense. \$\endgroup\$
    – Andy aka
    Commented Mar 13, 2023 at 14:05

1 Answer 1

2
\$\begingroup\$

MAX485 is an RS-485 transceiver.

DALI is not an RS-485 bus and not in any way compatible with an RS-485 bus, because it's a DALI bus.

There is no way connecting DALI bus to a MAX485 in any way can achieve anything useful.

Your diagram also connects the 18V DALI bus to MAX485 DE and DI pins, which make no sense and just damages the MAX485 chip.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.