LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control RGB LED WS2812 with NI PCI-6133 and LabVIEW

Solved!
Go to solution

Hello, is it possible to control a RGB LED WS2812 with LabVIEW and the DIOs of a NI PCI-6133?Are there any examples available: I have only found an example for RIO control: https://forums.ni.com/t5/Example-Code/RIO-control-of-WS2812-programmable-LEDs/ta-p/3528282?profile.l...

 

Thanks a lot and best regards,

Michael

0 Kudos
Message 1 of 3
(2,828 Views)

Looks like this website give you most of what you need to know. THe rest will be building the circuit and then putting together the voltage output and bluetooth communications to do what you need to do. Look at the code they provide and you should get an idea of where you need to go.

 

https://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds...

 

Here is another link:

 

https://www.youtube.com/watch?v=UhYu0k2woRM

 

Tim
GHSP
0 Kudos
Message 2 of 3
(2,799 Views)
Solution
Accepted by topic author MichaGue_01

Hello everyone, for all interested people my solution to control a RGB LED WS2812 directly with a DAQmx hardware and LabVIEW.

 

Used hardware:
- Win 10 PC
- LabVIEW 2016
- NI PCI-6133
- SCB-68
- Microe 4X4 RGB click

 

Basically the solution should work with all DAQmx cards that can generate a counter with a frequency of 5 MHz.

 

Attached you will find the vi and a short video.

 

Have fun and best regards,
Michael

 

2020-06-03_16h33_36.png2020-06-03_16h32_31.png

Download All
0 Kudos
Message 3 of 3
(2,727 Views)