Hello,
I'm designing a project where I want to have the ability to transmit information between my Arduino Mega and a Neotrellis M4. I know that both of them have I2C. Can I use this interface to create a master/slave relationship? Alternatively, would there be a way to connect them over a serial connection? I imagine that the USB cable has serial as well as power in/out. Can this cable be split and the wires connected to Arduino pins and perhaps a power supply to do serial this way?
Thanks for any assistance you can offer.
Colin
Connecting M4 Neotrellis to an Arduino or ESP32
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Colin8128
- Posts: 2
- Joined: Thu Jun 13, 2019 7:19 pm
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Connecting M4 Neotrellis to an Arduino or ESP32
I don't think you can send serial data over the USB connection without a USB master but you could use the TX/RX pin to do that and I think the M4 can do i2c master.
- Colin8128
- Posts: 2
- Joined: Thu Jun 13, 2019 7:19 pm
Re: Connecting M4 Neotrellis to an Arduino or ESP32
So I guess what I am curious to know is can the M4 Neotrellis do I2C slave? It doesn't appear to have a TX/RX pin. Only the I2C and 3.3v and GND pins.
Please be positive and constructive with your questions and comments.