RGB LED Strip mBlock block


#1

Can we please get an updated mBlock library for the Orion and mCore boards that allows us to address the RGB LED Strip like the following:

Much like the led block, this one would also allow you to address each RGB LED by index and color. However, it would also allow you to select a slot for the Me-RJ25 and an index greater than 4. Thoughts?


#2

Problem solved. After an email exchange with Makeblock support, I was told that if you use Slot 2 on the RJ25 adapter, you do NOT have to specify the Slot in mBlock. The standard “set led” block will work fine. I can confirm that this works! I have other issues with mBlock running directly using the green flag event and controlling the RGB Strip. I’ll illustrate this in an upcoming video.


#3

I am confused… I have the Orion, a 1 meter 60 LED strip, and the RJ25 adapter V2.1. I watched the video ‘How to Play With The LED Strip’ and it only shows me that it works , not HOW to make it work. Can you tell us exactly what they told you to do to make the ‘set led’ block work for a strip? Their link to the library site didn’t help, since as you found, their instructions are delightfully vague.


#5

The solution above worked for me. The solution is all hardware as you have to make sure the LED strip is in slot 2. However since posting this, mBlock 3.0 now has a new block called “Set LED Strip” where you can specify the slot in the block. Cool! However I have not tried using it yet. Note: I suggested they make a block like this (see above) but who knows if I had any influence over its creation :slight_smile:


#6

@ka7sqd, could you please send email to us by support@makeblock.cc? we would instruct you how to program.


#7

I was having trouble with this too. Downloading the new Version 3.2 of mBlock solved the problem. It contains a new block for LED Strip control that allows you to specify the slot


#8

Sorry for the delay… I looked in other forums and found the root of the problem, which in ignorance I did not pass on in this one. I bought an LED RGB strip from Radio Shack and did not notice at first that the driver chips were not the same as the rest on the market currently. I found the FastLED program has the drivers for many different chips and I had this working in no time once I added it to my Arduino IDE sketch library. It is free and worked beautifully once I had enough power available to run the RGB LEDs. The Orion does not have enough. I appreciate the users who replied right away!


#9

which IC you use , WS2812B or WS2813 LED ?


#10

Has anyone here had success using the full 1m RGB LED strips?

I have a large number of mBots and LED strips. In all combinations, I can address lights 1-15 on any strip, but have never seen a response from 16-30.

The strands and boards are good. I’ve tested using mCore boards and the Adafruit NeoPixel library, and strand test works great across all 30 lights. But using the MakeBlock RGB LED, both over 2.4g serial connection or uploaded via USB, will only address lights 1-15.

–andrew