Jump to content

Is there a Tutorial for Addressable LED Strips?


KiwiBri

Recommended Posts

Hi,

I was looking for a tutorial or description on how to do the Addressable LED Matrix and strips as seen on Randr and TerryRed's machines. For the life of me, I can't seem to find posts that describe how to do this?  A pointer to where to start would be really helpful. thanks!

Link to comment
Share on other sites

The string of lights came pre-wired this way ....Has anybody else worked with this type of hook up?...

From what I can tell the two separate wires would be the 5 volt red and the white wire would be ground - Which must be for injecting 5 volt power if needed but in my case this will be the single string of 144 per each side of the pinball cabinet


The three in one connection the red is 5 volt the white would be ground and 
the green would be the signal for the addressable strip...

 

DSC08749.JPG

Link to comment
Share on other sites

I believe your assumption is correct from my understanding of reading up on LED strips.

The white and red are to allow more power to the strip if needed.

I was looking to do the same setup.. LEDs on the sides of the playfield screen. Where did you source your 144 led strip from? Did you get two strips of 1m each?


Sent from my SM-G935W8 using Tapatalk

Link to comment
Share on other sites

thanks for the info.  Ebay is definitely a better place than AliExpress... I'm waiting on parts from AliExpress for over 2 months now :( 

The 144 LEDs are not cheap  but I think they will give the best effect. ?

 

Edit:  Ordered the LED strips.  Expect to be building this in a few weeks time..

Link to comment
Share on other sites

I put my items together yesterday and it's up and running, now I just have to mount the LEDs

Teensy USB Development Board and Teensy 3.2 OctoWS2811 Adaptor
Also LedWiz and  Sainsmart

 

How to Set Up Addressable LED Strips

http://www.vpforums....showtopic=36156

 
Here are the global and cabinet files used in my setup

GlobalConfig_B2SServer

<?xml version="1.0" encoding="utf-8"?>
<!--Global configuration for the DirectOutput framework.-->
<!--Saved by DirectOutput Version 0.8.6002.28451: 2016-09-25 10-00-34-->
<GlobalConfig>
  <LedWizDefaultMinCommandIntervalMs>1</LedWizDefaultMinCommandIntervalMs>
  <LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
  <LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
  <IniFilesPath />
  <ShapeDefintionFilePattern>{DllDir}\DirectOutputShapes.xml</ShapeDefintionFilePattern>
  <CabinetConfigFilePattern>E:\DirectOutput\config\Cabinet.xml</CabinetConfigFilePattern>
  <TableConfigFilePatterns />
  <EnableLogging>true</EnableLogging>
  <ClearLogOnSessionStart>false</ClearLogOnSessionStart>
  <LogFilePattern>.\DirectOutput.log</LogFilePattern>
</GlobalConfig>

GlobalConfig_PinballX.xml

<?xml version="1.0" encoding="utf-8"?>
<!--Global configuration for the DirectOutput framework.-->
<!--Saved by DirectOutput Version 0.8.6002.28451: 2016-09-25 10-00-34-->
<GlobalConfig>
  <LedWizDefaultMinCommandIntervalMs>1</LedWizDefaultMinCommandIntervalMs>
  <LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
  <LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
  <IniFilesPath />
  <ShapeDefintionFilePattern>{DllDir}\DirectOutputShapes.xml</ShapeDefintionFilePattern>
  <CabinetConfigFilePattern>E:\DirectOutput\config\Cabinet.xml</CabinetConfigFilePattern>
  <TableConfigFilePatterns />
  <EnableLogging>true</EnableLogging>
  <ClearLogOnSessionStart>true</ClearLogOnSessionStart>
  <LogFilePattern>.\DirectOutput.log</LogFilePattern>
</GlobalConfig>

cabinet

<?xml version="1.0"?>
<Cabinet xmlns:xsi="http://www.w3.org/20...Schema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>TimoPin</Name>
   <OutputControllers>
    <FT245RBitbangController>
      <Name>Sainsmart 1</Name>
      <SerialNumber>AH035EZ9</SerialNumber>
    </FT245RBitbangController>
    
    <TeensyStripController>
     <Name>LEDStripController</Name>
      <NumberOfLedsStrip1>129</NumberOfLedsStrip1>
      <NumberOfLedsStrip2>129</NumberOfLedsStrip2>
      <NumberOfLedsStrip3>0</NumberOfLedsStrip3>
      <NumberOfLedsStrip4>0</NumberOfLedsStrip4>
      <NumberOfLedsStrip5>0</NumberOfLedsStrip5>
      <NumberOfLedsStrip6>0</NumberOfLedsStrip6>
      <NumberOfLedsStrip7>0</NumberOfLedsStrip7>
      <NumberOfLedsStrip8>0</NumberOfLedsStrip8>
      <ComPortName>COM4</ComPortName>
    </TeensyStripController>
    
   </OutputControllers>
   
   <Toys>
 

    <LedStrip>
      <Name>PF Right</Name>
      <Width>1</Width>
      <Height>129</Height>
      <LedStripArrangement>TopDownLeftRight</LedStripArrangement>
      <ColorOrder>GRB</ColorOrder>
      <FirstLedNumber>1</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <OutputControllerName>LEDStripController</OutputControllerName>
    </LedStrip>
   
   
    <LedStrip>
      <Name>PF Left</Name>
      <Width>1</Width>
      <Height>129</Height>
      <LedStripArrangement>TopDownRightLeft</LedStripArrangement>
      <ColorOrder>GRB</ColorOrder>
      <FirstLedNumber>130</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <OutputControllerName>LEDStripController</OutputControllerName>
    </LedStrip>
    
    <LedWizEquivalent>
      <Name>SainsmartLWEQ 1</Name>
      <LedWizNumber>40</LedWizNumber>
      <Outputs>
        <LedWizEquivalentOutput>
          <Name>Start Button</Name>
          <OutputName>Sainsmart 1.01</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
     <LedWizEquivalentOutput>
          <Name>Launch Ball Button</Name>
          <OutputName>Sainsmart 1.02</OutputName>
          <LedWizEquivalentOutputNumber>2</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
    <LedWizEquivalentOutput>
          <Name>Extra Ball Button</Name>
          <OutputName>Sainsmart 1.03</OutputName>
          <LedWizEquivalentOutputNumber>3</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
    <LedWizEquivalentOutput>
          <Name>Fire Button</Name>
          <OutputName>Sainsmart 1.04</OutputName>
          <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
     <LedWizEquivalentOutput>
          <OutputName>Sainsmart 1.05</OutputName>
          <LedWizEquivalentOutputNumber>5</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
     <LedWizEquivalentOutput>
          <OutputName>Sainsmart 1.06</OutputName>
          <LedWizEquivalentOutputNumber>6</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
    <LedWizEquivalentOutput>
          <Name>Beacon</Name>
          <OutputName>Sainsmart 1.07</OutputName>
          <LedWizEquivalentOutputNumber>7</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
    <LedWizEquivalentOutput>
          <Name>Strobe</Name>
          <OutputName>Sainsmart 1.08</OutputName>
          <LedWizEquivalentOutputNumber>8</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
    </Outputs>    
    </LedWizEquivalent>

  <LedWizEquivalent>
   <Name>LedWizEquivalent 30</Name>
    <LedWizNumber>30</LedWizNumber>
    <Outputs>
    <LedWizEquivalentOutput>
     <OutputName>PF Right</OutputName>
     <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
    </LedWizEquivalentOutput>
      
      
    <LedWizEquivalentOutput>
     <OutputName>PF Left</OutputName>
     <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
    </LedWizEquivalentOutput>
    </Outputs>
    <LedWizNumber>30</LedWizNumber>
    </LedWizEquivalent>
   </Toys>
 <AutoConfigEnabled>true</AutoConfigEnabled>
</Cabinet>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...