Go Down

Topic: Large button/led board. Multiple SCL-SDA connections (Read 836 times) previous topic - next topic

Moris526

Large Button document

Neo-Trellis Overview

According to Adafruit, everything should work perfectly with your current setup.
Did you try the Adafruit Support Forum ?

Did you follow the Adafruit PDF document ?
Of course I try with the forum but I got no answer.
It is the MCU speed.
Thanks again.

raschemmel

Quote
Of course I try with the forum 
You didn't answer the question about following the Adafruit PDF document.
Did you use that code ?
Did you read the entire document ?

Moris526

#47
Oct 11, 2020, 11:54 pm Last Edit: Oct 11, 2020, 11:59 pm by Moris526
You didn't answer the question about following the Adafruit PDF document.
Did you use that code ?
Did you read the entire document ?

Large Button document  link is broken

I read all the Adafruit info and use their code and Robin`s code from Serial imput basic.  I think the code its pretty clean.
About going up to 400khz i2c I have a doubt..
I did   

Code: [Select]
#include <Wire.h>[/color]

void setup(){

Wire.begin();         
Wire.setClock(400000);
}



But I dont think it makes any difference since the board works with



Code: [Select]
"Adafruit_NeoTrellis.h"

void setup() {

 !trellis.begin();
}



Im doubting about MCU speed.
I just try it a low speeds and the same thing happens at button press (not that frequent) it freezes, Arduino keeps receiving from serial but doesnt send for a few seconds, and the board freezes.


I think the key piece of evidence is this.

If I load just 4 boards to the arduino code (4 of any of the 32). It works perfect. I can go to speeds much higher than needed with perfect response to button press.
All being equal, the more boards i add the more frequent the issue...


:smiley-confuse:



raschemmel


Moris526

Have tried disconnecting ten boards ?
I was leaving that for last option.
Every board has at least 5 joints, and I am not a soldering expert. 
That would tell me if is a pullup issue? and would have to phisically remove them?  I have to check how hard is that.

raschemmel


raschemmel

#51
Oct 12, 2020, 01:14 am Last Edit: Oct 12, 2020, 02:52 am by raschemmel
resistors, not boards

According to Adafruit it should work with 32
boards without removing resistors but I
don't know what else to try.
You could try a faster MCU before removing resistors.

Moris526


Go Up