Difference between revisions of "DFF4.1 Building Instructions"

From KONNEKTING Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 34: Line 34:
 
|-
 
|-
 
|8
 
|8
|tactile push button, xx mm, "Frontend Buttons"
+
|tactile push button, 9.5mm/13mm, "Frontend Buttons"
 
|-
 
|-
 
|1
 
|1
|tactile push button, xx mm, "Programming Button"
+
|tactile push button, 12.5mm/16mm, "Programming Button"
 
|-
 
|-
 
|1
 
|1
Line 71: Line 71:
 
|-
 
|-
 
|1
 
|1
|pcs of flat cable
+
|pcs of ribbon cable, ~10cm length
 
|-
 
|-
 
|1
 
|1
Line 94: Line 94:
 
Take the 2x4 and 2x8 and both 2x3 micromatch connector (which are not shown, but need to be modified as well) and cut a bit of the orientation pin as shown:
 
Take the 2x4 and 2x8 and both 2x3 micromatch connector (which are not shown, but need to be modified as well) and cut a bit of the orientation pin as shown:
  
[[File:DFF4.4 Building Instruction cutmicromatchorientationpin.png|600px]]
+
[[File:DFF4.1 Building Instruction cutmicromatchorientationpin.png|600px]]
  
 
This is required, as the PCB is unfortunately missing the matching hole for this orientation pin.
 
This is required, as the PCB is unfortunately missing the matching hole for this orientation pin.
Line 110: Line 110:
 
The result shoud look like this:
 
The result shoud look like this:
  
[[File:DFF4.4 Building Instruction cutribboncable.png|600px]]
+
[[File:DFF4.1 Building Instruction cutribboncable.png|600px]]
  
Carefully put the micromatch connector (2x3 for 6-wire and 2x4 + 2x8 for the 8-wire) onto the ribbon cable and crimp the connector with help of a pliers. Be really careful and take your time. Otherwise you risk damage of micromatch plug!
+
Carefully put the micromatch connector (2x3 for 6-wire and 2x4 + 2x8 for the 8-wire) onto the ribbon cable and crimp the connector with help of a pliers.  
 +
 
 +
[[File:DFF4.1 Building Instruction micromatchcrimp.png|600px]]
 +
 
 +
Be really careful and take your time. Ensure that you crimp both micromatch parts as parallel as possible. And don't put too much pressure on the plastic. Otherwise you risk damage of micromatch plug!
 
Ensure that you put the red-wire to the side of the orientation-pin of micromatch connector and that you put one of the 2x3 connectors with face down as shown.
 
Ensure that you put the red-wire to the side of the orientation-pin of micromatch connector and that you put one of the 2x3 connectors with face down as shown.
  
[[File:DFF4.4 Building Instruction assembledmicromatch.png|600px]]
+
[[File:DFF4.1 Building Instruction assembledmicromatch.png|600px]]
  
 
'''When soldering the sockets, LEDs or switches, ...: Start with soldering just one pin. Then check the alignment. If realignment is needed, re-heat the the pin and realign. If alignment is okay, solder the remaining pins. Fixing a wrong alignment afterwards is tricky and you might ruin the PCB. So do it first time right and check alignment twice.'''
 
'''When soldering the sockets, LEDs or switches, ...: Start with soldering just one pin. Then check the alignment. If realignment is needed, re-heat the the pin and realign. If alignment is okay, solder the remaining pins. Fixing a wrong alignment afterwards is tricky and you might ruin the PCB. So do it first time right and check alignment twice.'''
Line 125: Line 129:
 
= Controller =
 
= Controller =
  
Close solder jumpers as shown here. Some of them might have been already closed for first production test.If so, ensure the jumpers are closed as shown.
+
Close solder jumpers as shown here. Some of them might have been already closed for first production test. If so, ensure the jumpers are closed as shown.
D10/A2 jumper can be left open as this is unsued for this application.
+
 
 +
VCC TOP:
 +
 +
5V
 +
 
 +
VCC BOT:
 +
 
 +
5V
 +
 
 +
D12/A0:
 +
 
 +
A0
 +
 
 +
D10/A2:
 +
 
 +
leave unset
  
I2C EEPROM uses address-setting:
+
I2C EEPROM:
  
 
  A0: 0
 
  A0: 0
Line 134: Line 153:
 
  A2: 0
 
  A2: 0
  
[[File:DFF4.4 Building Instruction sjcontroller.png|600px]]
+
[[File:DFF4.1 Building Instruction sjcontroller.png|600px]]
  
 
Put in micromatch sockets and solder them. Check the right orientation according to the picture here:
 
Put in micromatch sockets and solder them. Check the right orientation according to the picture here:
  
[[File:DFF4.4 Building Instruction micromatchsocket.png|600px]]
+
[[File:DFF4.1 Building Instruction micromatchsocket.png|600px]]
 +
 
 +
Put the MicroBCu in place and solder it from the bottom of the PCB:
 +
 
 +
[[File:DFF4.1 Building Instruction microbcu.png|600px]]
  
 
Put in MiniUSB socket and solder the pins. Ensure that the two outer shielding pins have good contact and enough solder.
 
Put in MiniUSB socket and solder the pins. Ensure that the two outer shielding pins have good contact and enough solder.
Line 146: Line 169:
 
'''Check the polarity twice! Unsoldering the LED might kill the trough-hole-contact and your PCB is trash!'''
 
'''Check the polarity twice! Unsoldering the LED might kill the trough-hole-contact and your PCB is trash!'''
  
[[File:DFF4.4 Building Instruction LedAndButton.png|600px]]
+
[[File:DFF4.1 Building Instruction LedAndButton.png|600px]]
  
 
Put in the KNX pins and solder them.  
 
Put in the KNX pins and solder them.  
  
[[File:DFF4.4 Building Instruction knxpins.png|600px]]
+
[[File:DFF4.1 Building Instruction knxpins.png|600px]]
  
 
= Frontend =
 
= Frontend =
  
Put in the 2x3 micromatch socket and solder all the pins.  
+
Search the parts you need for the frontend:
 +
 
 +
[[File:DFF4.1 Building Instruction frontendparts.png|600px]]
 +
 
 +
Check the LED polarity. you will have to put in the LED as shown: The long leg with the "tiny part" in the LED is "+", the short leg with the "big part" in the LED is "-" (the other hole on the PCB):
 +
 
 +
[[File:DFF4.1 Building Instruction frontendledorientation.png|600px]]
 +
 
 +
Use the spacer to get the right distance between PCB and LED. You may need to push in the LED quite hard to get a flat sitting LED and spacer. it should finally look like this:
  
Put in the LEDs with the LED spacers. '''Check polarity twice before soldering!'''
+
[[File:DFF4.1 Building Instruction frontendledalignment.png|600px]]
  
Put in the frontend buttons and solder them as well.
+
After soldering, cut the LED legs as shown (cut all of them of course ;-) ):
  
Ensure that solder-jumpers for I2C adress is correctly set to:
+
[[File:DFF4.1 Building Instruction frontendcutledpins.png|600px]]
 +
 
 +
Next you put in the micromatch on the bottom of the PCB like this. If you got a micromatch socket which has the shown gap only on one side, ensure you out it in like shown:
 +
 
 +
[[File:DFF4.1 Building Instruction frontendmicromatch.png|600px]]
 +
 
 +
Set the I2C address as shown by putting some solder on the pads. Ensure that solder-jumpers for I2C adress is correctly set to:
  
 
  A0: 0
 
  A0: 0
Line 166: Line 203:
 
  A2: 0
 
  A2: 0
  
INSERT IMAGE HERE
+
[[File:DFF4.1 Building Instruction frontendi2caddress.png|600px]]
 +
 
 +
Finally put in the buttons and solder them. Ensure that they are sitting totally flat on the PCB:
 +
 
 +
[[File:DFF4.1 Building Instruction frontendbuttonsalignment.png|600px]]
 +
 
 +
If, after soldering, you have a lot of ugly flux on the PCB like this:
 +
 
 +
[[File:DFF4.1 Building Instruction frontendflux.png|600px]]
 +
 
 +
... use some flux cleaner (f.i. plenty of Isopropanol. You get this on [https://www.amazon.de/Isopropanol-Isopropylalkohol-Klar-99-1000/dp/B00JXK92YI/ref=sr_1_4?ie=UTF8&qid=1525194236&sr=8-4&keywords=isopropanol Amazon]) and an old toothbrush to clean it. Finally it will look like this:
 +
 
 +
[[File:DFF4.1 Building Instruction frontendfluxremoved.png|600px]]
  
 
= Application =  
 
= Application =  
  
Ensure that solder-jumpers for I2C adress is correctly set to:
+
Search all the application PCB required parts, like shown here:
 +
 
 +
[[File:DFF4.1 Building Instruction applicationparts.png|600px]]
 +
 
 +
Close the solder jumpers and put in the 2x4 micromatch socket as shown here:
  
 
  A0: 1
 
  A0: 1
Line 176: Line 229:
 
  A2: 0
 
  A2: 0
  
Put in the 2x4 micromatch socket and solder the pins.
+
[[File:DFF4.1 Building Instruction applicationi2caddress.png|600px]]
 +
 
 +
Flip the PCB and solder the micromatch socket.
  
INSERT IMAGE HERE
+
Next step is to add the screwterminals. Try to align the terminals to the outer PCB line and finally and solder them:
  
Put in the screw terminals and solder them. Try to align the terminals to the outer PCB line.
+
[[File:DFF4.1 Building Instruction applicationsolderedterminals.png|600px]]
  
INSERT IMAGE HERE
+
Now we go over to the relays. Put them in place, flip the PCB and solder then:
  
Put in the relays als solder them. If possible, keep at least a minimum space between the relays and also to next terminals.  
+
[[File:DFF4.1 Building Instruction applicationrelays.png|600px]]
  
INSERT IMAGE HERE
+
Try to keep a minimum space between the relays as shown in the image, so that the relays do not touch each other. This is to keep the mechanical stress/vibration of one relay separated from others.
 +
You can use a credit card or similar as a kind of separator while soldering.
  
 +
= Mechanical =
  
 +
== Connecting PCBs ==
  
= Mechanical =
+
Now that you're done with soldering, you can start to assemble all the parts. You need the following parts for this:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblyparts.png|600px]]
 +
 
 +
First, take two screws and screw both 18mm hex-spacer to the application PCB as shown:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblybottom.png|600px]]
 +
 
 +
Then take the application-to-controller cable and plug it into the socket on the application PCB:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblyapplicationcable.png|600px]]
 +
 
 +
Then take the controller PCB and screw it with help of the 15mm hex-spacer on the application PCBs hex-spacer. Finally connect the cable as shown to the controller PCB.
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycontroller.png|600px]]
 +
 
 +
Now it is time to connect the frontend PCB with the 2x3 micromatch cable. Plug the connector into the socket as shown here:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblyfrontendcable.png|600px]]
 +
 
 +
Finally screw the frontend PCB with the remaining two screws on the hex-spacers of the controller PCB:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycomplete.png|600px]]
 +
 
 +
You're done and screw-connectiond and cables should look like this:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycompletedetail.png|600px]]
 +
 
 +
== DIN Rail case ==
 +
 
 +
Unpack the case and break out the holes on the terminal covers as shown here:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycasecutouts1.png|600px]]
 +
[[File:DFF4.1 Building Instruction assemblycasecutouts2.png|600px]]
 +
 
 +
I recommend using a really sharp knife like a scalpel to cutout the screw-holes. Be careful to not cut too much or break the plastik. The plastik is very soft.
 +
 
 +
If not already in place, put the plastik cover into the case:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycasecover1.png|600px]]
 +
 
 +
Then put in the cover PCB (it should held itself in place):
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycasecover2.png|600px]]
 +
 
 +
Take a marker pen and mark the holes on the plastic cover as shown:
 +
 
 +
[[https://wiki.konnekting.de/index.php/File:DFF4.1_Building_Instruction_assemblycasecover3.png|600px]]
 +
 
 +
Remove the cover PCB. Your markings should look like this:
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycasecover4.png|600px]]
 +
 
 +
Remove the plastic cover and drill holes on your markings. You shold take a drill that is 2-3mm thicker as the required hole size.
 +
Having the drilled holes bigger that the holes in the cover PCB makes it easier for you with centering the drill and also when later on inserting the buttons and LEDs.
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycasecover5.png|600px]]
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycasecover6.png|600px]]
 +
 
 +
I prefer to have the DIN-rail-unlock on the top of the device. If you want the same, ensure that unlock is on the side where the USB connector is. Otherwise take the other side.
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycase1.png|600px]]
 +
 
 +
Finally carefully slide the case over. You might need to swap all the terminal covers on the case by 180°: The case does only fit in one direction in the bottom part, as the notches on both sides have different sizes. Now you're done.
 +
 
 +
[[File:DFF4.1 Building Instruction assemblycase2.png|600px]]

Latest revision as of 05:46, 17 May 2018


Preparation

Check that all parts are there:

Pcs. Part
2 M3 hex-spacer, nylon, 15mm, with M3 screw on one end and inner thread on other end.
2 M3 hex-spacer, nylon, 18mm, with inner threads on both ends
4 M3 screw, nylon
8 relay
8 screw terminals, cage
8 3mm LED, green
8 3mm LED spacer, 5mm height
1 3mm LED, red
8 tactile push button, 9.5mm/13mm, "Frontend Buttons"
1 tactile push button, 12.5mm/16mm, "Programming Button"
1 DIN Rail enclosure, consisting of:
  • black bottom
  • white case
  • white front panel
  • 5 pcs terminal guards for screw terminals
  • 1 pcs KNX cover
  • 1 pcs terminal guard for heat-flow
  • 1 pcs terminal guard, closed
1 MiniUSB socket, vertical
2 micromatch socket, 2x3 pin
1 micromatch socket, 2x8 pin
1 micromatch socket, 2x4 pin
2 micromatch plug, 2x3 pin
1 micromatch plug, 2x8 pin
1 micromatch plug, 2x4 pin
1 pcs of ribbon cable, ~10cm length
1 PCB enclosure cover, printed and drilled
1 M0dularis+ controller PCB
1 Frontend PCB, 8 Buttons, 8 LEDs
1 Application PCB, 8x BiRelay
1 MicroBCU with pinheaders
2 pins for KNX connection

Take the 2x4 and 2x8 and both 2x3 micromatch connector (which are not shown, but need to be modified as well) and cut a bit of the orientation pin as shown:

DFF4.1 Building Instruction cutmicromatchorientationpin.png

This is required, as the PCB is unfortunately missing the matching hole for this orientation pin.

Take the 10cm ribboncable and cut the following lengths:

  • 5.5cm
  • 4.5cm

then

  • take the 5.5cm part and reduce the wirecount to 6 wires, incl. one red wire
  • take the 4.5cm part and reduce the wirecount to 8 wires, incl. one red wire

The result shoud look like this:

DFF4.1 Building Instruction cutribboncable.png

Carefully put the micromatch connector (2x3 for 6-wire and 2x4 + 2x8 for the 8-wire) onto the ribbon cable and crimp the connector with help of a pliers.

DFF4.1 Building Instruction micromatchcrimp.png

Be really careful and take your time. Ensure that you crimp both micromatch parts as parallel as possible. And don't put too much pressure on the plastic. Otherwise you risk damage of micromatch plug! Ensure that you put the red-wire to the side of the orientation-pin of micromatch connector and that you put one of the 2x3 connectors with face down as shown.

DFF4.1 Building Instruction assembledmicromatch.png

When soldering the sockets, LEDs or switches, ...: Start with soldering just one pin. Then check the alignment. If realignment is needed, re-heat the the pin and realign. If alignment is okay, solder the remaining pins. Fixing a wrong alignment afterwards is tricky and you might ruin the PCB. So do it first time right and check alignment twice.

When soldering LEDs check the polarity twice. Unsoldering "through-hole" pins can ruin the through-hole-contact and thus the whole PCB. So be careful.

It's recommended that you stick to the here described order of adding parts to the PCB. That will ease the whole process for you

Controller

Close solder jumpers as shown here. Some of them might have been already closed for first production test. If so, ensure the jumpers are closed as shown.

VCC TOP:

5V

VCC BOT:

5V

D12/A0:

A0

D10/A2:

leave unset

I2C EEPROM:

A0: 0
A1: 0 
A2: 0

DFF4.1 Building Instruction sjcontroller.png

Put in micromatch sockets and solder them. Check the right orientation according to the picture here:

DFF4.1 Building Instruction micromatchsocket.png

Put the MicroBCu in place and solder it from the bottom of the PCB:

DFF4.1 Building Instruction microbcu.png

Put in MiniUSB socket and solder the pins. Ensure that the two outer shielding pins have good contact and enough solder.

Put in the programming button and the LED as shown and solder them as well. Tip: It's easier to adjust the height of the LED when just soldering one pin an adjust heigth while re-heating the pin. Then check alignment and solder second pin.

Check the polarity twice! Unsoldering the LED might kill the trough-hole-contact and your PCB is trash!

DFF4.1 Building Instruction LedAndButton.png

Put in the KNX pins and solder them.

DFF4.1 Building Instruction knxpins.png

Frontend

Search the parts you need for the frontend:

DFF4.1 Building Instruction frontendparts.png

Check the LED polarity. you will have to put in the LED as shown: The long leg with the "tiny part" in the LED is "+", the short leg with the "big part" in the LED is "-" (the other hole on the PCB):

DFF4.1 Building Instruction frontendledorientation.png

Use the spacer to get the right distance between PCB and LED. You may need to push in the LED quite hard to get a flat sitting LED and spacer. it should finally look like this:

DFF4.1 Building Instruction frontendledalignment.png

After soldering, cut the LED legs as shown (cut all of them of course ;-) ):

DFF4.1 Building Instruction frontendcutledpins.png

Next you put in the micromatch on the bottom of the PCB like this. If you got a micromatch socket which has the shown gap only on one side, ensure you out it in like shown:

DFF4.1 Building Instruction frontendmicromatch.png

Set the I2C address as shown by putting some solder on the pads. Ensure that solder-jumpers for I2C adress is correctly set to:

A0: 0
A1: 0
A2: 0

DFF4.1 Building Instruction frontendi2caddress.png

Finally put in the buttons and solder them. Ensure that they are sitting totally flat on the PCB:

DFF4.1 Building Instruction frontendbuttonsalignment.png

If, after soldering, you have a lot of ugly flux on the PCB like this:

DFF4.1 Building Instruction frontendflux.png

... use some flux cleaner (f.i. plenty of Isopropanol. You get this on Amazon) and an old toothbrush to clean it. Finally it will look like this:

DFF4.1 Building Instruction frontendfluxremoved.png

Application

Search all the application PCB required parts, like shown here:

DFF4.1 Building Instruction applicationparts.png

Close the solder jumpers and put in the 2x4 micromatch socket as shown here:

A0: 1
A1: 0 
A2: 0

DFF4.1 Building Instruction applicationi2caddress.png

Flip the PCB and solder the micromatch socket.

Next step is to add the screwterminals. Try to align the terminals to the outer PCB line and finally and solder them:

DFF4.1 Building Instruction applicationsolderedterminals.png

Now we go over to the relays. Put them in place, flip the PCB and solder then:

DFF4.1 Building Instruction applicationrelays.png

Try to keep a minimum space between the relays as shown in the image, so that the relays do not touch each other. This is to keep the mechanical stress/vibration of one relay separated from others. You can use a credit card or similar as a kind of separator while soldering.

Mechanical

Connecting PCBs

Now that you're done with soldering, you can start to assemble all the parts. You need the following parts for this:

DFF4.1 Building Instruction assemblyparts.png

First, take two screws and screw both 18mm hex-spacer to the application PCB as shown:

DFF4.1 Building Instruction assemblybottom.png

Then take the application-to-controller cable and plug it into the socket on the application PCB:

DFF4.1 Building Instruction assemblyapplicationcable.png

Then take the controller PCB and screw it with help of the 15mm hex-spacer on the application PCBs hex-spacer. Finally connect the cable as shown to the controller PCB.

DFF4.1 Building Instruction assemblycontroller.png

Now it is time to connect the frontend PCB with the 2x3 micromatch cable. Plug the connector into the socket as shown here:

DFF4.1 Building Instruction assemblyfrontendcable.png

Finally screw the frontend PCB with the remaining two screws on the hex-spacers of the controller PCB:

DFF4.1 Building Instruction assemblycomplete.png

You're done and screw-connectiond and cables should look like this:

DFF4.1 Building Instruction assemblycompletedetail.png

DIN Rail case

Unpack the case and break out the holes on the terminal covers as shown here:

DFF4.1 Building Instruction assemblycasecutouts1.png DFF4.1 Building Instruction assemblycasecutouts2.png

I recommend using a really sharp knife like a scalpel to cutout the screw-holes. Be careful to not cut too much or break the plastik. The plastik is very soft.

If not already in place, put the plastik cover into the case:

DFF4.1 Building Instruction assemblycasecover1.png

Then put in the cover PCB (it should held itself in place):

DFF4.1 Building Instruction assemblycasecover2.png

Take a marker pen and mark the holes on the plastic cover as shown:

[[1]]

Remove the cover PCB. Your markings should look like this:

DFF4.1 Building Instruction assemblycasecover4.png

Remove the plastic cover and drill holes on your markings. You shold take a drill that is 2-3mm thicker as the required hole size. Having the drilled holes bigger that the holes in the cover PCB makes it easier for you with centering the drill and also when later on inserting the buttons and LEDs.

DFF4.1 Building Instruction assemblycasecover5.png

DFF4.1 Building Instruction assemblycasecover6.png

I prefer to have the DIN-rail-unlock on the top of the device. If you want the same, ensure that unlock is on the side where the USB connector is. Otherwise take the other side.

DFF4.1 Building Instruction assemblycase1.png

Finally carefully slide the case over. You might need to swap all the terminal covers on the case by 180°: The case does only fit in one direction in the bottom part, as the notches on both sides have different sizes. Now you're done.

DFF4.1 Building Instruction assemblycase2.png