Jump to content

Unable to get Addressable LED's to work with Doflinx


Recommended Posts

Guys,

 

I have searched, read, watched, researched, reread, rewatched for a solve to my issue.  Regardless, I cannot get my two LED strips to light up with any games including the Dof Tester.  Here are some screenshots of by cabinet.xml, as well as the Cabinet configuration tool from Direct Output.  What's weird is each LED strip has 101 LEDs but when I look in the Cabinet Configuration Tool it shows 606 under Output Control.  I also have a Sainsmart for my solenoids.  It is functioning fine.  Everything functions from a basic test standpoint in the Arduino software and DirectOutput is recognizing the Teensy.  Just to be clear the name of the Pinball Machine doesn't matter (in Cabinet.xml) right?

 

Cabinet.xml

 

<?xml version="1.0"?>
<Cabinet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Offutt Pinball</Name>
  <Toys>
    <LedStrip>
      <Name>Sideboard Right</Name>
      <Width>1</Width>
      <Height>101</Height>
      <LedStripArrangement>BottomUpRightLeft</LedStripArrangement>
      <ColorOrder>GRB</ColorOrder>
      <FirstLedNumber>1</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <BrightnessGammaCorrection>2.2</BrightnessGammaCorrection>
      <Brightness>100</Brightness>
      <OutputControllerName>LedStripController</OutputControllerName>
    </LedStrip>
    <LedStrip>
      <Name>Sideboard Left</Name>
      <Width>1</Width>
      <Height>101</Height>
      <LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
      <ColorOrder>GRB</ColorOrder>
      <FirstLedNumber>102</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <BrightnessGammaCorrection>2.2</BrightnessGammaCorrection>
      <Brightness>100</Brightness>
      <OutputControllerName>LedStripController</OutputControllerName>
    </LedStrip>
    <LedWizEquivalent>
      <Name>LedWizEquivalent 30</Name>
      <Outputs>
        <LedWizEquivalentOutput>
          <OutputName>Sideboard Right</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>Sideboard Left</OutputName>
          <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
      </Outputs>
      <LedWizNumber>30</LedWizNumber>
    </LedWizEquivalent>
    <LedWizEquivalent>
      <Name>FT245RBitbangController 0 Equivalent 1</Name>
      <Outputs>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.01</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.02</OutputName>
          <LedWizEquivalentOutputNumber>2</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.03</OutputName>
          <LedWizEquivalentOutputNumber>3</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.04</OutputName>
          <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.05</OutputName>
          <LedWizEquivalentOutputNumber>5</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.06</OutputName>
          <LedWizEquivalentOutputNumber>6</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.07</OutputName>
          <LedWizEquivalentOutputNumber>7</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.08</OutputName>
          <LedWizEquivalentOutputNumber>8</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
      </Outputs>
      <LedWizNumber>40</LedWizNumber>
    </LedWizEquivalent>
    <AnalogAlphaToy>
      <Name>LedWiz 40 Column 01</Name>
      <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.01</OutputName>
      <FadingCurveName>Linear</FadingCurveName>
    </AnalogAlphaToy>
    <AnalogAlphaToy>
      <Name>LedWiz 40 Column 02</Name>
      <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.02</OutputName>
      <FadingCurveName>Linear</FadingCurveName>
    </AnalogAlphaToy>
    <AnalogAlphaToy>
      <Name>LedWiz 40 Column 03</Name>
      <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.03</OutputName>
      <FadingCurveName>Linear</FadingCurveName>
    </AnalogAlphaToy>
    <AnalogAlphaToy>
      <Name>LedWiz 40 Column 04</Name>
      <OutputName>FT245RBitbangController 0\FT245RBitbangController 0.04</OutputName>
      <FadingCurveName>Linear</FadingCurveName>
    </AnalogAlphaToy>
  </Toys>
  <Colors />
  <Curves />
  <AutoConfigEnabled>true</AutoConfigEnabled>
  <OutputControllers>
    <TeensyStripController>
      <Name>LedStripController</Name>
      <NumberOfLedsStrip1>202</NumberOfLedsStrip1>
      <NumberOfLedsStrip2>0</NumberOfLedsStrip2>
      <NumberOfLedsStrip3>0</NumberOfLedsStrip3>
      <NumberOfLedsStrip4>0</NumberOfLedsStrip4>
      <NumberOfLedsStrip5>0</NumberOfLedsStrip5>
      <NumberOfLedsStrip6>0</NumberOfLedsStrip6>
      <NumberOfLedsStrip7>0</NumberOfLedsStrip7>
      <NumberOfLedsStrip8>0</NumberOfLedsStrip8>
      <ComPortName>COM4</ComPortName>
      <ComPortBaudRate>9600</ComPortBaudRate>
      <ComPortParity>None</ComPortParity>
      <ComPortDataBits>8</ComPortDataBits>
      <ComPortStopBits>One</ComPortStopBits>
      <ComPortTimeOutMs>200</ComPortTimeOutMs>
      <ComPortOpenWaitMs>50</ComPortOpenWaitMs>
      <ComPortHandshakeStartWaitMs>20</ComPortHandshakeStartWaitMs>
      <ComPortHandshakeEndWaitMs>50</ComPortHandshakeEndWaitMs>
      <ComPortDtrEnable>false</ComPortDtrEnable>
    </TeensyStripController>
    <FT245RBitbangController>
      <Name>FT245RBitbangController 0</Name>
      <SerialNumber>AG0K9WP3</SerialNumber>
      <Description>FT245R USB FIFO</Description>
      <Id>0</Id>
    </FT245RBitbangController>
  </OutputControllers>
  <ScheduledSettings />
  <SequentialOutputSettings />
  <TableOverrideSettings />
</Cabinet>

 

 

 

 IMG_1431.thumb.jpeg.49e55eda2611c62817bca70676a9fa46.jpeg

Link to comment
Share on other sites

1 hour ago, Saintintn said:

Something really basic that the directions and videos don't mention is whether the Arduino and Teensy software should be running.  I have both running, so I assume that is right.  

Do you have it working in VP?
You do not need a cabinet File for a 8 relay Sainsmart USB board
Software should not be running
I have never used any software for either one of those when running the games
 Just to be clear the name of the Pinball Machine doesn't matter (in Cabinet.xml) right?  <<<-- Right

 

Link to comment
Share on other sites

Well, I finally got it working.  The issue was the GlobalConfig_B2SServer.xml file.  If you follow Maj. Frenchy's original video it mentions that you copy everything from the cabinet.xml file into it.  Something, anyways, to that effect.  I had been doing that, and then I saw others who had totally different info in their's.  I pasted in one of those, and boom it worked.  I think the issue is that each machine is different and then there are about 25 different posts that come up in Google on how to set it up.  I think the other issue is that Teensy 3.2's are pretty much unobtainable.  So, I was working from a Teensy 4.0.  Thanks for your reply, outhere!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...