Tutorial: control a LED Matrix with Glediator + Arduino English subtitles, German

Hey guys, this is Nils from hamburgtech and I will show you how to control digital LEDs with the GLEDIATOR software and an Arduino.

LEDs like the WS2812B, and how to connect and what power supply is needed.

How the Arduino runs and what sketch do you need.

I will show you how to get GLEDIATOR running.

I will go through it step by step.

Here we go! If you have no Java, you need to download it.

Google for: Java JDK download, if you have a 64 Bit computer, google Java JDK 64 Bit Go to the Java page and download the right version for your OS.

And install it.

I will not, I allready installed it 😛 If you dont know if Java is installed or not.

Or if you have different versions.

You can use RUN to open the console then enter: java -version and you will see your active java installation, if not you got no java installed.

That will be helpful later.

Now you need to download the RXTX.

Its also important to download for 64 Bit if you have a 64 Bit computer.

On this page you can download the RXTX.

Download the right version for your OS.

The installation is the next step of the tutorial.

So you will get this .

zip, when you unzip it, it will look like this.

You will find a few files in the folder.

The most important are this 3 files and the install.

txt Open install.

txt with a text editor.

It will show you where to put the three files.

Go to programms -> Java -> and get into the Java folder of you active Java version, you could see with run.

Now look where to put what files.

Then just copy the right file into the right folder of Java.

Just copy them and you are good to go.

If you would not, GLEDIATOR could send no data.

Its for the communication between Java and your serial port.

Bla.

Bla.

Bla.

If you don't have the Arduino IDE installed, you need to download it.

You will need it to get the sketch (the programm) onto your Arduino.

You will get it from the official website.

Choose the right OSand download it.

Install it and you are ready for the next step.

Maybe you will need the FTDI driver.

You could download it from this page.

And again choose the right OS and Bit.

Without this driver the Arduino will not work.

So better download it 😉 Now we download the GLEDIATOR Software itself.

Go to solderlab.

de thats the official website.

Go to the download section Software Projects Glediator then download the current version You can see where the name comes from.

When you scroll down you will find the Arduino sketches (programms).

For example the WS2801 sketch for Arduino UNO.

Or for Arduino MEGA.

The MEGA can control up to 1000 LEDs.

A common Arduino can't handle so much LEDs.

I downloaded the WS2812 sketch This sketch is for WS2811 or WS2812B and so on.

That are the digital LEDs with 3 cabels.

One cabel for data, one for +5 volts and one for ground / minus.

The WS2801 have four cables.

They have a data and a clock cable and + and – .

Open the downloaded file with the Arduino IDE It will look like this.

Bla.

Bla.

Bla.

This is the important part! Here you enter what pin of the Arduino you are going to use and how many LEDs you got.

Enter the right numbers.

I will use pin 6 and control 50 LEDs.

You can check the sketch.

Go to Tools -> Board and choose the right Arduino board and see if the arduino is connected.

Now you can upload, make sure to connect the Arduino first and then open the Arduino IDE.

Now the sketch is on the Arduino and its ready.

Now we go to the glediator.

zip If you unzip it, you will get the dist and the OSX folder open the dist folder doubleclick the Glediator.

jar to run the programm.

Here you can see the interface of the programm There is a left and a right monitor where you can choose effects.

You can combine 5 effects on each side.

In the middle is a mixed monitor, where the left and the right one are mixed together.

You can decide how much to mix in from what side.

You will see how its mixed together.

There a several methods how it should be mixed, just play around.

At the bottom you will find a solution for sound to light control.

With Strobe you can let your LEDs blink to the beat of some nice music 😉 On the left side are some example animations.

You can click on them and then use Set L or Set R.

The matrix looks ugly because i set it to X: 50 LED and Y: 1 LED.

You can only change it if serial is closed.

Now i can change it 😀 Now I enter X: 5 LED and Y: 10 LED so I will still use my 50 LEDs but in another resolution.

Now the LED matrix would look like this.

Just play around with it.

But I will go with 50 and 1 for this tutorial.

The LEDs will be in a long chain.

One line stands for one LED.

If you click on output, you will see if the Arduino is connected.

Mine is on COM5.

The Baud-Rate is the speed of the data transfer.

Set it to 1.

000.

000 If you use a MAC you need to use a smaller Baud-Rate.

230.

400 is the right one.

And the sketch must be changed.

.

.

Windows is okay with 1.

000.

000.

If you click serial open and everything is fine, the LEDs would light up.

Choose the Glediator protocol, the rest is not important now.

And we choose single pixels.

It's for digital LEDs.

Pixel order is important for GLEDIATOR, it will tell GLEDIATOR how your LEDs are set up and what LED is the first one where the data signal comes in If you are not sure just play around with it and stop when the LEDs will do exactly the same like the mixed monitor in the middle.

Then it is the correct adjustment.

Color Order is also important, if its wrong the LEDs could be blue when you want them red and so on.

If the LEDs do not show the colors as shown on the middle monitor, you will know the color order is not correct.

So maybe the monitor shows purple but the LEDs are orange.

If you see that you know GLEDIATOR is using the green and the red LED, but right would be blue and red.

So make sure you set it right, and again just play around with it until its right.

Serial open is used to start the data transfer and light up the LEDs.

On the right side you can set a playlist.

Click on an animation on the left side and then use the Add to playlist button, to add the animation to your playlist.

With start playing you can start the playlist.

Now GLEDIATOR will go to the animations itself and you can sit back and relax.

You can set the time for one scene and for the fading.

In the middle you will see what scene is active right now.

This feature is really nice, cause you can set up a nice playlist and let it run all night.

Because I talked way too much.

.

.

you will see how to connect the Arduino and the LEDs in part 2 of the video.

If you have any questions feel free to ask in english or german.

Thanks for whatching!.

Leave a Reply