0

Connecting M4 Neotrellis to an Arduino or ESP32
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Connecting M4 Neotrellis to an Arduino or ESP32

by Colin8128 on Thu Jun 13, 2019 7:21 pm

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

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

Re: Connecting M4 Neotrellis to an Arduino or ESP32

by franklin97355 on Thu Jun 13, 2019 7:30 pm

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.

franklin97355
 
Posts: 20636
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Connecting M4 Neotrellis to an Arduino or ESP32

by Colin8128 on Thu Jun 13, 2019 8:43 pm

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.

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

Please be positive and constructive with your questions and comments.