Home/Support/Support Forum/How to use MC2301-E/SP I2C I/O expander with Digi XBee 3 (Python)

How to use MC2301-E/SP I2C I/O expander with Digi XBee 3 (Python)

0 votes
Just got some MC23017-E/SP I2C I/O expanders. Hoping to use them with my XBee 3 RF router modules. Am I write to think that I would use Micropython to interface with the I2C I/O expander chips? How would I communicate with the extra "pins" that the expander chip provides?... Would that be in the data sheet on how to call the pins or something. any system overview would be helpful thanks!
asked Jul 18 in XBee3 ZigBee by edunn106 New to the Community (24 points)

Please log in or register to answer this question.

1 Answer

0 votes
Correct, I2C master operation is supported on Digi XBee3 modules using MicroPython.

Please check below link from MicroPython programming guide for details:
https://www.digi.com/resources/documentation/Digidocs/90002219/#reference/r_class_i2c.htm

Mathur
Digi Technical Support
answered Jul 20 by mathur Community Contributor (100 points)
Ok that makes sense. I guess I’m wondering how you would manipulate a particular pin on the I/O expander that’s connected to the XBee’s I2C bus.
So the master would see the I/O expander as a slave device on the I2C bus correct?
...