Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Multitrellis not detected on Arduino Due
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Multitrellis not detected on Arduino Due

by Moris526 on Fri Oct 16, 2020 2:52 pm

Hi all.

I have a Multitrellis Grid.

I try it with Arduino Uno and mega 2560 with no problem.

But cant detect it with Arduino Due or Circuit playgroud express. I want to use it with Due but maybe here is a clue, since Uno/ Mega have ATmega and Due/Circuit have Atmel

I can use one neotrellis with both Due and Circuit but not Multitrellis.

Any idea?

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by dastels on Fri Oct 16, 2020 4:25 pm

It's an I2C interface so it should work on anything, in fact I've only ever used them with SAMD51 boards.

That said, the ATSAMD (same AT as in ATMega, BTW) runs with 3.3v logic while the UNO/Mega run at 5v. That might be an issue.
How are you supplying Vin to the multitrellis? Did you make any adjustments to the boards other than address jumpers?

Dave

dastels
 
Posts: 3864
Joined: Tue Oct 20, 2015 3:22 pm

Re: Multitrellis not detected on Arduino Due

by Moris526 on Fri Oct 16, 2020 6:40 pm

Could the problem be the common ground?

ignorant question: Does ground differ with 5v or 3.3v ?

With one neotrellis I feed arduino via usb, and neotrellis with 5v pin.

With multitrellis I feed arduino via usb and Multrellis with 5v 10 amp tranformer, and have ground going from multitrellis to arduino.

No other adjustments to the boards other than jumpers.

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by dastels on Fri Oct 16, 2020 10:24 pm

Grounds generally have to be common unless you're using opto-isolators.

Ground is ground for the vast majority of projects. 5v and 3.3v are relative to ground.
It sounds like you're doing things right. Can you post a clear photo(s) of your wiring and the connections/soldering?

Dave

dastels
 
Posts: 3864
Joined: Tue Oct 20, 2015 3:22 pm

Re: Multitrellis not detected on Arduino Due

by Moris526 on Sat Oct 17, 2020 2:09 pm

This works..

Due-Neotrellis.jpeg
Due-Neotrellis works
Due-Neotrellis.jpeg (196.83 KiB) Viewed 137 times


This works..

Uno-Multitrellis.jpeg
Uno-Multitrellis works
Uno-Multitrellis.jpeg (139.33 KiB) Viewed 137 times


This doesnt work..

Due-Multitrellis.jpeg
Due-Multitrellis Doesnt work
Due-Multitrellis.jpeg (145.3 KiB) Viewed 137 times



Same behaviour with Circuit playground express


Im hopeless here..

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by dastels on Sat Oct 17, 2020 2:14 pm

With the multi-trellis wiring... do you have the Trellis ground connected to the Arduino ground?

dastels
 
Posts: 3864
Joined: Tue Oct 20, 2015 3:22 pm

Re: Multitrellis not detected on Arduino Due

by Moris526 on Sun Oct 18, 2020 12:38 pm

Yes. Is the exact same wiring as the uno board, but doesnt work.

I dont know what else to try.

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by Moris526 on Sun Oct 18, 2020 12:47 pm

Could the Due board be damage? even thou it works with one neotrellis?

I can only upload the sketch in the native port. If i try to upload in the programing port doesnt detect it

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by PatMaximum on Tue Oct 20, 2020 4:46 pm

How many Neotrellis boards are you using?

PatMaximum
 
Posts: 12
Joined: Tue Aug 27, 2019 8:00 pm

Re: Multitrellis not detected on Arduino Due

by Moris526 on Tue Oct 20, 2020 10:12 pm

32 but I have decided to try with Raspberry zero w

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by PatMaximum on Tue Oct 20, 2020 11:45 pm

Hey wow, that's a lot of pullup resistors hanging on the SCL and SDA lines.

Each Neotrellis board has a 10K pullup on its SCL and SDA lines. Hooking 32 together gives us 32 x 10 K resistors in parallel and my calc tells me that we end up with 312 Ohm pullups which is gonna try to soak 10.5 Ma @3.3v out of the Due. The Due will have trouble with this. Not so for a Mega or Uno which both have stronger pins.

Never played with a Pi but I have a hunch that it may also have trouble driving 312 Ohm pullups as well. You might check the specs before you start.

I think you might need to remove pullups from most trellis boards. Have not done it myself so perhaps somebody more experienced might chime in here.

PatMaximum
 
Posts: 12
Joined: Tue Aug 27, 2019 8:00 pm

Re: Multitrellis not detected on Arduino Due

by dastels on Wed Oct 21, 2020 11:01 am

That sounds like the right course of action. I'd leave pullups of the boards farthest from the connection point to the controller.

dastels
 
Posts: 3864
Joined: Tue Oct 20, 2015 3:22 pm

Re: Multitrellis not detected on Arduino Due

by Moris526 on Wed Oct 21, 2020 2:06 pm

Someone had suggested to remove the pullups.

I leave a photo. could you tell me which are the pullups?

How many you I remove?
Attachments
Neotrellis.jpeg
Neotrellis.jpeg (149.42 KiB) Viewed 79 times

Moris526
 
Posts: 60
Joined: Fri Jan 17, 2020 10:09 am

Re: Multitrellis not detected on Arduino Due

by dastels on Wed Oct 21, 2020 5:21 pm

In the top left corner of the board in the attached photo you will see 4 resistors. They are the small black rectangles soldered on each end. Find the two that have an end connected directly to the SCL and SDA connections. Those are the two to remove. I would remove them gradually. Maybe start with alternating boards in a checkerboard pattern.

Dave

dastels
 
Posts: 3864
Joined: Tue Oct 20, 2015 3:22 pm

Re: Multitrellis not detected on Arduino Due

by PatMaximum on Thu Oct 22, 2020 4:11 am

That would be R4 and R5 on the schematic. Thinking on it, I wonder if Q1 and Q2 will respond to overshoot incoming on SCL and SDA so R6, R8, Q1 and Q2 can be removed as well.

PatMaximum
 
Posts: 12
Joined: Tue Aug 27, 2019 8:00 pm

Please be positive and constructive with your questions and comments.