- This topic has 5 replies, 2 voices, and was last updated 5 years, 1 month ago by MydknyteStyrm.
-
AuthorPosts
-
July 18, 2019 at 9:01 pm #137558
Hi again folks. Thanks so much for the help so far. This time I think I’m stumped.
Using Teensy 3.2, cat5 cables, and four Addressable RGB strips. Left PF, Right PF, both at 59 LEDS each. The third and fourth are 32 LED rings that are in the speaker grills.
These two, I connected to the second CAT5 cable Orange and Blue. So my Teensy has two CAT5 cables, the top one Orange and Blue controlling the Playfield, and the bottom one controlling the two speakers (reason being I had a long CAT5).
Playfield strips work perfectly. In the DOF Config Tool I assigned the speakers to use all the Back setups (Strobe, Effects, Beacon and Flash) in a Combo3. I also assigned them to different ports.
So during all tests I get the Playfield working but nothing on the speaker lights. Power supply is good at 5v and all trace wire tests are good. Cant figure out if its a port assignment, or something I’m missing.
Attached is my Cabinet.xml and an image of my DOF Config
<?xml version="1.0" encoding="utf-8"?>
<!-- This config file will set up two addressable LED strips orange on the left and blue on the right. Each is 59 long and have the distal LED as the first in the array -->
<Cabinet xmlns:xsi="http://www.w3.org/20...chema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>Recognizer</Name> <!-- Cabinet Name -->
<OutputControllers>
<TeensyStripController>
<Name>TeensyStripController</Name>
<NumberOfLedsStrip1>59</NumberOfLedsStrip1>
<NumberOfLedsStrip2>59</NumberOfLedsStrip2>
<NumberOfLedsStrip5>32</NumberOfLedsStrip5>
<NumberOfLedsStrip6>32</NumberOfLedsStrip6>
<ComPortName>COM4</ComPortName>
</TeensyStripController>
</OutputControllers><Toys>
<LedStrip>
<Name>PF Left</Name> <!-- This is the name that I gave the left playfield strip -->
<Width>1</Width> <!-- These strips run as one long string as far as the Teensy board is concerned. If you set the width to anything other than 1 it will give you funny results like the entire strip being LED 1 -->
<Height>59</Height> <!-- This is the length of the left playfield LED array -->
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement> <!-- There are several choices that can be used here like BottomUpLeftRight. This determines the order of LEDs that the Teensy sends out on its signal path. If you use TopDown then the furthest LED from the connecting wires will be the first one in the segnal pathway. I needed this because I wanted my Teensy Board in the back of the machine by the power supplies to make the shorted wiring runs. -->
<ColorOrder>GRB</ColorOrder> <!-- You must choose GRB not RBG with these strips to get them to correctly display the colors sent to them -->
<FirstLedNumber>1</FirstLedNumber> <!-- This is the first strip so it starts with LED 1 -->
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <!-- I didn't play with this setting so I can't tell you what this does but I suspect that this sets the protocol that DOF uses for lighting the strips. -->
<OutputControllerName>TeensyStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>PF Right</Name>
<Width>1</Width>
<Height>59</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>60</FirstLedNumber> <!-- Since this is the second strip its first LED is the next one after the last LED on the other strip so since my strips are 53 LEDs long it is LED 54. -->
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>TeensyStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>Left Speaker</Name>
<Width>1</Width>
<Height>32</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>120</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>TeensyStripController</OutputControllerName>
</LedStrip><LedStrip>
<Name>Right Speaker</Name>
<Width>1</Width>
<Height>32</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>153</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>TeensyStripController</OutputControllerName>
</LedStrip><LedWizEquivalent>
<Name>LedWizEquivalent 30</Name> <!-- This is the number assigned to the WS2811 controller by the online DOF config tool -->
<Outputs>
<LedWizEquivalentOutput>
<OutputName>PF Left</OutputName> <!-- Name as defined above -->
<LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber> <!-- This is the port number of the first set of combos set up In the online DOF Config tool so it is port 1 -->
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>PF Right</OutputName> <!-- Name as defined above -->
<LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber> <!-- This is the port number of the second set of combos set up in the online DOF config tool so it is port 4 -->
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>Left Speaker</OutputName>
<LedWizEquivalentOutputNumber>13</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput><LedWizEquivalentOutput>
<OutputName>Right Speaker</OutputName>
<LedWizEquivalentOutputNumber>16</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput></Outputs>
<LedWizNumber>30</LedWizNumber>
</LedWizEquivalent>
</Toys>
<AutoConfigEnabled>true</AutoConfigEnabled> <!-- This needs to be set to true to work -->
</Cabinet>
You need to login in order to like this post: click here
July 18, 2019 at 9:32 pm #137560try this
<TeensyStripController>
<Name>LEDStripController</Name>
<NumberOfLedsStrip1>59</NumberOfLedsStrip1>
<NumberOfLedsStrip2>59</NumberOfLedsStrip2>
<NumberOfLedsStrip3>0</NumberOfLedsStrip3>
<NumberOfLedsStrip4>0</NumberOfLedsStrip4>
<NumberOfLedsStrip5>32</NumberOfLedsStrip5>
<NumberOfLedsStrip6>32</NumberOfLedsStrip6>
<NumberOfLedsStrip7>0</NumberOfLedsStrip7>
<NumberOfLedsStrip8>0</NumberOfLedsStrip8>
<ComPortName>COM4</ComPortName>
</TeensyStripController>
</OutputControllers>
<Toys>
<LedStrip>
<Name>PF Left</Name>
<Width>1</Width>
<Height>59</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>1</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip>
<LedStrip>
<Name>PF Right</Name>
<Width>1</Width>
<Height>59</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>60</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>LEDStripController</OutputControllerName>
</LedStrip>
<LedStrip>
<Name>Left Speaker</Name>
<Width>1</Width>
<Height>32</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>119</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>TeensyStripController</OutputControllerName>
</LedStrip>
<LedStrip>
<Name>Right Speaker</Name>
<Width>1</Width>
<Height>32</Height>
<LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>151</FirstLedNumber>
<FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
<OutputControllerName>TeensyStripController</OutputControllerName>
</LedStrip>
You need to login in order to like this post: click here
July 18, 2019 at 10:23 pm #137565Thanks for the suggestion but that didnt work. Is there a test program I can use to light the LEDs just to make sure theyre hooked up right?
You need to login in order to like this post: click here
July 18, 2019 at 11:03 pm #137569Yes there is some sort of test program but I have no idea what it is, I have never used it..
I’m assuming you wired the speakers the same as the strips..
Did you double check to make sure you have voltage at the speaker lights?
Post your DirectOutput.log
You need to login in order to like this post: click here
July 18, 2019 at 11:18 pm #1375702019.07.18 23:41:03.838 Global config filename is "C:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml"
2019.07.18 23:41:03.849 Global config loaded from: C:\DIRECTOUTPUT\config\GlobalConfig_B2SServer.xml
2019.07.18 23:41:03.849 Loading Pinball parts
2019.07.18 23:41:03.849 Loading cabinet
2019.07.18 23:41:03.849 Will load cabinet config file: C:\DirectOutput\Config\Cabinet.xml
2019.07.18 23:41:03.888 1 output controller defnitions and 5 toy definitions loaded from cabinet config.
2019.07.18 23:41:03.888 Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2019.07.18 23:41:03.888 Cabinet auto configuration started
2019.07.18 23:41:03.894 PhilipsHueAutoConfigurator.AutoConfig started...note, actual connection detection will happen asynchronously, and device disabled if not succesfull (check further down in the log)
2019.07.18 23:41:03.894 Opening 32-bit LedWiz driver...
2019.07.18 23:41:03.894 Detected and added LedWiz Nr. 1 with name LedWiz 01
2019.07.18 23:41:03.894 Added LedwizEquivalent Nr. 1 with name LedWiz 01 Equivalent for Ledwiz Nr. 1
2019.07.18 23:41:03.894 Cabinet auto configuration finished
2019.07.18 23:41:03.894 Autoconfig complete.
2019.07.18 23:41:03.894 Cabinet config loaded successfully from C:\DirectOutput\Config\Cabinet.xml
2019.07.18 23:41:03.894 Cabinet loaded
2019.07.18 23:41:03.894 Loading table config
2019.07.18 23:41:03.894 Warning: No table config file found. Will try to load config from LedControl file(s).
2019.07.18 23:41:03.895 Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName t2_l8
2019.07.18 23:41:03.895 Loading LedControl file C:\DirectOutput\Config\directoutputconfig.ini
2019.07.18 23:41:03.896 Min DOF Version is 0.8 for file directoutputconfig.ini
2019.07.18 23:41:04.041 Loading LedControl file C:\DirectOutput\Config\directoutputconfig30.ini
2019.07.18 23:41:04.043 Min DOF Version is 0.8 for file directoutputconfig30.ini
2019.07.18 23:41:04.324 2 directoutputconfig.ini or ledcontrol.ini files loaded.
2019.07.18 23:41:04.325 Config for RomName t2_l8 exists in LedControl data. Updating cabinet and config.
2019.07.18 23:41:04.327 Table config loading finished: romname=t2_l8, tablename=PUP Terminator 2_ Judgment Day (Williams 1991)
2019.07.18 23:41:04.327 Pinball parts loaded
2019.07.18 23:41:04.327 Starting processes
2019.07.18 23:41:04.327 Initializing cabinet
2019.07.18 23:41:04.327 Debug: Initializing output controllers
2019.07.18 23:41:04.329 TeensyStripController LEDStripController intialized and updater thread started.
2019.07.18 23:41:04.329 Debug: Initializing LedWiz Nr. 01
2019.07.18 23:41:04.329 TeensyStripController LEDStripController updater thread started.
2019.07.18 23:41:04.330 LedWiz Nr. 01 initialized and updater thread initialized.
2019.07.18 23:41:04.330 Debug: Output controllers initialized
2019.07.18 23:41:04.330 Updater thread for LedWiz 01 started.
2019.07.18 23:41:04.330 Cabinet initialized
2019.07.18 23:41:04.330 Loading shape definition file: C:\DirectOutput\Config\DirectOutputShapes.xml
2019.07.18 23:41:04.337 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.337 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.337 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.337 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.337 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.338 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.338 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.338 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:0, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:0, Right:0, Bottom:8, Width:1, Height:9)
2019.07.18 23:41:04.338 Debug: MatrixBase for RGBAMatrixColorEffect. Calculated area size: AreaDef(L:0, T:85, W:100, H:15), Matrix(W:59, H:1), ResultArea(Left: 0, Top:50, Right:0, Bottom:58, Width:1, Height:9)
2019.07.18 23:41:04.338 Framework initialized.
2019.07.18 23:41:04.338 Have fun! :)
2019.07.18 23:41:04.340 Debug: Disposing LedWiz instance 01.
2019.07.18 23:41:04.425 TeensyStripController LEDStripController updater thread has connected to TeensyStripController LEDStripController.
2019.07.18 23:46:43.304 Finishing framework
2019.07.18 23:46:43.304 Finishing cabinet
2019.07.18 23:46:43.304 Debug: Finishing output controllers
2019.07.18 23:46:43.333 TeensyStripController LEDStripController updater thread has disconnected from TeensyStripController LEDStripController and will terminate.
2019.07.18 23:46:43.333 TeensyStripController LEDStripController finished and updater thread stopped.
2019.07.18 23:46:43.333 Debug: Finishing LedWiz Nr. 01
2019.07.18 23:46:43.333 Updater thread for LedWiz 01 terminated.
2019.07.18 23:46:43.345 LedWiz Nr. 01 finished and updater thread stopped.
2019.07.18 23:46:43.345 Debug: Output controllers finished
2019.07.18 23:46:43.345 Cabinet finished
2019.07.18 23:46:43.345 DirectOutput framework finished.
2019.07.18 23:46:43.345 Bye and thanks for using!
You need to login in order to like this post: click here
July 19, 2019 at 2:31 pm #137654Update. Figured out that the Combo option on the DOF Config tool was the issue. I was attempting to put all four PF Back options on the two speaker lights, causing nothing to happen. I set it to PF Back Flashers and boom it works. Only problem was that the right speaker was completely defective and only lit two lights, the left one works perfectly. A new one is being shipped. Thanks so much for your help.
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.