Checking if the channel enabling/disabling works. The MCP23008 IO expander is beefed up using an ULN2803. This is an inverting buffer, so this needs to be handled in the code itself. This breadboard has only 4 of the 8 possible channels connected to avoid too much of a spaghetti mess. It is hooked up to one of my current robots. The purpose of this board it to allow up to 8 Sharp IR sensors to be hooked up to the NXT using a I2C. Each Sharp has it output read by the MAX127 ADC. Allowing each channel to be switched on and off could use as a way to prevent interference.
@StoesA Download my driver suite. It's for ROBOTC. Just Google for "3rd party robotc drivers".
mightor 1 year ago
Hello , can you send me the I2C MCP23008 code please?
Thx
StoesA 1 year ago