Difference between revisions of "Manual MR16"

From DiyLightAnimation
Jump to: navigation, search
(STEP 1)
(v2 done by mokeefe)
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
[[Image:MR16-5.jpg|600px|Thumb]]
+
[[Image:MR16-2-16.JPG|800px|Thumb]]
  
  
Line 15: Line 15:
  
  
= Parts List =
+
Case - Keptel CG-500
  
{| class="prettytable"
+
= Preparing to Build =
| '''Mouser Part #'''
+
The next thing we want is to make sure you are up to speed on soldering and electrostatic protection of the components in your kit. If you are not an experienced printed circuit builder I recommend you visit the site:
| '''Description'''
+
| '''Quantity'''
+
  
|-
+
[http://curiousinventor.com/guides/How_To_Solder http://curiousinventor.com/guides/How_To_Solder]
| 844-IRL530PBF
+
| Single-Gate MOSFET Transistors N-Chan 100V 15 Amp
+
| <div align="right">16</div>
+
  
|-
+
And check out its extremely good video on soldering correctly. Even if you are an expert it is a good video to watch.  
| 534-1287
+
| Quick Fit Terminals .250 PCB TERMINAL
+
| <div align="right">34</div>
+
  
|-
 
| 511-ST485BN
 
| 5V RS-485 Interfaces Hi-Spd Lo Pwr Trans
 
| <div align="right">1</div>
 
  
|-
+
Another issue of which you must be aware: some electronic components can be damaged easily by electrostatic charges which can build up in you or your equipment. For example, we have all been shocked by walking on carpet and grabbing a door knob. This is an electrostatic charge in action. It takes much less than this to hurt some of our parts. If you are unfamiliar with procedures to protect from this please use the Internet to research it before taking your parts out of their packaging. '''You can damage your parts if handled incorrectly! '''
| 595-TLC5941NT
+
| Drivers- LED Drivers 4096 Step Grayscale LED Driver
+
| <div align="right">1</div>
+
  
|-
 
| 571-1-390261-2
 
| IC Sockets 8P ECONOMY TIN
 
| <div align="right">1</div>
 
  
|-
+
You will need a few tools that do not come with your kit to build the MR-16. You will need a good soldering iron. I cannot stress enough that a good soldering iron makes a big difference in these projects. The little 15w cheap irons are more apt to hurt your parts by taking too long to get them up to soldering temperature than a good iron which can bring it up to temp very fast. Remember, damage is more about how long you keep the part hot than it is how hot you get it (within reasonable soldering temperatures). A good soldering iron can be had reasonably. You can purchase one for $30 to $60. Most anything that is called a soldering station -- where there is a temperature control separate from the iron itself -- will more than likely be fine, but do make sure it is rated for more than 15 watts. I use a cheap Weller like this one
| 571-1-390261-9
+
| IC Sockets 28P ECONOMY TIN SKT
+
| <div align="right">1</div>
+
  
|-
+
[http://www.amazon.com/Weller-Soldering-Station-WLC100-120V/dp/B000ICEMYA http://www.amazon.com/Weller-Soldering-Station-WLC100-120V/dp/B000ICEMYA]
| 571-1-390261-5
+
| IC Sockets 18P ECONOMY TIN
+
| <div align="right">1</div>
+
  
|-
+
It works fine and is inexpensive. I even saw this model on sale at Sears. Radio Shack has a very nice looking digital model on sale, but be careful as it does not allow you to replace the tip. Tips are a part that wear out and need replacing from time to time. While we are on tips: get some extras. I recommend you get the smaller chisel shape as these work very well for all-around board building.
| 140-XRL25V100-RC
+
| Radial Electrolytic Capacitors 25V 100uF 20%
+
| <div align="right">1</div>
+
  
|-
 
| 299-120-RC
 
| 1/8W 5% Carbon Film Resistors 120ohms
 
| <div align="right">1</div>
 
  
|-
+
You need solder, so buy some. I recommend .032 size as the larger sizes tend to cause you to put too much solder on. How much? Go ahead and get a 1 lb. spool, as it’s cheaper in large volume and you will go through it faster than you think. Make sure you are getting rosin core for electronics; they make some solder for plumbing that has acid as the core (this is a bad mistake to make).
| 299-4.7K-RC
+
| 1/8W 5% Carbon Film Resistors 4.7Kohms
+
| <div align="right">1</div>
+
  
|-
 
| 538-22-03-2021
 
| .100 K.K. Connectors VERT PCB HDR 2P TIN PLATING
 
| <div align="right">1</div>
 
  
|-
+
You need some work area to work with good lighting. Do not attempt to solder circuit boards in poorly lighted areas. If you wear reading glasses, go get them -- you will want them I promise you. I recommend a set of helping hands like this: [http://www.radioshack.com/product/index.jsp?productId=3928375 http://www.radioshack.com/product/index.jsp?productId=3928375]
| 538-22-03-2031
+
| .100 K.K. Connectors VERT PCB HDR 3P TIN PLATING
+
| <div align="right">1</div>
+
  
|-
+
= STEP 1 - Installing the Resistors and Ceramic Capacitors=
| 581-SA115C104KAR
+
| Multilayer Ceramic Capacitors (MLCC) - Leaded 50volts 0.1uF 10% X7R
+
| <div align="right">19</div>
+
  
|-
 
| 649-65474-002LF
 
| Bergcon Connectors SHUNT TIN
 
| <div align="right">2</div>
 
  
|-
+
[[Image:MR16-2-4.JPG|800px|Thumb|]]
| 815-ACH-40-EK
+
| Oscillators 40MHz 5V
+
| <div align="right">1</div>
+
  
|-
 
| 579-PIC18F1220-E/P
 
| PICmicro - PIC18Fxxx Flash MCUs 4KB 256 RAM 16 I/O
 
| <div align="right">1</div>
 
  
|-
+
Install the 4 0.1uF ceramic capacitors as marked (3 near the top and 1 in the middle right). The ceramic capacitors are not polarized so orientation does not matter.
| 571-5520260-4
+
| Modular Jacks 8P8C TOP ENTRY
+
| <div align="right">2</div>
+
  
|-
+
Install the 180 ohm (brown-gray-brown) resistor in the upper left corner. The orientation on all of the resistors does not matter, although you will end up with a cleaner looking build if you orient them in a consistent way.
| 299-3K-RC
+
| 1/8W 5% Carbon Film Resistors 3Kohms
+
| <div align="right">16</div>
+
  
|-
+
Install the 1K ohm (brown-black red) resistor below the area marked XTAL.
| 511-L7805ABV
+
| Linear Regulators - Standard 5.0V 1.0A Positive
+
| <div align="right">1</div>
+
  
|}
+
Install the 120 ohm (brown-red-brown) resistor in the very upper middle area.
  
Case - Keptel CG-500
 
  
= Preparing to Build =
+
'''If you are doing the standard build and will be using the MOSFET's for high current operation, install the following:'''
The next thing we want is to make sure you are up to speed on soldering and electrostatic protection of the components in your kit. If you are not an experienced printed circuit builder I recommend you visit the site:
+
  
[http://curiousinventor.com/guides/How_To_Solder http://curiousinventor.com/guides/How_To_Solder]
+
Install the 16 3.0K ohm (orange-black-black-brown-brown) resistors in the marked locations across the middle of the PCB.  
  
And check out its extremely good video on soldering correctly. Even if you are an expert it is a good video to watch.  
+
Install the 16 0.1uF ceramic capacitors as marked (across the middle).
  
 +
Install the 4.7K ohm (yellow-violet-red) resistor in the location above the label "Current Limiter".
  
Another issue of which you must be aware: some electronic components can be damaged easily by electrostatic charges which can build up in you or your equipment. For example, we have all been shocked by walking on carpet and grabbing a door knob. This is an electrostatic charge in action. It takes much less than this to hurt some of our parts. If you are unfamiliar with procedures to protect from this please use the Internet to research it before taking your parts out of their packaging. '''You can damage your parts if handled incorrectly! '''
 
  
 +
'''If, however, you plan to jumper where the ovals are marked and leave the MOSFET's off for constant current drive up to 100ma per channel, then:'''
  
You will need a few tools that do not come with your kit to build the MR-16. You will need a good soldering iron. I cannot stress enough that a good soldering iron makes a big difference in these projects. The little 15w cheap irons are more apt to hurt your parts by taking too long to get them up to soldering temperature than a good iron which can bring it up to temp very fast. Remember, damage is more about how long you keep the part hot than it is how hot you get it (within reasonable soldering temperatures). A good soldering iron can be had reasonably. You can purchase one for $30 to $60. Most anything that is called a soldering station -- where there is a temperature control separate from the iron itself -- will more than likely be fine, but do make sure it is rated for more than 15 watts. I use a cheap Weller like this one
+
Do '''NOT''' install the 16 3K resistor and 16 0.1uF capacitors.
  
[http://www.amazon.com/Weller-Soldering-Station-WLC100-120V/dp/B000ICEMYA http://www.amazon.com/Weller-Soldering-Station-WLC100-120V/dp/B000ICEMYA]
+
Choose a resistor to match the current limit you need and install it in place of the 4.7K ohm resistor. The correct value for the current needed can be located in the datasheet for the TLC5940NT chip. Common currents are:
 +
*20 ma - Use 1.91K ohm.
 +
*100 ma - Use 380 ohm.
  
It works fine and is inexpensive. I even saw this model on sale at Sears. Radio Shack has a very nice looking digital model on sale, but be careful as it does not allow you to replace the tip. Tips are a part that wear out and need replacing from time to time. While we are on tips: get some extras. I recommend you get the smaller chisel shape as these work very well for all-around board building.
 
  
 +
Solder and trim all excess leads.
  
You need solder, so buy some. I recommend .032 size as the larger sizes tend to cause you to put too much solder on. How much? Go ahead and get a 1 lb. spool, as it’s cheaper in large volume and you will go through it faster than you think. Make sure you are getting rosin core for electronics; they make some solder for plumbing that has acid as the core (this is a bad mistake to make).
 
  
 +
'''That’s a lot of soldering so take a break'''. If you try to do too much in one sitting you will start making too many mistakes. Mistakes with soldering are costly in time.
  
You need some work area to work with good lighting. Do not attempt to solder circuit boards in poorly lighted areas. If you wear reading glasses, go get them -- you will want them I promise you. I recommend a set of helping hands like this: [http://www.radioshack.com/product/index.jsp?productId=2104639&cp=&parentPage=search http://www.radioshack.com/product/index.jsp?productId=2104639&cp=&parentPage=search]
 
  
= STEP 1 =
+
= STEP 2 - Installing the IC Sockets and Oscillator=
Install all of the Capacitors and Resistors
+
  
  
[[Image:MR16-1.jpg|600px|Thumb|]]
+
[[Image:MR16-2-6.JPG|800px|Thumb|]]
  
  
Three of the .1uf capacitors need to be put on the places above the chips marked for them now.
+
Install the 8 pin IC socket in the area labeled RS485.
Install the 4.7k ohm resistor in the marked location above the big chip if you are going to use the mosfets for high current.
+
  
If on the other hand you plan to jumper the mosfets where the ovals marks are and leave them off for constant current drive up to 100ma per channel. Then you need to choose a resistor to match the current limit you need and place it here. The correct value for the current needed can be located in the datasheet for the TLC5940NT chip.  
+
Install the 18 pin IC socket in the area labeled 18F1220.
  
Common currents are:
+
Install the 28 pin IC socket in the area labeled TLC5940NT.
  
20 ma  -  Use 1.91k ohm  such as Mouser pn# 660-MF1/4DCT52R1911F.
+
Line up the notch on the sockets with the notched end of the drawings on the PCB and then solder all the pins.
  
100 ma -  Use 380 ohm  such as Mouser pn# 660-MF1/4LCT52R391J.  
+
Some sockets now come with slightly contoured pins that hold them in place in the PCB prior to soldering. If you do not have this kind of socket you will want to use a method to hold it in place while soldering. Everyone has their own way of holding the socket in. I like to turn the board over to the back and put the least amount of solder I can over one of the middle holes on one side of the socket. This allows you to put the pins of the other side of the socket through and hold the socket while pushing extremely easy. Then you heat that one hole on the back. When the solder melts the socket will drop in. remove the iron and it will cool and hold the socket in until you are done. Make sure to reheat this pin while doing the others to insure you have a good joint. Some people prefer to use tape to hold them in and some even super glue them on first and then solder. If you use tape then the painter’s masking tape is a good option as it does not leave any residue behind when it is removed. Make sure your socket is in the correct holes and that it faces the correct way and then solder the other pins in.
  
  
Then install the 120 ohm resistor at the top of the board’s center where it is marked.
+
Locate the 40 MHz oscillator module. It is a shiny square unit with four pins. Install it in the area marked XTAL. The oscillator must also be oriented properly. You will notice a small dot on one corner of the component. This should line up with the white dot on the board. The corner with the dot will also have a square corner instead of rounded corners. Solder the four pins to the board.
  
 +
= STEP 3 - Installing the Spade Terminals=
  
You can see the row of paired rectangles that run across the center of the board just above the location for the 16 transistors. Each pair needs a 3k resistor and a .1 uf capacitor added to them as you can see in the above picture.
 
  
 +
[[Image:MR16-2-7.JPG|800px|Thumb|]]
  
'''That’s a lot of soldering so take a break'''. If you try to do too much in one sitting you will start making too many mistakes and mistakes with solder are costly in time.
 
  
= STEP 2 =
+
Install the quick fit spade terminals. Push each spade terminal into the 32 locations across the bottom. Then install two for power on the right side of the PCB. Flip over the board and solder them. Make sure you have good solder connections here.
Install all chip sockets and the clock module and terminals
+
  
 +
= STEP 4 - Installing the RJ-45 Connectors, Jumper Headers, Electrolytic Capacitor=
  
[[Image:MR16-3.jpg|600px|Thumb|]]
 
  
<center>MR16 board after the sockets, Clock and spade terminals were installed</center>
+
[[Image:MR16-2-10.JPG|800px|Thumb|]]
  
  
Ok, we are ready to start the second step of assembly of the MR-16. Begin by opening and removing all of the chip sockets (DIP SOCKETS). We will start with the smallest of these which is the 8 pin socket. Now all of the components have marking on the top side of the PCB board to show their location but you must pay attention to their orientation so they have the correct pins in the correct place. The socket locations all have rectangles with little round notches on one end of them with the other end being flat. The notched end is the end that pin #1 of the chip will go to. On the circuit board you will find the area marked out for the 8 pin socket and it will be labeled RS485. The marking will have one end with a round notch on it. The notches on all the sockets with the exception being the largest one will face to the right looking at the board as it is in the image above. When I reference left or right top or bottom in these instructions it will be as the board sits in the photo.
+
Install the 2 RJ-45 connectors in the locations at the top labeled DMX OUT and DMX IN. They will snap in tight so make sure to align the small pins correct and then support the board as you push them in. It takes effort to snap them in so support the PCB when you do this. Some like to put the PCB on foam and do it where the foam allows it to support the PCB. Solder the 8 pins on both sockets
  
  
All soldering takes place on the bottom or (back) of the board away from the markings. Remember that when you turn the board over to the back every thing reverses on you.  
+
Install the round 100uf electrolytic capacitor. This capacitor is polarized and needs to be installed with the correct orientation. Make sure the black band marked “-“ is '''NOT''' on the side where the “+” is labeled on the board.  
  
  
Everyone has they own way of holding the socket in until they are soldered in. I like to turn the board over to the back and put the least amount of solder I can over one of the middle holes on one side of the socket. This allows you to put the pins of the other side of the socket through and hold the socket while pushing extremely easy. Then you heat that one hole on the back. When the solder melts the socket will drop in. remove the iron and it will cool and hold the socket in until you are done. Make sure to reheat this pin while doing the others to insure you have a good joint. Some people prefer to use tape to hold them in and some even super glue them on first and then solder. Make sure your socket is in the correct holes and that it faces the correct way and then solder the other pins in. If you are happy with it you can go ahead and start soldering the other sockets in. Be careful on the largest socket as it faces different than the rest. And check each one for direction before soldering it. Pay careful attention that you are putting the right size socket in the correct set of holes
+
Install the 2 pin and the 3 pin jumper headers at the top of the PCB in the area labeled Terminate DMX and Mode.
  
 +
Solder the capacitor and headers.  Trim any excess leads.
  
Now once the sockets are all in lets find the 40 MHz clock module pn # 520tch4000-x. It is a shiny square with four pins. The spot for it is next to and right of the RS485 chip where we started as is marked XTAL. Notice that there is a white dot on the bottom right of the markings for it. A dot next to a device usually indicates where pin #1 goes. If you look on the module you will see a small black dot above one of the pins. Make sure the two dots are as close together as you can get them when you insert the module into the board. Now if it is correct solder the four pins to the board.
+
You can store the two blue jumpers by slipping them onto one of the posts of each header.
  
  
Now install the quick fit spade terminals. Start by pushing each spade into the holes, do all of the 16 channels (32) of them plus the two for power on the right hand side of the pcb. Flip over the board and solder them in. Make sure you have good solder connections here.
+
= STEP 5 - Installing the Red and Green LED's =
  
  
'''That’s a lot of soldering so take a break. '''
+
[[Image:MR16-2-11.JPG|800px|Thumb|]]
  
  
Notice that we started with fairly short items. It is best to put short items on and work out to the taller items as you go. As you progress you will understand better why this is. The image at the top of this section is what it should look like at this point.
+
Install the red LED on the left side of the board below the PWR label. It is important to install the LED oriented properly. The LED will generally have one lead that is longer than the other. This is the positive (+) lead. The LED should be installed with the longer positive lead in the hole near the "+" label on the PCB.
  
= STEP 3 =
+
Install the green LED on the right side of the board below the DMX label. Be sure to orient it properly as above.
Install RJ-45 Connectors, Blue Capacitor, Jumper Headers
+
  
 +
Solder and trim the leads.
  
[[Image:MR16-6.jpg|600px|Thumb|]]
 
  
 +
= STEP 6 - Installing the MOSFET's and Voltage Regulator=
 +
[[Image:MR16-2-13.JPG|800px|Thumb|]]
  
We will now install the RJ45 connectors for our DMX to plug into. They will snap in tight so make sure to align the small pins correct and then support the board as you push them in. It takes effort to snap them in so support the pcb while you do this. Some like to put the pcb on foam and do it where the foam allows it to go in but supports the pcb.
 
  
 +
'''If you will be doing the standard high current build:'''
  
Install the round 100uf capacitor into the board making sure the black band marked “-“ is not on the side with the “+” on the board.  
+
Install the 16 MOSFET's across the middle of the board. Make sure and face the flat metal side of the MOSFET's toward the bold white rectangle side of the outline on the board (facing right). Do not confuse the 16 MOSFET's with the one 7805 voltage regulator as they look identical.
  
  
Install the 2 pin and the 3 pin jumper headers in the board the short side of the pins go into the pcb. Sorry about the blue jumpers, I should have taken the picture without them.
+
'''If, however, you are going to use it in constant current mode:'''
  
 +
Do '''NOT''' install the MOSFET's and, instead, install 16 jumpers in the areas that have the ovals around them.
  
= STEP 4 =
 
[[Image:MR16-4.jpg|600px|Thumb|]]
 
  
<center>Locate the Mosfet 16 transistors and install them as shown above to complete the MR16 Controller.</center>
+
Solder the MOSFET's or jumpers and trim the leads.
  
 +
Install the 7805 voltage regulator in the middle right section of the PCB. Make sure and face the flat metal side of it toward the white rectangle side of the part outline on the board (left facing). Solder and trim the leads.
  
 +
= STEP 7 - Installing the Voltage Regulator Heat Sink=
  
Now let’s add the 7805 voltage regulator. It is a three pin device and goes on the right of the clock. Make sure and face the flat metal side of it toward the white rectangle side of the part outline on the board. Which is on the inside not the outer edge of the board.
 
  
(Note: The 7805 and the Mosfet transistors look exactly alike. Do not take the Mosfets out of their shipping container until you have installed the 7805.)
+
[[Image:MR16-2-14.JPG|800px|Thumb|]]
  
Time to install the Mosfets transistors. It is a three pin device and goes above the lugs. Make sure and face the flat metal side of it toward the white rectangle side of the part outline on the board. So the flat metal side is facing the 7805 voltage regulator.
 
  
= Final Assembly =
+
Install the metal heat sink onto the 7805 voltage regulator. It should be oriented so that the large flat side is facing left. Solder the two tabs of the heat sink.
Now we need to insert the chips into there correct sockets. There is not much chance of you getting them in the wrong ones as the chips are all of different pin counts. There are The board is marked for the correct part. Get them oriented correctly with pin one in the correct position. Pin one is marked on the chips as a notch on the end where pin 1 is and sometimes a dot over pin one. Make sure you put chips in very careful and do not bend any pins as they sometimes can be a challenge to insert straight. Take your time here and before pushing them in look over both side to make sure all pins are started straight. '''TAKE YOUR TIME HERE!'''
+
  
  
<center>'''Congratulations, you have a finished Controller!'''</center>
+
= STEP 8 - Installing the IC's =
  
  
Make sure to only feed the board from a regulated 12 volt DC power supply. Make sure the supply has the current capacity to handle the lights you are controlling. I am using Wirekats 32 led MR16 and they draw about .17 amps per lamp. Plan accordingly to your use.  
+
Install the TLC5940NT, 18F1220, and RS485 chips into their respective sockets. Make sure you align the notch on the end of the chip with the notch on the socket. Be  very careful and do not bend any pins as they sometimes can be a challenge to insert straight. Take your time here and before pushing them in. Look over both sides to make sure all pins are started straight.
  
  
Do not attempt to control more than 2.5 amps per channel from the MR16 controller. This is about 15 of the MR16s I am using per channel. I also recommend you keep the total controller current under 35 amps if possible.
+
'''Congratulations, you have a finished building the Lynx MR16 V2 Controller!'''
  
= Programming and Operation of the MR-16 =
 
The MR16 controller first needs to be programmed for its starting channel. This is the channel that #1 output cable will be addressed by in the DMX data. If you want this controller to handle channels 80 – 95 you would assign it the starting channel of 80.
 
  
 +
You will need to feed the board from a regulated 7 to 24 volt DC power supply (12V is typical). Make sure the supply has the current capacity to handle the lights you are controlling. For example, the WireKAT 32 LED MR16 draw about .17 amps per lamp. Plan accordingly for your use.
  
To program it we need to fire up vixen and setup a sequence with 512 channels and the plug-in setup for the Enttec DMX Pro on the com port yours is on.
 
  
 +
Do not attempt to control more than 2.5 amps per channel from the MR16 controller. I also recommend you keep the total controller current under 35 amps if possible.
  
There is a jumper on the board marked “Terminate DMX” This should be on if this is the only DMX device on your string “universe” or the last one. Otherwise if it’s not the last DMX device on the line move it over so it does not connect the two pins and make sure the last device has itself terminated. In this case it is the only device so With the '''Controller Powered off! '''Put it on.
+
= Programming and Operation =
  
  
Now set the channel #1 intensity to the channel number you want to be your starting address and all other channels to 0 or off. If it is higher than 255 then set #1 at 255 and set channel #2 to the additional amount it will take to get to that channel. For example if I want my starting address to be 300 I would set channel #1 to 255 and channel #2 to 45 since 255 + 45 = 300. Make sure vixen is set to repeat. Start the sequence so that we have the channel #1 and #2 data going out.
+
'''Programming the MR-16'''
  
  
With the '''Controller Powered off! '''Move the jumper to the program address side. Now power up the MR-16 for three full seconds''' '''and then turn it off. '''Now with it Powered off! '''move the jumper back to the operate side.  
+
The MR16 controller needs to be programmed for its starting DMX channel. This is the channel that output number 1 will be addressed by in the DMX data. If you want this controller to handle channels 80 through 95, for example, you would assign it the starting channel of 80.  
  
  
That’s it! It is set to operate on the channel you wanted. You can change it anytime and as often as you need. It will remember the address for at least 20 years with no power applied.
+
{{Set_Address}}
  
  
Being DMX the controller can be controlled from programs other than Vixen if you so choose. it should work with any DMX devices and I have tested it using a number of downloadable software from the internet including the trial edition of Light Factory that comes with the DMX PRO.  
+
It should now be set to operate on the channel you wanted. You can change it anytime and as often as you need. It will remember the address for at least 20 years with no power applied.  
  
  
When using Vixen I recommend you set Vixen to “draw at 255 levels” instead of 0-100 levels. You want to have 0 -255 levels this will give you access to all 256 levels it provides and not limiting it to just 100 steps you can manual set.
+
'''Operation'''
  
  
To connect another DMX device to this one simply use a standard straight through Cat5 cable to go from the “DMX OUT” jack to the next Device and connect it to the “DMX IN” jack.  
+
The MR16 is a DMX device and can be controlled from programs such as Vixen, Light-O-Rama, Light Show Pro, and others.
  
  
<center>'''REMEMBER ALWAYS HAVE IT POWERED OFF WHEN WORKING WITH IT. BE SAFE!'''</center>
+
When using Vixen I recommend you set Vixen to “draw at 255 levels” instead of 0-100 levels. This will give you access to all 256 levels it provides and not limit it to just 100 steps.  
  
  
<center>Thank you, enjoy your Controller and</center>
+
To connect another DMX device to this one simply use a standard straight through Cat5 cable to go from the “DMX OUT” jack to the next device and connect it to its “DMX IN” jack.
  
<center>MAY GOD BLESS YOU IN ALL YOU DO!</center>
 
 
 
<center>RJ</center>
 
  
 +
<center>'''REMEMBER ALWAYS HAVE IT POWERED OFF WHEN WORKING WITH IT. BE SAFE!'''</center>
  
[[Category:Hardware]]
+
*Original V1.0 Manual by RJ
[[Category:Equipment]]
+
*Updated V2.0 Manual by mokeefe
[[Category:Manual]]
+

Latest revision as of 18:20, 5 August 2012

The LYNX MR16 Controller Assembly Manual


Thumb


Introduction

Thank you for making the decision to build the LYNX MR16 Controller. I believe this decision will be one you will be very happy with. This controller was my attempt to design the best dimming controller for MR16 spot lights available for the do it yourselfer’s like you. The goals for the controller were professional looks and operation, cost effective, easy to assemble for even a novice builder, DMX compatible, software start channel programming.


WARNING! This device uses potentially deadly voltages in operation. If you do not feel it is within your ability to work with these voltages please stop and get assistance, or purchase ready built commercial dimmers. This dimmer has been design for personal use as a means of education and entertainment. As such it is not rated, tested, or approved for use in commercial environments and as such is forbidden by the designer. Improper use of this equipment could be hazardous to life and property and the suitability of use is your responsibility. I assume no responsibility in the use or operation of this equipment or for the accuracy of any information made on part of itself. This device has been design for my use and my use only. This is simply an explanation of how I built my own personal dimmers for informational purposes. I make no warranties written or otherwise to it. It should be considered an experimental device with possible unknown characteristics.


Please use static precautions in the handling of these parts. If you are not familiar in them please research on the internet prior to handling them. You can damage you parts with improper handling!


Case - Keptel CG-500

Preparing to Build

The next thing we want is to make sure you are up to speed on soldering and electrostatic protection of the components in your kit. If you are not an experienced printed circuit builder I recommend you visit the site:

http://curiousinventor.com/guides/How_To_Solder

And check out its extremely good video on soldering correctly. Even if you are an expert it is a good video to watch.


Another issue of which you must be aware: some electronic components can be damaged easily by electrostatic charges which can build up in you or your equipment. For example, we have all been shocked by walking on carpet and grabbing a door knob. This is an electrostatic charge in action. It takes much less than this to hurt some of our parts. If you are unfamiliar with procedures to protect from this please use the Internet to research it before taking your parts out of their packaging. You can damage your parts if handled incorrectly!


You will need a few tools that do not come with your kit to build the MR-16. You will need a good soldering iron. I cannot stress enough that a good soldering iron makes a big difference in these projects. The little 15w cheap irons are more apt to hurt your parts by taking too long to get them up to soldering temperature than a good iron which can bring it up to temp very fast. Remember, damage is more about how long you keep the part hot than it is how hot you get it (within reasonable soldering temperatures). A good soldering iron can be had reasonably. You can purchase one for $30 to $60. Most anything that is called a soldering station -- where there is a temperature control separate from the iron itself -- will more than likely be fine, but do make sure it is rated for more than 15 watts. I use a cheap Weller like this one

http://www.amazon.com/Weller-Soldering-Station-WLC100-120V/dp/B000ICEMYA

It works fine and is inexpensive. I even saw this model on sale at Sears. Radio Shack has a very nice looking digital model on sale, but be careful as it does not allow you to replace the tip. Tips are a part that wear out and need replacing from time to time. While we are on tips: get some extras. I recommend you get the smaller chisel shape as these work very well for all-around board building.


You need solder, so buy some. I recommend .032 size as the larger sizes tend to cause you to put too much solder on. How much? Go ahead and get a 1 lb. spool, as it’s cheaper in large volume and you will go through it faster than you think. Make sure you are getting rosin core for electronics; they make some solder for plumbing that has acid as the core (this is a bad mistake to make).


You need some work area to work with good lighting. Do not attempt to solder circuit boards in poorly lighted areas. If you wear reading glasses, go get them -- you will want them I promise you. I recommend a set of helping hands like this: http://www.radioshack.com/product/index.jsp?productId=3928375

STEP 1 - Installing the Resistors and Ceramic Capacitors

MR16-2-4.JPG


Install the 4 0.1uF ceramic capacitors as marked (3 near the top and 1 in the middle right). The ceramic capacitors are not polarized so orientation does not matter.

Install the 180 ohm (brown-gray-brown) resistor in the upper left corner. The orientation on all of the resistors does not matter, although you will end up with a cleaner looking build if you orient them in a consistent way.

Install the 1K ohm (brown-black red) resistor below the area marked XTAL.

Install the 120 ohm (brown-red-brown) resistor in the very upper middle area.


If you are doing the standard build and will be using the MOSFET's for high current operation, install the following:

Install the 16 3.0K ohm (orange-black-black-brown-brown) resistors in the marked locations across the middle of the PCB.

Install the 16 0.1uF ceramic capacitors as marked (across the middle).

Install the 4.7K ohm (yellow-violet-red) resistor in the location above the label "Current Limiter".


If, however, you plan to jumper where the ovals are marked and leave the MOSFET's off for constant current drive up to 100ma per channel, then:

Do NOT install the 16 3K resistor and 16 0.1uF capacitors.

Choose a resistor to match the current limit you need and install it in place of the 4.7K ohm resistor. The correct value for the current needed can be located in the datasheet for the TLC5940NT chip. Common currents are:

  • 20 ma - Use 1.91K ohm.
  • 100 ma - Use 380 ohm.


Solder and trim all excess leads.


That’s a lot of soldering so take a break. If you try to do too much in one sitting you will start making too many mistakes. Mistakes with soldering are costly in time.


STEP 2 - Installing the IC Sockets and Oscillator

MR16-2-6.JPG


Install the 8 pin IC socket in the area labeled RS485.

Install the 18 pin IC socket in the area labeled 18F1220.

Install the 28 pin IC socket in the area labeled TLC5940NT.

Line up the notch on the sockets with the notched end of the drawings on the PCB and then solder all the pins.

Some sockets now come with slightly contoured pins that hold them in place in the PCB prior to soldering. If you do not have this kind of socket you will want to use a method to hold it in place while soldering. Everyone has their own way of holding the socket in. I like to turn the board over to the back and put the least amount of solder I can over one of the middle holes on one side of the socket. This allows you to put the pins of the other side of the socket through and hold the socket while pushing extremely easy. Then you heat that one hole on the back. When the solder melts the socket will drop in. remove the iron and it will cool and hold the socket in until you are done. Make sure to reheat this pin while doing the others to insure you have a good joint. Some people prefer to use tape to hold them in and some even super glue them on first and then solder. If you use tape then the painter’s masking tape is a good option as it does not leave any residue behind when it is removed. Make sure your socket is in the correct holes and that it faces the correct way and then solder the other pins in.


Locate the 40 MHz oscillator module. It is a shiny square unit with four pins. Install it in the area marked XTAL. The oscillator must also be oriented properly. You will notice a small dot on one corner of the component. This should line up with the white dot on the board. The corner with the dot will also have a square corner instead of rounded corners. Solder the four pins to the board.

STEP 3 - Installing the Spade Terminals

MR16-2-7.JPG


Install the quick fit spade terminals. Push each spade terminal into the 32 locations across the bottom. Then install two for power on the right side of the PCB. Flip over the board and solder them. Make sure you have good solder connections here.

STEP 4 - Installing the RJ-45 Connectors, Jumper Headers, Electrolytic Capacitor

MR16-2-10.JPG


Install the 2 RJ-45 connectors in the locations at the top labeled DMX OUT and DMX IN. They will snap in tight so make sure to align the small pins correct and then support the board as you push them in. It takes effort to snap them in so support the PCB when you do this. Some like to put the PCB on foam and do it where the foam allows it to support the PCB. Solder the 8 pins on both sockets


Install the round 100uf electrolytic capacitor. This capacitor is polarized and needs to be installed with the correct orientation. Make sure the black band marked “-“ is NOT on the side where the “+” is labeled on the board.


Install the 2 pin and the 3 pin jumper headers at the top of the PCB in the area labeled Terminate DMX and Mode.

Solder the capacitor and headers. Trim any excess leads.

You can store the two blue jumpers by slipping them onto one of the posts of each header.


STEP 5 - Installing the Red and Green LED's

MR16-2-11.JPG


Install the red LED on the left side of the board below the PWR label. It is important to install the LED oriented properly. The LED will generally have one lead that is longer than the other. This is the positive (+) lead. The LED should be installed with the longer positive lead in the hole near the "+" label on the PCB.

Install the green LED on the right side of the board below the DMX label. Be sure to orient it properly as above.

Solder and trim the leads.


STEP 6 - Installing the MOSFET's and Voltage Regulator

MR16-2-13.JPG


If you will be doing the standard high current build:

Install the 16 MOSFET's across the middle of the board. Make sure and face the flat metal side of the MOSFET's toward the bold white rectangle side of the outline on the board (facing right). Do not confuse the 16 MOSFET's with the one 7805 voltage regulator as they look identical.


If, however, you are going to use it in constant current mode:

Do NOT install the MOSFET's and, instead, install 16 jumpers in the areas that have the ovals around them.


Solder the MOSFET's or jumpers and trim the leads.

Install the 7805 voltage regulator in the middle right section of the PCB. Make sure and face the flat metal side of it toward the white rectangle side of the part outline on the board (left facing). Solder and trim the leads.

STEP 7 - Installing the Voltage Regulator Heat Sink

MR16-2-14.JPG


Install the metal heat sink onto the 7805 voltage regulator. It should be oriented so that the large flat side is facing left. Solder the two tabs of the heat sink.


STEP 8 - Installing the IC's

Install the TLC5940NT, 18F1220, and RS485 chips into their respective sockets. Make sure you align the notch on the end of the chip with the notch on the socket. Be very careful and do not bend any pins as they sometimes can be a challenge to insert straight. Take your time here and before pushing them in. Look over both sides to make sure all pins are started straight.


Congratulations, you have a finished building the Lynx MR16 V2 Controller!


You will need to feed the board from a regulated 7 to 24 volt DC power supply (12V is typical). Make sure the supply has the current capacity to handle the lights you are controlling. For example, the WireKAT 32 LED MR16 draw about .17 amps per lamp. Plan accordingly for your use.


Do not attempt to control more than 2.5 amps per channel from the MR16 controller. I also recommend you keep the total controller current under 35 amps if possible.

Programming and Operation

Programming the MR-16


The MR16 controller needs to be programmed for its starting DMX channel. This is the channel that output number 1 will be addressed by in the DMX data. If you want this controller to handle channels 80 through 95, for example, you would assign it the starting channel of 80.


To program the Lynx Controller/Dimmer.

Note: For MR16/DC Controller, where it says turn power on or off, substitute that for connect/remove the negative power lead to/from the MR16


Note2: Dongle DMX & Pixelnet Firmware - Require different software in order to set the start address
Note2: DMX Firmware you can use RJ's Lynx Address Program or DMX Deck
Note2: Pixelnet Firmware you can use Start Channel or xLights or your Sequence software with Pixelnet


Step 1 - Turn off power to controller and move jumper to program mode Leave Power OFF until Step 3

Step 2 - Use appropriate software (see Note2 above) and select address you need. Click on Program button

Step 3 - Turn on controller and count to 5

Step 4 - Turn off controller and move jumper back to operation mode Leave Power OFF until Step 6

Step 5 - Click Stop on the Lynx Address Program

Step 6 - Turn on controller and use your selected program to see if controller is now on the correct start address.

Either exit selected Program or go back to step 1 to program another controller

OPTIONAL Way if the above doesn't work - From RJ

Step 1 - Power up Controller.

Step 2 - Using selected program start to send the address you want.

Step 3 - With power ON carefully move the jumper to Program.

Step 4 - Count to 3 seconds.

Step 5 - Turn OFF the controller.

Step 6 - Put the jumper back to operate and power up controller to try/test.


It should now be set to operate on the channel you wanted. You can change it anytime and as often as you need. It will remember the address for at least 20 years with no power applied.


Operation


The MR16 is a DMX device and can be controlled from programs such as Vixen, Light-O-Rama, Light Show Pro, and others.


When using Vixen I recommend you set Vixen to “draw at 255 levels” instead of 0-100 levels. This will give you access to all 256 levels it provides and not limit it to just 100 steps.


To connect another DMX device to this one simply use a standard straight through Cat5 cable to go from the “DMX OUT” jack to the next device and connect it to its “DMX IN” jack.


REMEMBER ALWAYS HAVE IT POWERED OFF WHEN WORKING WITH IT. BE SAFE!
  • Original V1.0 Manual by RJ
  • Updated V2.0 Manual by mokeefe