Velleman VM207 User Manual

Manual is about: 64 LED RGB MATRIX

Summary of VM207

  • Page 1

    W w w . V e l l e m a n p r o j e c t s . E u user manual 64 led rgb matrix.

  • Page 2

    Table of contents led’s get started! Preparing the 64 led rgb matrix 3 data lines 3 power supply 6 controlling the 64 led rgb matrix 8 what microcontroller should i use ? 8 connecting a panel to an arduino™ uno 8 adafruit™ neopixel library 9 adafruit™ neomatrix library 13 mounting the 64 led rgb mat...

  • Page 3

    3 k8403 user manual before we go into detail about how to write software and display something on your panel(s) we’ll explain how to prepare your panel(s) correctly. Data lines before adding power, you need to understand how the ws2812 leds are connected to each other. Each led acts as a shift regis...

  • Page 4

    4 k8403 user manual you can see that the panel is not going to work right away because the first row just ends and isn’t connected to anything. The display data would just stop at the end of the first row of leds and not continue through the panel. To use the panel as an 8 x 8 display and let the di...

  • Page 5

    5 k8403 user manual the drawing below shows how you can tile two (or more) panel(s) next to each other by connecting the solder pads at the sides with some bare wire. You can see that a row now exists out of 16 leds instead of 8. You can also tile the panels vertically, this is done by just connecti...

  • Page 6

    6 k8403 user manual power supply powering the vm207 is a bit simpler. There are 3 contacts labeled dv+, lv+ and gnd, they respectively stand for data voltage +, led voltage +, and ground. The ws2812 leds that are mounted on the panels are the 6 pin variant and these have separate pins for the 5 v fo...

  • Page 7

    7 k8403 user manual when you have more panels you will need to place them in parallel. When you are having a lot of panels, make sure you are using wires of the correct gauge or use multiple wires from the supply to the panels! Fig. 6 some things to remember • always use a 1000 µf capacitor (include...

  • Page 8

    8 k8403 user manual controlling the 64 led rgb matrix what microcontroller should i use? You can use a lot of microcontrollers or microcontroller platforms to control your panel. But to make things easy and fast, we are going to explain how you use your panel with a microcontroller platform that is ...

  • Page 9

    9 k8403 user manual adafruit neopixel library first we will explain the adafruit neopixel library. This library written by adafruit can control a whole bunch of ws2812 leds seperatly. So this isn’t exactly useful when you want to draw text or shapes on your panel but it is when you want to control e...

  • Page 10

    10 k8403 user manual next we see this line: adafruit_neopixel pixels = adafruit_neopixel(numpixels, pin, neo_grb + neo_khz800); this line gives a name to our bunch of leds, here this is “pixels”. You could easily change this to “panel” or something else but you would have to change all the occurrenc...

  • Page 11

    11 k8403 user manual next, we have the main loop function: void loop() { // for a set of neopixels the first neopixel is 0, second is 1, all the way up to the count of pix- els minus one. For(int i=0;i // pixels.Color takes rgb values, from 0,0,0 up to 255,255,255 pixels.Setpixelcolor(i, pixels.Colo...

  • Page 12

    12 k8403 user manual pixels.Show(); // this sends the updated pixel color to the hardware. Delay(delayval); // delay for a period of time (in milliseconds). } for(int i=0;i pixels.Setpixelcolor(i, pixels.Color(0,0,0)); // no color (dark). } pixels.Show(); //updating the panel to show nothing. } this...

  • Page 13

    13 k8403 user manual // on a trinket or gemma we suggest changing this to 1 #define pin 6 // how many neopixels are attached to the arduino? #define numpixels 64 // when we setup the neopixel library, we tell it how many pixels, and which pin to use to send sig- nals. // note that for older neopixel...

  • Page 14

    14 k8403 user manual adafruit neomatrix library if you want to display text or draw shapes on your panel(s) you can use the adafruit neomatrix library. To make this library work you actually also need to use the adafruit gfx libraries. This one takes care of the shapes, letters and colours while the...

  • Page 15

    15 k8403 user manual // example for neopixel shield. In this application we’d like to use it // as a 5x8 tall matrix, with the usb port positioned at the top of the // arduino. When held that way, the first pixel is at the top right, and // lines are arranged in columns, progressive order. The shiel...

  • Page 16

    16 k8403 user manual const uint16_t colors[] = { matrix.Color(255, 0, 0), matrix.Color(0, 255, 0), matrix.Color(0, 0, 255) }; in the setup function there are a few things we must take care of, but the most important part is the matrix. Begin(); function as this will initialise the panel. All the cod...

  • Page 17

    17 k8403 user manual neo_matrix_rows + neo_matrix_progressive, neo_grb + neo_khz800); const uint16_t colors[] = { matrix.Color(255, 0, 0), matrix.Color(0, 255, 0), matrix.Color(0, 0, 255) }; void setup() { matrix.Begin(); matrix.Settextwrap(false); matrix.Setbrightness(40); matrix.Settextcolor(color...

  • Page 18

    18 k8403 user manual mounting the 64 led rgb matrix the panels have mounting holes in a pattern that tiles when you use multiple panels. These holes are 2 mm in diameter so use a small m2 screw to mount the panels. They are spaced 72 mm apart and staggered. See the drawing below: mounting holes.

  • Page 19

    19 k8403 user manual you can download the following mounting brackets if you have a 3d printer: vm207-tile_mount.Stl several mounts connect together with m3 x 10 bolts. 3d print mounting brackets.

  • Page 20

    20 k8403 user manual vm207-cube_mount.Stl requires 6 x vm207 panels. Pay extra attention to how the panels need to be connected to each other!.

  • Page 21

    Ordercode: vm207 revision: hvm207’1 velleman nv - legen heirweg 33, gavere (belgium) vellemanprojects.Com vellemanprojects @velleman_rnd.