Hello, I’m interested in using Lumidrive to control an led ring but also to integrate with an accelerometer.
The description of Lumidrive indicates that there’s a powerful SAM controller on there, and some firmware that supports Circuit Python, which should make it easy to script up something to control the LEDs, potentially using Adafruit libraries for CP.
But, … if I want to interface with other sensors, such as an accelerometer, what’s the best way? There’s no Quiic connector and it’s not clear that it’s easy to use I2C or other with the broken out GPIOs (I2C seems to be a preferred protocol for a lot of the accelerometers from Sparkfun, enabling special features). The Q&A section for that board has exactly this question asked and there was a pointer to a SAM tutorial on creating and burning firmware to support I2C with A3/A4 pins. Can’t circuit python be used to designate those pins as I2C and just start using them? That question was posted 3 years ago, so maybe more work has been done by now to support this case.
Circuitpython from Adafruit seems to support I2C out of the box according to their reference examples https://learn.adafruit.com/circuitpytho … 2c-devices
does that mean Lumidrive would just work with a proper header/init section, or would the user or Sparkfun team need to implement support on SAM for the specifc implementation of Circuitpython that runs on Lumidrive?
Then, if not, and the user would need to do all of that, there are other controller boards that support CP but how to interface with the Lumidrive? It’s the same question in reverse. But it would be great not to have two powerful controllers when there already is on onboard the Lumidrive, so ultimately one might choose a different driver without the “brain” and just implement the project there instead.
I was hoping to spend most of the time messing with the conceptual design of my little project, but perhaps a little more up front work to use the Arduino environment would be better served?
So many questions!
Thanks for any insights!