I posted two entries on using the 16 Output I/O Expander Breakout - SX1509, BOB-13601, and the Qwiic GPIO, SPX-14716 expander boards on the Onion Omega forum here: <https://community.onion.io/topic/3894/s … -expanders> and here: <https://community.onion.io/topic/3895/s … xpanders-2>. Onion Omega Python-light scripts for both boards are included in those posts.
Thanks for sharing!
I am building a prototype inexpensive ventilator for the virus outbreak and bought some SEN-15219 heart rate and Ox sensors. They work great with the examples given for Arduinos. My instrument has an Onion Omega for overall command, timing and user interface and an Arduino Mega 2650 for the display and to generate accurate pulses for a stepper motor. The Arduino is the slave on the I2C bus, but the Pulse Oximeter examples require the Arduino to be the master. I have other sensors operating from a 2nd I2C bus mastered by the Arduino and SoftwareI2C package from here: <http://wiki.seeedstudio.com/Arduino_Sof … ser_guide/>. This works well to access other sensors, but I haven’t been able to port the oximeter routines for use with Software I2C, because I haven’t found a “Twowire” structure which is used to initialize the %wirePort identifier. Could you help me to get the oximeter examples working with Software I2C? Another option would be a python package for the oximeter, but that seems like a bigger job. Thanks in advance.
Hi goldmany.
I’m sorry, but I don’t know how to implement software I2C with our library. It’s possible that the way it’s written you can’t use software I2C.