Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: GALENM on January 01, 2018, 01:19:57 PM

Title: Send sequence from xlights..... red test lights go out
Post by: GALENM on January 01, 2018, 01:19:57 PM
I am new to the hobby
I am running xlights  2017.44   with a WIN7 laptop. I am using an arduino with DMX 2811 sketch as a controller.
For now I have 2 strings of 100 lights.
When I power on the arduino it sends a test pattern of multi colors,pause, then solid red lights indicating waiting for signal. That would tell me my network is working.  I verified that the ip address was correct in setup.
I had it working a few days ago then thinking I was on my way I connected another string of 50 lights to an additional output pin. That made  3 lines in the setup. That setup did not work so I backed everything back to my 2x100 setup. I thought I was back to original.
Then the problem started. When I was in Xlights I clicked the lightbulb "The send signal Button" and the red lights went out and stayed out till I clicked the lightbulb again releasing the send signal button. In a few seconds the red lights came on again.
Any ideas for me?
Thanks for the help
Title: Re: Send sequence from xlights..... red test lights go out
Post by: keithsw1112 on January 01, 2018, 07:29:46 PM
So when you clicked output to lights it looks like the controller received data (the lights went out). When you click output to lights that is exactly what xLights does ... sends lots of zeroes. So it sounds like it is working ok.

To get it to send non zero data you need to click on an effect on a model mapped to the controller or press play and play your sequence.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: GALENM on January 02, 2018, 06:57:30 AM
Thanks for your reply.
Sorry nothing changed. I clicked the light bulb to send to the lights, the red lights went off. I clicked play and the effects display showed my effect playing as the time mark  moved across the screen but no signal to the lights. Again when I clicked the lightbulb off, my red lights reappeared.
I do occasionally get the message when first starting xlights. "Another process......." but gilrock in another message assured me that this was only a message and not an error so I have ignored it.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: GALENM on January 02, 2018, 07:11:39 AM
I downloaded the test program da_131 and when running a test with this, again the red lights go out till I stop the test.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: Gilrock on January 02, 2018, 08:02:48 AM
If its reacting the same with da_131 then it's your hardware.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: keithsw1111 on January 02, 2018, 12:55:11 PM
I agree with Gil. You need to look at your sketch to see why it would accept data but not output test data. If it fails in da131 then its a configuration issue with your sketch or what you are configuring in XLights.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: GALENM on January 03, 2018, 09:23:21 AM
Thanks guys
It was in the sketch.
The frustrating thing is that I am not sure where I created the problem . The only parts of the sketch I knowingly changed was global.h.
I went back to a "clean" version of the program and everything is fine.
I always try to create a new version(save to a different name) of the sketch every time I make a change but this time I could not successfully revert to a previous version. I just need to be more careful when making changes so that I can revert.
I do not see many mentions of using an arduino as a controller. Is the arduino a little used controllers and does it have limitations? What is a popular and affordable controller. I do not plan to be a power user.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: Gilrock on January 03, 2018, 10:01:05 AM
If you're going to ask what's affordable then I guess we need to make a questionnaire to find out your yearly income and current debt situation. :)

I don't think many use an Arduino.  I just bought one a couple weeks ago to play with but haven't hooked it up yet.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: keithsw1111 on January 03, 2018, 10:10:58 AM
I used arduinos for years. It’s a hard hard way to do pixels. I still use them for some relay elements but retired the last of my pixels on them this year. In fact you may be using the sketch I wrote.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: GALENM on January 03, 2018, 01:19:22 PM
I have been introduced to Arduino as a controller at our local MakerSpace group and am beginning to agree with Keith that it is a hard way to do lights. I have had all kinds of grief.
Our goal was to do it on the cheap but beginning to wonder if we are going the right way.
I would be open to trying another controller if it is more stable.
I think I am using Keith's arduino sketch. I think I have it going and either I do something and it is not working and I have to go back to the original file.
We are talking of introducing a group of 10-12 guys to lights but I am fearing disaster if they all have as much trouble as I. Especially guys with little computer background.
What would you suggest as the next step?
I have no desire to create a large system.
Thanks for your help
Title: Re: Send sequence from xlights..... red test lights go out
Post by: Gilrock on January 03, 2018, 01:51:19 PM
Most of us like the Falcon controllers.  You can start with a smaller F4v3 to get started.  Checkout pixelcontroller.com.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: keithsw1111 on January 03, 2018, 03:33:19 PM
I would agree with Gil. The falcons are the easy path. While $100 for a controller may seem like a lot that little controller can run 4000 pixels out of the box and for another $50 can run 8000. You really can’t go wrong.

There is also the Pi option but one fully built you will have a less capable controller for almost the same money and less stable.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: bwinter on January 03, 2018, 03:42:25 PM
I have been introduced to Arduino as a controller at our local MakerSpace group and am beginning to agree with Keith that it is a hard way to do lights. I have had all kinds of grief.
Our goal was to do it on the cheap but beginning to wonder if we are going the right way.
I would be open to trying another controller if it is more stable.
I think I am using Keith's arduino sketch. I think I have it going and either I do something and it is not working and I have to go back to the original file.
We are talking of introducing a group of 10-12 guys to lights but I am fearing disaster if they all have as much trouble as I. Especially guys with little computer background.
What would you suggest as the next step?
I have no desire to create a large system.
Thanks for your help

Don't forget the option of simply using a PiHat/PiCap (approx $35) on a Raspberry Pi.  Good alternative, especially if you're not expecting (or wanting to start with) a large system.
Title: Re: Send sequence from xlights..... red test lights go out
Post by: GALENM on January 04, 2018, 06:39:52 PM
Don't forget the option of simply using a PiHat/PiCap (approx $35) on a Raspberry Pi.  Good alternative, especially if you're not expecting (or wanting to start with) a large system.

Where can I get the PiHat/PiCap?
Title: Re: Send sequence from xlights..... red test lights go out
Post by: jnealand on January 04, 2018, 07:34:48 PM
pixelcontroller.com (http://pixelcontroller.com)
Title: Re: Send sequence from xlights..... red test lights go out
Post by: GALENM on February 18, 2018, 05:46:45 PM
I am new to the hobby
I am running xlights  2017.44   with a WIN7 laptop. I am using an arduino with DMX 2811 sketch as a controller.
For now I have 2 strings of 100 lights.
When I power on the arduino it sends a test pattern of multi colors,pause, then solid red lights indicating waiting for signal. That would tell me my network is working.  I verified that the ip address was correct in setup.
I had it working a few days ago then thinking I was on my way I connected another string of 50 lights to an additional output pin. That made  3 lines in the setup. That setup did not work so I backed everything back to my 2x100 setup. I thought I was back to original.
Then the problem started. When I was in Xlights I clicked the lightbulb "The send signal Button" and the red lights went out and stayed out till I clicked the lightbulb again releasing the send signal button. In a few seconds the red lights came on again.
Any ideas for me?
Thanks for the help
I think I found the solution to the problem I posted above but I am not sure why the problem and I cannot repeat it at will but it shows up occasionally.
I find that in this situation my arduino controller is working fine but xlights is sending only the black signal.
To correct the problem I click on the sequence icon on the time line and it sends just fine. If I have additional sequecnce timelines I have to click each icon and they work.
Just curious ....Why
Title: Re: Send sequence from xlights..... red test lights go out
Post by: MikeKrebs on February 18, 2018, 08:30:54 PM
what happens when you click on play?  it sounds like you are not playing the sequence. what is a sequence icon on the timeline?
Title: Re: Send sequence from xlights..... red test lights go out
Post by: Gilrock on February 19, 2018, 07:58:34 AM
I think I found the solution to the problem I posted above but I am not sure why the problem and I cannot repeat it at will but it shows up occasionally.
I find that in this situation my arduino controller is working fine but xlights is sending only the black signal.
To correct the problem I click on the sequence icon on the time line and it sends just fine. If I have additional sequecnce timelines I have to click each icon and they work.
Just curious ....Why

Yeah I don't understand most of what you're saying.  You click on a sequence icon and it sends.  What the heck does that mean?  Then you talk about clicking on sequence timelines.  Do you mean timing tracks?  That won't do a darn thing.  Why not just hit Render All, wait for it to complete, then hit the Play button?