Adafruit is open and shipping! Let's build back better, together!
0

Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a pull
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a pull

by fototrip on Wed Dec 16, 2020 10:16 pm

I ordered the NeoTrellis 8x8 M4 Express Kit Pack about a month ago and have soldered it and updated all the firmware as per the Adafruit instructions (https://learn.adafruit.com/neotrellis-f ... /soldering). I When I plug everything together and flip on the switch, I see the following in my Serial window: "RuntimeError: SDA or SCL needs a pull up". So, I tried soldering two 10KOhm pull-up resistors from SDA and SCL, each to 3.3v, but that didn't help either.
I've googled all the keywords, but didn't find anything helpful.
Any help would be appreciated.
Attachments
IMG_20201213_3_8x6.jpg
IMG_20201213_3_8x6.jpg (125.88 KiB) Viewed 117 times
IMG_20201213_2_8x6.jpg
IMG_20201213_2_8x6.jpg (134.71 KiB) Viewed 117 times
IMG_20201213_1_8x6.jpg
IMG_20201213_1_8x6.jpg (123.56 KiB) Viewed 117 times
Last edited by fototrip on Wed Dec 16, 2020 10:28 pm, edited 1 time in total.

fototrip
 
Posts: 8
Joined: Thu Jun 12, 2014 1:50 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by fototrip on Wed Dec 16, 2020 10:19 pm

More pictures...
Attachments
IMG_20201213_6_8x6.jpg
IMG_20201213_6_8x6.jpg (80.68 KiB) Viewed 116 times
IMG_20201213_5_8x6.jpg
IMG_20201213_5_8x6.jpg (107.76 KiB) Viewed 116 times
IMG_20201213_4_8x6.jpg
IMG_20201213_4_8x6.jpg (115.46 KiB) Viewed 116 times

fototrip
 
Posts: 8
Joined: Thu Jun 12, 2014 1:50 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by fototrip on Wed Dec 16, 2020 10:24 pm

Here's the program. Note that it never gets past line 9.
Attachments
code.py
(1.65 KiB) Downloaded 1 time

fototrip
 
Posts: 8
Joined: Thu Jun 12, 2014 1:50 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by adafruit_support_carter on Mon Jan 04, 2021 1:59 pm

You should not need the additional resistors since they are included on the NeoTrellis board.

You've wired the switch to the Feather's BAT, EN, and GND pins. Are you following a guide for these connections?

adafruit_support_carter
 
Posts: 18117
Joined: Tue Nov 29, 2016 2:45 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by fototrip on Mon Jan 04, 2021 2:10 pm

Yes, I'm following this Adafruit page: https://learn.adafruit.com/neotrellis-f ... -3038604-5

fototrip
 
Posts: 8
Joined: Thu Jun 12, 2014 1:50 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by fototrip on Mon Jan 11, 2021 12:30 am

OK, it looks like you're stumped, so how do I request a refund?

fototrip
 
Posts: 8
Joined: Thu Jun 12, 2014 1:50 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by adafruit_support_carter on Mon Jan 11, 2021 12:28 pm

Ooops. Sorry for not responding. The guide author took a look at this and updated the guide. Specifically this section:
https://learn.adafruit.com/neotrellis-f ... -3038604-5
The way it was worded previously implied it could be "USB or battery". It should be "USB and battery." So a battery is required.

Have you tried with a battery attached?

adafruit_support_carter
 
Posts: 18117
Joined: Tue Nov 29, 2016 2:45 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by fototrip on Tue Jan 12, 2021 4:08 pm

OK, I attached both the battery and USB, and it got past that problem.

By the way: does this mean this board must have BOTH USB and battery in order to work? in other words, it won't work with just a battery? I bought this so it can be used with ONLY a battery, as a "portable" game device; if that's not the case, I consider your website misleading (before you changed it above), and I would like a refund.

Next problem: it's saying "ValueError: No I2C device at address: 2f". I have the jumpers soldered on the boards as follows:
lower-right board: no solder
lower-left: A0 is soldered
upper-left: A0 and A1 are soldered
upper-right: A1 is soldered.
Here's the line which is failing in the code:
Code: Select all | TOGGLE FULL SIZE
trelli = [
    [NeoTrellis(i2c_bus, False, addr=0x2E), NeoTrellis(i2c_bus, False, addr=0x2F)],
    [NeoTrellis(i2c_bus, False, addr=0x30), NeoTrellis(i2c_bus, False, addr=0x31)],
]

From what that article says, 0x2F should be the lower-left board (with A0 jumper soldered).

Thank you for your continued help.

fototrip
 
Posts: 8
Joined: Thu Jun 12, 2014 1:50 pm

Re: Neotrellis M4 8x8 Kit won't start: "SDA or SCL needs a p

by adafruit_support_carter on Tue Jan 12, 2021 7:37 pm

Try doing an I2C scan to see what gets returned as a way to verify the addresses. Here's a simple scanner example you can use:
https://learn.adafruit.com/circuitpytho ... 2985153-11

I think the intent is for it to work on battery alone. But you can also connect via USB for future updates etc. It can definitely be made to work on battery alone one way or another.

adafruit_support_carter
 
Posts: 18117
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.