Jan-24-2021, 11:47 PM
Quote:I know I dont have to say it but feel free to let it go. Already gave me more than enough atention.It has become a challenge that I must complete.
It would take something quite serious for me to give up yet.
I am attempting to connect the neotrellis directly to my Computer using the MCP2221.
The blog here: https://learn.adafruit.com/circuitpython...th-mcp2221
states that this can be done:
Quote:This guide will show you how to use an MCP2221(A) to connect to I2C sensors and breakouts from your desktop PC running Windows, Mac OSX, or Linux. The MCP2221 also allows for general purpose digital input and output (GPIO) for things like buttons and LEDs, analog to digital conversion (ADC), and digital to analog (DAC).
The cool part about this is that you can then use any of the CircuitPython Libraries that have been written for the numerous I2C sensors and breakouts. You can bring that data directly into your PC for any kind of powerful analysis or presentation.
Since the last email, even though I said I was going to quit for the day, i did not.
I have located all of the github code that should be needeed to examine and see how it's done.
The MCP2221 board connects to the PC through USB (that is working). The MCP2221 board has a 4 pin I2C which in addition to the standard SDA and SCL data lines also supplies V+ and Ground which should be able to power up the Neotrellis.
I have connection between PC and MCP2221 working using putty on PC. I'm not yet seeing signals from the neotrellis, but that should be something simple, and will 'discover' what is is tomorrow.
When all is said and done, I believe this will work with just the MCP2221 board and the neotrellis, no need for a Pi, aduino or any other intermediate device.
Then, the goal is to create an event function that's mapped to a matrix containing a cell, for each button, that will hold the address of the function associated with that button. This for any button, on any board, differentiating between each one.
Now Looking entirely possible.
more later.