#I am having a dickens of a time playing

1 messages ยท Page 1 of 1 (latest)

sick matrix
#

using board.MOSI or board.D24 has the same effect (they should be the same pin anyway)

#

it's a 4m roll that I got and it had the same weird behavior before I cut the length, so at a minimum nothing has changed :S

#

anybody have any thoughts as to why I might doing wrong here? SDO is the pin I want for SPI data out right?

#
>>> dots[3]
(0, 255, 0, 1.0)```
#

Clearly shows the right data, but the strip just kinda' does whatever it wants

#

# MAIN LOOP
while True:

    print("Red fill")
    dots.fill((255,0,0))
    time.sleep(1)

    print("Green fill")
    dots.fill((0,255,0))
    time.sleep(1)

    print("Blue fill")
    dots.fill((0,0,255))
    time.sleep(1)``` example script here... and it does stuff like this...
abstract fulcrum
#

how is the strip powered ?

#

I ask that because there can be shenanigans when powering with 5V and not level-shifting the clock and data pins I think

#

or powering some types of strips with 3.3V when they can't really work with it

sick matrix
#

I'm using a 5V (4amp) PSU via a barrel connector on the power. the strip has a pigtail for power only and that's what's providing power

abstract fulcrum
#

no common ground ?

#

you need a GND

sick matrix
#

well i feel dumb

#

if i just wire a ground to a gnd pin on the s2 though to the strip, won't that potentially fry my s2?

abstract fulcrum
#

I think it shouldn't, though I'm more of a software guy

sick matrix
#

20$ yolo seems successful :teamwork:

abstract fulcrum
#

like maybe you can add some protection in case of a short

sick matrix
#

๐Ÿ˜„ it's deff working now like it's coded

abstract fulcrum
#

(they don't in the guide)

sick matrix
#

oh, no they totally do

#

yep. i'm just dumb ๐Ÿ˜„