Addressable LED

PART 1 ( THE HARDWARE )

image-64.png

 Addressable LED’s WS2812B (5v or 12v ) ( 60 led/meter or 144 led per meter )

When trying to figure how much power your LED strip will use, you must follow this formula

X * 60A = XAmps

1 meter with 60 LEDs/meter =  60 * 60 MA = 3600 MA = 3.6 Amps

1  meter with 144 LED/meter = 144 * 60 MA = 8640 MA or 8.6 Amps


Teensy 3.1/3.2

Teensy 3.1/3.2

Octo2811

Octo2811

2.54 mm Breakable pins

2.54 mm Breakable pins


You will need to solder pins on Teensy

You will need to solder pins on Teensy

PART 2 ( PREPARATION )

you will need to solder the teensy on the octo 2811. Insert the Teensy on top of the OCTO2811 and the micro usb port should face the outside of the board like below. 

You will need to solder the pins under the Octo2811

You will need to solder the pins under the Octo2811


Decide the number of LED’s that you want for your cabinet. if you have ordered strips with a male and female end, place them temporary on the location it will go in your cabinet. 

If you have bought a roll of LED, you will need to cut and solder the strips together. When cutting the strips please consider the following:

image-71.png
image-68.png
  1. is the ground wire
  2. is the Data cable
  3. is the Power cable
  4. Cutting line
  5. Direction the current and data is travelling on the strip.
image-69.png
  1. Ground wire
  2. Power wire
  3. Ground to Rj 45 white/orange wire. We will call it Ground RJ in this guide
  4. Data wire to orange Rj45 wire.
  5. This power cable is not going to be used.

Now you will take a RJ45 cable and strip the end. We will only use the orange and white/orange wire

image-70.png

You will solder the white wire from the LEDstrip to the white/orange wire of the RJ45 cable

You will solder the green ( data cable ) from the strip to the orange wire of the RJ45 cable

s1-1-640x480.png

Connect the red wire to the positive lead of the power supply ( voltage required for your strip, it will say on it )

s2-1-640x480.png
2019-03-15_17-08-59.png

You will connect the RJ45 cable to the jack on the right side of the OCTO2811

2019-03-15_20-08-38.png

We would not recommend anything under 60LED/M for your cabinet. If you can afford, go for the 144LED/M. The 144LED/M is often only offered in length of 1 meter. Our experience with the 144 has some mixed feelings. We ordered the strip from china and only had 1 cutting spot in the middle. Soldering the pins on the strip was very frustrating and difficult. We are no expert at soldering but we are not at our 1st project either.

Here’s what the Strip arrangement should look like

image-161.png

You will need the following software:

Arduino: https://www.arduino.cc/en/Main/Software

Teensyduino: https://www.pjrc.com/teensy/td_download.html

Teensy Strip Controller: Get it on GitHub or Direct Download

DOF R3: Get it Here

Install the Arduino software first, then the Teensy duino.

Extract the Zipped Teensystripcontroller and rename the folder TeensyStripController-master to TeensyStripController

Open The Teensy Software and select the board Teensy 3.1/3.2

2019-06-09_20-15-24.png

And take note of the port as you will need it for the cabinet.xml

2019-06-09_20-20-28.png

Now we are ready to send the software to the arduino.

Open the TeensyStripController Arduino file and send to your Arduino by pressing the upload button.

2019-06-09_20-24-29.png

PART 4 ( THE CABINET FILE )

 Your Cabinet will need the following to work with addressable led

 – Cabinet.xml

– GlobalConfig.xml

– GlobalConfig_B2Sserver.xml

The cabinet will not get created or can not be automatically generated. You have to start from a sample or make your own. 

here you can find a link to our cabinet.xml

Install the Arduino software first, then the Teensy duino.

Extract the Zipped Teensystripcontroller and rename the folder TeensyStripController-master to TeensyStripController

Open The Teensy Software and select the board Teensy 3.1/3.2

2019-06-09_20-15-24.png

And take note of the port as you will need it for the cabinet.xml

2019-06-09_20-20-28.png

Now we are ready to send the software to the arduino.

Open the TeensyStripController Arduino file and send to your Arduino by pressing the upload button.

2019-06-09_20-24-29.png

PART 4 ( THE CABINET FILE )

 Your Cabinet will need the following to work with addressable led

 – Cabinet.xml

– GlobalConfig.xml

– GlobalConfig_B2Sserver.xml

The cabinet will not get created or can not be automatically generated. You have to start from a sample or make your own. 

here you can find a link to the 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>MajorFrenchy</Name> ( Name of your cabinet ) <OutputControllers> <TeensyStripController> <Name>LedStripController</Name> <NumberOfLedsStrip1>599</NumberOfLedsStrip1> ( # of total LED’s in your cabinet )
<NumberOfLedsStrip2>0</NumberOfLedsStrip2> <NumberOfLedsStrip3>0</NumberOfLedsStrip3> <NumberOfLedsStrip4>0</NumberOfLedsStrip4> <NumberOfLedsStrip5>0</NumberOfLedsStrip5> <NumberOfLedsStrip6>0</NumberOfLedsStrip6> <NumberOfLedsStrip7>0</NumberOfLedsStrip7> <NumberOfLedsStrip8>0</NumberOfLedsStrip8> <ComPortName>COM6</ComPortName> . ( Teensy COM port ) </TeensyStripController> </OutputControllers> <Toys> <LedStrip> <Name>BackBoard</Name> ( Name of your dot matrix ) <Width>32</Width> ( # of LED width of the matrix )
<Height>8</Height>( # of LED for the height of the matrix ) <LedStripArrangement>TopDownAlternateLeftRight</LedStripArrangement> ( This is basically the direction the led are travelling on the strip ) LED Arrangement see picture in post below )
<ColorOrder>GRB</ColorOrder>
<FirstLedNumber>1</FirstLedNumber> ( first LED # in the array ) <FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <OutputControllerName>LedStripController</OutputControllerName> </LedStrip>

<LedStrip>
<Name>Sideboard Right</Name>
<Width>1</Width>
<Height>134</Height> <LedStripArrangement>TopDownRightLeft</LedStripArrangement> <ColorOrder>GRB</ColorOrder>
<FirstLedNumber>257</FirstLedNumber> ( 1st LED in the array, we had 256 in the previous, this one is then 257 ) <FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <OutputControllerName>LedStripController</OutputControllerName> </LedStrip>

<LedStrip> <Name>Sideboard Left</Name> <Width>1</Width>
<Height>134</Height> <LedStripArrangement>BottomUpLeftRight</LedStripArrangement> <ColorOrder>GRB</ColorOrder>
<FirstLedNumber>401</FirstLedNumber> <FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <OutputControllerName>LedStripController</OutputControllerName> </LedStrip>

<LedStrip> <Name>Ring Left</Name>
<Width>1</Width>
<Height>24</Height> <LedStripArrangement>BottomUpLeftRight</LedStripArrangement> <ColorOrder>GRB</ColorOrder>
<FirstLedNumber>545</FirstLedNumber> <FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <OutputControllerName>LedStripController</OutputControllerName> </LedStrip> <LedStrip>

<Name>Ring Right</Name>
<Width>1</Width>
<Height>24</Height> <LedStripArrangement>TopDownRightLeft</LedStripArrangement> <ColorOrder>GRB</ColorOrder>
<FirstLedNumber>569</FirstLedNumber> <FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <OutputControllerName>LedStripController</OutputControllerName> </LedStrip> <LedStrip> <Name>car</Name> <Width>1</Width> <Height>7</Height> <LedStripArrangement>TopDownRightLeft</LedStripArrangement> <ColorOrder>GRB</ColorOrder> <FirstLedNumber>593</FirstLedNumber> <FadingCurveName>SwissLizardsLedCurve</FadingCurveName> <OutputControllerName>LedStripController</OutputControllerName> </LedStrip> <LedWizEquivalent> <Name>LedWizEquivalent 30</Name> <Outputs> <LedWizEquivalentOutput> <OutputName>BackBoard</OutputName> <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
( These are the ports used on the LED-wiz, Each strip uses 3 Ports ) </LedWizEquivalentOutput> <LedWizEquivalentOutput> <OutputName>Sideboard Right</OutputName> <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber> </LedWizEquivalentOutput> <LedWizEquivalentOutput> <OutputName>Sideboard Left</OutputName> <LedWizEquivalentOutputNumber>7</LedWizEquivalentOutputNumber> </LedWizEquivalentOutput> <LedWizEquivalentOutput> <OutputName>Ring Left</OutputName> <LedWizEquivalentOutputNumber>10</LedWizEquivalentOutputNumber> </LedWizEquivalentOutput> <LedWizEquivalentOutput> <OutputName>Ring Right</OutputName> <LedWizEquivalentOutputNumber>13</LedWizEquivalentOutputNumber> </LedWizEquivalentOutput> <LedWizEquivalentOutput> <OutputName>car</OutputName> <LedWizEquivalentOutputNumber>16</LedWizEquivalentOutputNumber> </LedWizEquivalentOutput> </Outputs> <LedWizNumber>30</LedWizNumber> </LedWizEquivalent> </Toys> </Cabinet>
LedStripArrangementEnum.jpg

Direction travelled by the power on the strip. You will need to enter that into the Cabinet.xml

Once your cabinet.xml is set, it will be placed in the C:/DirectOutput/Config

Run Global Config in the DirectOutput folder and point to your cabinet file. You will then save as GlobalConfig.xml in the C:/DirectOutput/Config.

2019-06-09_20-58-28.png

You will need to save as again and name it GlobalConfig_B2SServer.xml and save it in the same location.

***** Extra ******

if you wish to have the dot matrix effects enabled you will have to Save as a 3rd time and call the file GlobalConfig_PinballX. 

Run RegisterDirectOutputcomobject as administrator and you should get a positive confirmation that DOF is running.

Troubleshooting

  • The Dot matrix works but the shapes are all weird.
  • Try to flash Version Alpha Hex
  • Check the <Width>32</Width> and <Height>8</Height> and make sure they are not reversed.