Jump to content

Addressable LED guide

Recommended Posts

  • Content Provider




                                                                 ----------------------------------------------   ADDRESSABLE LED GUIDE   ------------------------------------------

                                                                 ----------------------------------------------       BY MAJOR FRENCHY        -------------------------------------------


Link for the Video tutorial : https://youtu.be/dWaGLqg5s50



PART 1 ( The hardware )


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





Teensy 3.1 or 3.2 




Octo 2811



Rj45 cable







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. 



Take your time soldering. Heat up the pin and let the solder melt and fill the hole.


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:





  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.



  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



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





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







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




Here's what the Strip arrangement should look like



***** The Power supply near # 6 is the same one as shown on the bottom. We placed it there to make the drawing easier to read. )



PART 3 ( The software )


***You have to have a fully functional DOF setup before setting this up ***


We need a few software to run our addressable led strips


- Arduino 

- Teensyduino

- Teensystripcontroller

- DOF ( Direct output framework )


We have links in our download section for your convenience. ( http://mameinabox.com/downloads/ )


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




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




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.





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




Here's the code we used for our cabinet

<?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 )

<NumberOfLedsStrip1>599</NumberOfLedsStrip1> ( # of total LED's in your cabinet )
<ComPortName>COM6</ComPortName> .    ( Teensy COM port )


  <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 ) )
  <FirstLedNumber>1</FirstLedNumber> ( first LED # in the array )
  <Name>Sideboard Right</Name>
  <FirstLedNumber>257</FirstLedNumber> ( 1st LED in the array, we had 256 in the previous, this one is then 257 )
  <Name>Sideboard Left</Name>

  <Name>Ring Left</Name>
  <Name>Ring Right</Name>



   <Name>LedWizEquivalent 30</Name>

    <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber> ( These are the ports used on the LED-wiz, Each strip uses 3 Ports )

    <OutputName>Sideboard Right</OutputName>

    <OutputName>Sideboard Left</OutputName>

    <OutputName>Ring Left</OutputName>
    <OutputName>Ring Right</OutputName>





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.




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.






You are Done. Again we have more details in the video. 



---------- Some additional info on our site: http://mameinabox.com/addressable-led/

---------- Parts description and list ( Amazon ) http://mameinabox.com/parts/us/



Here's a list of all Virtual Pinball Tutorials we have on our channel:


- Pinball History: https://www.youtube....h?v=yvS6slWbBh4

- Parts list: https://www.youtube....v=pPA0OhFuBBg

- Cabinet restoration: https://www.youtube....h?v=ikYdxunVAE8

- Cabinet Priming ,paint and repairing front coin door: https://www.youtube....v=KEiOHisq_Xk

- Removing rust from Pinball Parts ( The easy way ) : https://www.youtube....h?v=m3NnLbISG5U

- Self adhesive vinyl installation ( Decals ) : https://www.youtube....h?v=mnNZZ1BQM0A

- Installing cross supports and contactors: https://www.youtube....h?v=EAT64hAlM-g

- Installing components mounting board : https://www.youtube....h?v=8l3vYTZgX8U

- Building the DMD with a CNC machine : https://www.youtube....v=TxMS4UInSm4

- Setting up Addressable LED ring in speaker grill: https://www.youtube....h?v=-zvSngqQz24

- Setting up Dual Monitor in the Back box: https://www.youtube....v=qekSVIv0QlA

- Installing Diode on toys: https://www.youtube....h?v=NyzH1pVlWX0

- Wiring contactor, Fuses and power step down: https://www.youtube....h?v=7Lx1n6cJ-g8

- Installing buttons in the cabinet: https://www.youtube....h?v=rVnDZkJR4sg

- Installing digital plunger Kit: https://www.youtube....h?v=aeLVIH5NPjM

- Computer hardware and software the essentials: https://www.youtube....v=EkDcCitfKJY

- Direct Output Framework ( DOF ) setup: https://youtu.be/qbfe12eL9_Y

- Led-wiz: https://youtu.be/cxieZfF1lrQ 

- Saintsmart Board: https://youtu.be/zj8qWDqQhgI

- Setting up Visual Pinball: https://www.youtube....v=SN3S6RtTko0

- Setting up Future Pinball: https://www.youtube....v=itsxm2E8vQQ

- Xpadder: https://www.youtube....v=2Kohl6KHP80

- Pinball Arcade: https://www.youtube....v=mYqM8jRhF08

- DOF Config Overview: https://www.youtube....h?v=OR-CX1Xbu7U

- Roms: https://www.youtube....?v=Y3GHdaueCMY

- Pinball FX3: https://www.youtube....?v=xf2kafUfNGc

- Setting up Pinball X: https://www.youtube....?v=zRhNhlpiq_o

- Future DMDhttps://www.youtube....h?v=P7_vA8CHoNk

- Setting up BAM ( Better Arcade Mode ) https://www.youtube....h?v=FcF4SphaBW4

- Connecting a Gear motor: https://www.youtube....h?v=j6o5fRiqQGg

- DOFLINX: https://www.youtube....?v=-BwxsyvU-Y8

- Installing a shaker motor: https://youtu.be/DMwRbsBr_oM

- Installing a Knocker: https://www.youtube....h?v=4XLD2l4DlE0

- Setting up Ultra DMDhttps://www.youtube....?v=-igS-TuwVWQ



Best regards


Major Frenchy

Link to comment
Share on other sites

  • 4 weeks later...

Thanks for this guide Major Frenchy - all the information in one place ?

Just had one issue - your guide (and on other forums) says :

"You will need to save as again and name it GlobalConfig_B2S.Server and save it in the same location."

There shouldn't be a '.' in it - it should be GlobalConfig_B2SServer (i.e. GlobalConfig_B2SServer.xml)

Kept me puzzling for a while, but sorted it and works great!

Thanks again - off to check out more of your videos. ?



Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...
  • 2 months later...

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...