Control WS2812B Led Strip on BeagleBone Black

raj.mehta

New elf
Joined
Jul 7, 2021
Messages
6
Aim: Control WS2812B Led Strip on BeagleBone Black(BBB/BBBW).

I have BeagleBone Black (BBB/BBBW) with WS2812B Led Strip.

I Follow this FPP_Manual but in that number of instructions is there. so I unable to understand.

As per my Aim, I only need to control the Led strip with beagle bone using the C program. So anyway to get a solution?

Thank you.
 

AAH

I love blinky lights :)
Community project designer
Joined
Dec 27, 2010
Messages
3,860
Location
Eaglehawk
Dan and I hopefully gave you enough info over on Falcon Christmas.
 

raj.mehta

New elf
Joined
Jul 7, 2021
Messages
6
Thank You @AAH

Aim/Application: Control WS2812B LED Strip on BeagleBone Black.

I have BeagleBone Black and WS2812B LED Strip.

PinOut:

BBB - WS2812B LED Strip(5LED).
5V - 5V
P8_10 - DIN
GND - GND


I am unable to understand how Falcon Christmas is implementing to achieve my application.

I installed FPP Player for that new version. : https://github.com/FalconChristmas/fpp/releases/download/5.0-alpha1/FPP-v5.0-alpha1-BBB.img.zip

Some of the images in Attachments.

can you guide me on how I do this @AAH.

Thank You.
 

Attachments

  • Img1.png
    Img1.png
    115.8 KB · Views: 5
  • Img2.png
    Img2.png
    81.2 KB · Views: 5
  • Img11.png
    Img11.png
    81.3 KB · Views: 4

Notenoughlights

260,000+ twinkly lights
Generous elf
Joined
Oct 16, 2016
Messages
125
Location
Christchurch, New Zealand
Here is how I have mine running. Click the green URL below each image to expand.

I used this schematic GPIO_11 (P0) as output 1, and p1, p2 etc as output 2 and 3 and so on.

http://rgb-123.com/wp-content/uploads/2014/03/RGBCape24C.pdf Thanks to @SmartAlecLights for providing this wonderful information

On the BBB FPP web page on the BBB strings tab set your cape type to RGBcape24 as you are using the RGBcape 24 schematic
View: https://i.imgur.com/wjJocn5.png



I have then set up a bridge in the channel inputs to accept e1.31 data from a sequencer (Vixen3 in my instance)
View: https://i.imgur.com/J5gl4QP.png
 

raj.mehta

New elf
Joined
Jul 7, 2021
Messages
6
Thank you @Notenoughlights as above I mention I use WS2812B Led Strip with Bealebone black and connection.

PinOut:

BBB - WS2812B LED Strip(5LED).
5V - 5V
P8_10 - DIN
GND - GND


and the mt falcon player is new. Is hard for to me understand and implement.

Easyway like example code, video, etc.
Thank you.
 

Notenoughlights

260,000+ twinkly lights
Generous elf
Joined
Oct 16, 2016
Messages
125
Location
Christchurch, New Zealand
If you go to the Status/Control tab at the top, and click "Display testing"

View: https://i.imgur.com/JwojqCz.png


Enable test mode by clicking the check box and that should let you see if you have set up FPP correctly, you don't need to write any code in order to get the lights to work, you will want to stream data to the BBB with Xlights/Vixen/a sequencer that outputs e1.31 data. You will need the IP address of the BBB in order to set up your sequencer.
 

dkulp

Apprentice elf
Joined
Jan 2, 2013
Messages
96
Location
Framingham, MA
If you are going to insist on having it on P8-10 instead of P8-32 like we've already told you, then it would be string 7 of the RGBCape24 that you would need to configure pixels on.
 

raj.mehta

New elf
Joined
Jul 7, 2021
Messages
6
Still not get Solution.


I have this board: WhatsApp Image 2021-07-08 at 6.08.24 PM.jpeg and this led: WhatsApp Image 2021-07-08 at 6.10.56 PM.jpeg and this FPP Player Interface: inm3.png

PinOut:

BBB - WS2812B LED Strip(5LED).
3.3V - 5V
P9_29 - DIN
GND - GND


Thank you.
 

dkulp

Apprentice elf
Joined
Jan 2, 2013
Messages
96
Location
Framingham, MA
Where did you get the idea to use P9-29 (or P9-10)? That pin is NOT mentioned above at all.

You CANNOT use any random pin, it HAS to match what the the bbb is expecting to send data on. As stated above, set the cape type to RGBCape24 and use P8-32. If you cannot follow the instructions we're laid out above, it's NOT going to work.
 

Notenoughlights

260,000+ twinkly lights
Generous elf
Joined
Oct 16, 2016
Messages
125
Location
Christchurch, New Zealand
GPIO_11/ P0 / pin 32 is in the other row of headers, you have your board backwards.

Face the Ethernet socket away from you, P0 is on the right side set of headers 16 pins down from the top right of that header.
 

Dreamin

Full time elf
Generous elf
Joined
Dec 28, 2016
Messages
279
Location
Sunshine Coast
This might help you raj.mehta it has all the numbers for the pins.

Beagle bone black pins

As NEL just said above make sure you have it around the right way.

Patience is key, take a step back if it's all getting too much. I find if I come back with a fresh head after a break things sometimes click better. These projects where we are learning lots of new things at the same time can get rather confusing.
 
Top