Connecting M4 Neotrellis to an Arduino or ESP32

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Colin8128
 
Posts: 2
Joined: Thu Jun 13, 2019 7:19 pm

Connecting M4 Neotrellis to an Arduino or ESP32

Post by Colin8128 »

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

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Connecting M4 Neotrellis to an Arduino or ESP32

Post by Franklin97355 »

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.

User avatar
Colin8128
 
Posts: 2
Joined: Thu Jun 13, 2019 7:19 pm

Re: Connecting M4 Neotrellis to an Arduino or ESP32

Post by Colin8128 »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”