Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: morry on January 30, 2019, 02:08:42 PM

Title: how to configure Xlights when you use a teensy3.2 as a controller
Post by: morry on January 30, 2019, 02:08:42 PM
I want to use a teensy3.2 as an 8 port controller and not sure how to setup xlights
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: keithsw1111 on January 30, 2019, 06:16:59 PM
What protocol does your sketch expect.


Sent from my iPhone using Tapatalk
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: morry on January 31, 2019, 09:24:37 PM
This is what it says at the top of the sketch, is this what you mean?
Program to control WS2811 RGB LED by Vixen Lights 3.x
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: morry on January 31, 2019, 09:27:55 PM
I think it is using serial prtocol
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: Gilrock on February 01, 2019, 08:27:30 AM
You know I bought one of those a year ago to figure out how to make it work and never got around to it.  Now I'm not even sure where the board is.  It shouldn't be that hard to get going.  I remember the conversation was also talking about whether I'd make our code work with the existing way it was working in Vixen because they had a special keyword in the Sketch.  Otherwise it was going to need a simple Sketch modification to work with the standard xLights DMX interface.  I don't really have time to dive into it right now but what you want is to use DMX protocol and make the Sketch expect the packet format xLights is sending out.
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: keithsw1111 on February 01, 2019, 08:38:30 AM
Yeah serial ain’t a packet format. It’s a transport. The data has to be in a format. We support a few aerial protocols but the most common is dmx.


Sent from my iPhone using Tapatalk
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: JerryPlak on February 01, 2019, 09:44:14 AM
some reading info ::)
https://www.pjrc.com/teensy/td_uart.html
 
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: morry on February 05, 2019, 01:04:53 PM
Using FPP player I am getting output to lights  but I don't know how to map specific models to the ports coming out of the the octows2811 that is attached to the teensy
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: morry on February 07, 2019, 07:18:31 PM
FYI, I got my teensy working with xlights right now just one port driving one string of 1196 pixels
Title: Re: how to configure Xlights when you use a teensy3.2 as a controller
Post by: Gilrock on February 07, 2019, 09:11:42 PM
Wow nice I didn't know you could drive that many on one port.  Is that a 50ms sequence?