Open VR-Architect opened 10 months ago
Although this does not exist at present, I think it may be possible although it would have to play nicely with the other non-blocking i2c code in dccex and not use the Wire library. The existing i2c code has a per-address queueing mechanism so having lots of addresses could cause ram problems. Some of our larger layouts would also run out of addresses and have to use multiplexers.On 6 Jan 2024 18:08, Architect @.***> wrote: Is it possible to have EXRAIL send out an I2C command to a slave device? Not the Ex-ioexpander. Why? I created an attiny85 with an L293D motor driver chip to control two Kato turnouts. I plan to have these placed close to the turnouts, then run I2C back to the DCC-EX command center. I have a large layout and felt this was the best way to reduce wiring. I can just run a long I2C bus and tap into it at each turnout. I will design a PCBWay board and have them build the tiny boards. For this to work, I need EXRAIL to know the I2C address for the turnout and a standard I2C message to go out. Thanks for the information.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
Is it possible to have EXRAIL send out an I2C command to a slave device? Not the Ex-ioexpander.
Why?
I created an attiny85 with an L293D motor driver chip to control two Kato turnouts. I plan to have these placed close to the turnouts, then run I2C back to the DCC-EX command center. I have a large layout and felt this was the best way to reduce wiring. I can just run a long I2C bus and tap into it at each turnout. I will design a PCBWay board and have them build the tiny boards.
For this to work, I need EXRAIL to know the I2C address for the turnout and a standard I2C message to go out.
Thanks for the information.