want to use Arduino to control WS2813 led

Ask and answer questions, share tips and resources for installing lighting and other electronics in your models.

Moderators: Sparky, Moderators

Post Reply
alanwangwang
Posts: 2
Joined: Mon Jul 18, 2016 9:01 pm

want to use Arduino to control WS2813 led

Post by alanwangwang » Fri Aug 12, 2016 2:02 am

now i have some new ws2813 led strip , but i want to use arduino to control it , if anybody have this code for it , if ws2812b code can use WS2813?
light up your life

User avatar
NCC1966
Posts: 133
Joined: Mon Jun 27, 2016 2:56 pm

Post by NCC1966 » Wed Aug 24, 2016 10:51 am

You cannot simply hook a LED strip to an Arduino board. In the best scenario it won't lite and in the worse it will burn the Board. For the hardware side you will need a transistor (a PN2222 should work). Also you will need the code.

But everything depends on what you are lighting, the desired effects, etc.

JimD
Posts: 1
Joined: Thu Aug 06, 2009 11:49 am
Location: Toronto, Ontario, Canada

Re: want to use Arduino to control WS2813 led

Post by JimD » Thu Aug 25, 2016 12:07 pm

alanwangwang wrote:now i have some new ws2813 led strip , but i want to use arduino to control it , if anybody have this code for it , if ws2812b code can use WS2813?
Check out this link: https://learn.adafruit.com/adafruit-neo ... g?view=all

Tons of information, and tutorials. I sued this to get started playing with the strips.

Jim

JardCrocker
Posts: 2
Joined: Mon Oct 30, 2017 12:33 pm

Re: want to use Arduino to control WS2813 led

Post by JardCrocker » Mon Nov 06, 2017 10:34 am

Hi...i am a new user here. I will suggest you can control WS2183 LED strips from the FastLED library.Use the "WS2812" type and set-up the LED strip by specifying the DATA PIN.

User avatar
tetsujin
Posts: 2202
Joined: Mon Feb 28, 2005 6:08 pm
Contact:

Re: want to use Arduino to control WS2813 led

Post by tetsujin » Fri Nov 17, 2017 1:10 pm

alanwangwang wrote:
Fri Aug 12, 2016 2:02 am
now i have some new ws2813 led strip , but i want to use arduino to control it , if anybody have this code for it , if ws2812b code can use WS2813?
It seems the 2813 is an updated version of the 2812 that uses the same protocol. The main functional difference is that the 2813's have a second data input so that if a single LED in a strip fails, it doesn't affect the others. (However if two neighboring LEDs fail, then the rest of the down-stream LEDs will also fail...)

So just make sure you have a sufficiently beefy 5V power supply for the LEDs you're using, and that you either use a 5V Arduino, or a level-shifter to get a 5V data signal if you're using a 3.3V Arduino, and beyond that operate them as you would a 2812.
---GEC (三面図流の初段)
There are no rats.
The skulls eat them.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest