Jump to content

Mellow SB2040 CanBus board


Manny

Recommended Posts

OK, I looked at config again and found a typo (missing colon). All that needs to be changed is the pin callout. It is now working 100% Rainbow Barf and all. 

[neopixel sb_leds]
#pin: PB0
pin: SB2040:gpio12
#   The pin connected to the neopixel. This parameter must be provided.
chain_count: 10
.........

 

Link to comment
Share on other sites

Well...

You are lucky, mine are not working, just a red logo one at startup, then off when i try to change color, all dead after, the rest of the functions are working 100%.

Tried all sorts of changes in the config file, no luck.

Link to comment
Share on other sites

Well crap, it is inconsistent. Sometimes it works and other times it doesn't. Maybe the data speed is marginally too fast for the Neo Pixels. Need to put a scope on the data line. May get around to doing that. If I don't get Nozzle lights I am held up doing my Nozzle Camera project.

Link to comment
Share on other sites

In my case  it turned out that it's something with the Neopixels itself (it's a set from Fysetc): I hooked up some other Neopixels (from which I know for sure they are WS2812B type) to my SB and, boom, they worked flawlessly. So, the setup itself is working. Strange, I had the Fysetc Neopixels connected to the Octopus directly without any problem. I will test some other RGBs on the SB2040, but for now I swapped the leds on the PCB and am happy about a lighten up Stealthburner 😃

  • Like 1
Link to comment
Share on other sites

Update:

Leds are working properly, it is confirmed that the Fisetech are the not compatible ones for some unknown reason, it's mindblowing.

Well... A big thank you for the suggestion, we never stop learning here.

Cheers🍻

  • Like 2
Link to comment
Share on other sites

11 hours ago, Manny said:

Update:

Leds are working properly, it is confirmed that the Fisetech are the not compatible ones for some unknown reason, it's mindblowing.

Well... A big thank you for the suggestion, we never stop learning here.

Cheers🍻

Pleased to help you! I already assumed that in both our cases the type of leds is the cause, because some other guy had the same issue.
The fysetc Neopixels seem to be SK6812 type, so maybe it's something with this type of RGB led. I ordered some Sk6812 types to countercheck...

  • Thanks 1
Link to comment
Share on other sites

I have a mix of WS2812s and my Nozzle LEDs are SK6812s. Maybe that part of the Neopixel Driver code is not correctly implemented in the SB2040. Works fine from the Octopus port.

 

  • Like 1
Link to comment
Share on other sites

8 hours ago, Rbrt said:

Maybe that part of the Neopixel Driver code is not correctly implemented in the SB2040. 

That's exactly what I guess. I checked the signal from both (Octopus and SB2040) with an logic analyzer and it's definitely not the same.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...