mightor wrote:Each time the clock line is "ticked", the value of sda is read by the slave. No change to the line just means the same value is read. It will probably cause errors but the question is, will it matter? Why not give it a whirl and see? It's a pretty cool experiment to try out.
You do know that there are I2C multiplexers out there, right? NXP and TI make them and I'm sure others do, too. This one, for example: [LINK], you could have the PCF8574 on the same bus as the MUX and use that to monitor the interrupt lines. If you don't care about the interrupts, you could just talk to the slaves in a round-robin fashion.
mattallen37 wrote:That one (from the link) looks good, but It doesn't mention a DIP version, and I only found one place that sells them (about $9 plus shipping).
mattallen37 wrote:Well, I don't want to spend $9 plus shipping, plus a breakout, plus shipping for that, not to mention the time (and frustration?) of trying to solder it. I would much rather try a different rout.
Thanks for those links! I found some really useful looking code in there. I think I will either try bit banging, or using an analog multiplexer that is DIP, and only costs about $1.
Users browsing this forum: No registered users and 1 guest