Author Topic: how to configure Xlights when you use a teensy3.2 as a controller  (Read 1197 times)

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
I want to use a teensy3.2 as an 8 port controller and not sure how to setup xlights

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #1 on: January 30, 2019, 06:16:59 PM »
What protocol does your sketch expect.


Sent from my iPhone using Tapatalk

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #2 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

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #3 on: January 31, 2019, 09:27:55 PM »
I think it is using serial prtocol

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #4 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.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #5 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

Offline JerryPlak

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #6 on: February 01, 2019, 09:44:14 AM »
some reading info ::)
https://www.pjrc.com/teensy/td_uart.html
 

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #7 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

Offline morry

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #8 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

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: how to configure Xlights when you use a teensy3.2 as a controller
« Reply #9 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?