TRÅDFRI wall switch: Forskelle mellem versioner

Fra PerMejdal
Spring til navigation Spring til søgning
No edit summary
 
(41 mellemliggende versioner af den samme bruger vises ikke)
Linje 32: Linje 32:


[[Fil:wallswitch-6.png|600px]]
[[Fil:wallswitch-6.png|600px]]
==ZigBee module==
The ZigBee module from IKEA can have different functions, depending which firmware is installed.
{|
|-
|'''5-button remote'''
[[Fil:Pic-Remote.png|200px]]
|[[Fil:Pins-Remote.png|600px]]
|-
|'''Mains outlet'''
[[Fil:Pic-Outlet.png|150px]]
|[[Fil:Pins-Outlet.png|600px]]
|-
|'''2-button remote'''
[[Fil:Pic-OnOff.png|130px]]
|[[Fil:Pins-OnOff.png|600px]]
|}
'''Note:''' The 2-button remote does not have a module you can havest. The IC is soledred directly on th PCB. The picture above shows how the module behaves, if it has the firmware from the 2-button remote.


==But why?==
==But why?==
Linje 77: Linje 97:
==Building instructions==
==Building instructions==


This guide is for at batch of 100 units. If you want a smaller amount like 20, you can order circuit boards without components, and order all the components at RS Components. However it is much easier and cost effective to follow the guide and make 100 units.
This guide is for at batch of 200 units. If you want a smaller amount like 20, you can order circuit boards without components, and order all the components at RS Components. However it is much easier and cost effective to follow the guide and make 200 units.


===Materials needed===
===Materials needed===
Linje 88: Linje 108:
===Order circuit board with components===
===Order circuit board with components===


# Download [https://www.thingiverse.com/thing:3655354/files svagstromstryk_PCB_2019-09-14_4xPannel.zip]
# Extract IKEA_Button2_BOM_JLCPCB.xlsx and IKEA_Button2-top-pos_JLCPCB.xlsx from it.
# Go the the web page https://jlcpcb.com/
# Go the the web page https://jlcpcb.com/
# Click "QUOTE NOW".
# Click "QUOTE NOW".
# Upload svagstromstryk_PCB_2019-09-14.zip.
# Upload svagstromstryk_PCB_2019-09-10_4xPannel.zip.
# Set "PCB Qty" to 100.
# Set "PCB Qty" to 50.
# Set "Surface Finish" to ENIG-RoHS (not required, if you want to save cost at the expense of the environment).
# Set "Surface Finish" to ENIG-RoHS (not required, if you want to save cost at the expense of the environment).
# Change thickness til 1.0 mm.
# Change thickness til 1.0 mm.
Linje 97: Linje 119:
# Pick "Assemble top side".
# Pick "Assemble top side".
# Click "Confirm".
# Click "Confirm".
# Upload svagstromstryk_PCB_2019-09-14_BOM_JLCPCB.xlsx as BOM file.
# Upload IKEA_Button2_BOM_JLCPCB.xlsx as BOM file.
# Upload svagstromstryk_PCB_2019-09-14-top-pos_JLCPCB.xlsx as CPL file.
# Upload IKEA_Button2-top-pos_JLCPCB.xlsx as CPL file.
# Click "NEXT".
# Click "NEXT".
# Review and confirm all the components.
# Review and confirm all the components.
Linje 108: Linje 130:
===Order additional electronic components===
===Order additional electronic components===


Most components are included on the board. You can buy at DigiKey or RS Components, or a combination of the two.
Most components are included on the board if you buy them mounted from JLCPCB. The rest can be bought from the resellers below.


{| class="wikitable"
{| class="wikitable"
! Amount !! Reference !! Included on PCB  !! RS Stock No  !! Digi-Key Part Number
! Amount !! Reference !! Picture !! RS !! Digi-Key Part !! Farnell !! Mouser !! Manufacturer !! Manufacturer Part Number
|-
|-
| 400  || S1-4 || No  || 479-1491 || 450-1130-ND
| 800 || S1-4 || [[Fil:PTS645SM43SMTR92LFS.png|40px]]<br>[[Fil:PTS645SL43SMTR92LFS.png|40px]]<br>[[Fil:FSM2JSMA.png|40px]] || 135-9416<br>N/A<br>479-1491 || CKN9112TR-ND<br>CKN10880CT-ND<br>CKN10814CT-ND || 2320087<br>N/A<br>3801287 || 611-PTS645SM43SMTR92<br>611-PTS645SL43SMTR92<br>506-FSM2JSMA || C & K<br>C & K<br>TE || PTS645 SM43 SMTR92 LFS<br>PTS645 SL43 SMTR92 LFS<br>FSM2JSMA / 2-1437565-7
|-
|-
| 100  || S5 || No  || 135-9404 || CKN10814CT-ND
| 200 || S5 || [[Fil:PTS641SM34SMTR2LFS.png|40px]]<br>[[Fil:PTS641SP34SMTR2LFS.png|40px]] || 135-9404<br>176-9579 || N/A<br>CKN10814CT-ND || N/A<br>N/A || N/A<br>611-641SP34SMTR2LFS || C & K<br>C & K || PTS641 SM34 SMTR2 LFS<br>PTS641 SP34 SMTR2 LFS
|-
|-
| 100  || S6 || No  || 154-2583 || CKN10849CT-ND
| 200 || S6 || [[Fil:JS203011SCQN.png|40px]]<br>[[Fil:JS203011CQN.png|40px]]<br>N/A || 154-2583<br>154-6145<br>N/A<br>N/A || CKN10849CT-ND<br>401-2004-ND<br>N/A<br>N/A || N/A<br>2435144<br>N/A<br>N/A || 611-JS203011SCQN<br>611-JS203011CQN<br>N/A<br>N/A || C & K<br>C & K<br>N/A<br>N/A || JS203011SCQN<br>JS203011CQN<br>MSS23D19<br>MSS-23D19G2-T
|-
|-
| 500  || C1-5 || Yes  || 135-9020  ||  
| 1000 || C1-5 || || 135-9020 ||  ||  ||  || ||
|-
|-
| 500  || R1-5 || Yes  || 679-1459  ||  
| 1000 || R1-5 || || 679-1459 ||  ||  ||  || ||
|-
|-
| 100  || R6 || Yes  || 810-1741  ||  
| 200 || R6 || || 810-1741 ||  ||  ||  || ||
|-
|-
| 100  || D1 || Yes  || 654-5391  ||  
| 200 || D1 || || 654-5391 ||  ||  ||  || ||
|-
|-
| 100  || Q1 || Yes  || 690-0127  ||  
| 200 || Q1 || || 690-0127 ||  ||  ||  || ||
|-
|-
| 100  || BT1 || No  || 219-7960 || BK-888-ND
| 200 || BT1 || || N/A<br>219-7960 || BK-888-ND<br>36-3003-ND || N/A<br>N/A || N/A<br>534-3003 ||  MPD<br>Keystone || BK-888<br>3003
|}
|}


Go to RS Components and order
When there are multiple choosies for components, the top one is the recommended. If JS203011SCQN is sold out, JS203011CQN can be used as an alternative. You must convert it from thou-hole to SMD, by bending the legs.
 
* 400 x 479-1491 (1000 x is cheaper pr unit at DigiKey)
* 100 x 135-9404


Go to DigiKey and order
In this example I bought:
 
*RS Components
* 100 x CKN10849CT-ND
** 200 x 135-9404
* 100 x BK-888-ND
* DigiKey
** 1000 x CKN9112TR-ND (only 800 is needed)
** 200 x CKN10849CT-ND
** 200 x BK-888-ND


===Order original LK FUGA plastic front===
===Order original LK FUGA plastic front===
Linje 156: Linje 178:
|}
|}


You need 200 buttons and 100 center plastic.
You need 400 buttons and 200 center plastic.


If you want laser engraved buttons, they can be ordered at bestil.lk.dk.
If you want engraved buttons, they can be ordered at [https://unikkontakt.dk/ unikkontakt.dk].


Remember to choose "IHC svagstrømstryk", not "IHC wireless". They look similar, but are not compatible.
Remember to choose "IHC svagstrømstryk", not "IHC wireless". They look similar, but are not compatible.
Linje 206: Linje 228:
Solder the components on the circuit board in this order:
Solder the components on the circuit board in this order:


top side: Small components (already done if ordered with components on).
Top side: Small components (already done if ordered with components on).


[[Fil:wallswitch-18.png|300px]]
[[Fil:wallswitch-18.png|300px]]


top side: Switches and buttons
 
Top side: Switches and buttons.


[[Fil:wallswitch-17.png|300px]]
[[Fil:wallswitch-17.png|300px]]




back side: ZigBee module
Back side: ZigBee module.


[[Fil:wallswitch-19.png|300px]]
[[Fil:wallswitch-19.png|300px]]




back side: Battery holder (remember to fill the center pad with solder)
Back side: Battery holder (remember to fill the center pad with solder).
 
If you used an alternative ZigBee module, you must [https://drive.google.com/drive/folders/1SMhPC1echgKWlc-W4N89JKZ2KiJ_H_ZD reprogram it now]


[[Fil:wallswitch-20.png|300px]]
[[Fil:wallswitch-20.png|300px]]


If you used an alternative ZigBee module, you must reprogram it now. This is described here: https://drive.google.com/drive/folders/1SMhPC1echgKWlc-W4N89JKZ2KiJ_H_ZD


Insert battery, note the polarity. There is a plus sign on both the battery holder and the battery, they should match. Afterc licking 4 times on pairing button, The LED should start flashing.
Insert battery, note the polarity. There is a plus sign on both the battery holder and the battery, they should match.
 
After clicking 4 times on pairing button, The LED should start flashing.


[[Fil:wallswitch-21.png|300px]]
[[Fil:wallswitch-21.png|300px]]


Inset the circuit board into the plastic back. Mount the battery side first. It might be necessary to remove some plastic under the tabs. Mount the frost side plastic.
 
Inset the circuit board into the plastic back. Mount the battery side first. It might be necessary to remove some plastic under the tabs.
 
[[Fil:wallswitch-22.png|300px]]
 
 
Mount the frost side plastic.
 
[[Fil:wallswitch-23.png|300px]]




Test that everything is working. Enjoy!


Test that everything is working.
[[Fil:wallswitch-24.png|300px]]

Nuværende version fra 11. sep. 2021, 20:35

This hack will modify the TRÅDFRI remote into an attractive wall switch.

Wallswitch-1.png

The project homepage (in Danish): https://www.thingiverse.com/thing:3655354

This information is under CC BY-NC-SA 4.0 license.

Photos

63 mm wide. Typical color choices are white or dark gray - silver combo.

Wallswitch-2.png


The switch are 45 x 45 x 12 mm, and does not require room behind it.

Wallswitch-3.png


With a smaller bezel the switch can be 50 mm wide.

Wallswitch-4.png


Both sides of the custom circuit board.

Wallswitch-5.png


Custom print on plastic is possible.

Wallswitch-6.png

ZigBee module

The ZigBee module from IKEA can have different functions, depending which firmware is installed.

5-button remote

Pic-Remote.png

Pins-Remote.png
Mains outlet

Pic-Outlet.png

Pins-Outlet.png
2-button remote

Pic-OnOff.png

Pins-OnOff.png

Note: The 2-button remote does not have a module you can havest. The IC is soledred directly on th PCB. The picture above shows how the module behaves, if it has the firmware from the 2-button remote.

But why?

Problem, step 1

Using TRÅDFRI on a sofa lamp is great. You can turn it on and off from your phone, and you can place a remote switch where you like.

However when you start using TRÅDFRI to replace existing ceiling lighting, you will soon realize a problem: If the light is turned off by the wall switch, you cannot turn it on by remote or app, because there is no power going to the light.

Solution, step 1

Replace the wall switch with a remote.

Wallswitch-7.png

Problem, step 2

This looks unattractive, and does not fit into the existing wall switch and socket design.

Solution, step 2

Transfer the electronics from the remote to a switch that fits the design. The the design is so compact, that is does not requires space behind it, and can be mounted directly on the wall.

Wallswitch-8.png

Problem, step 3

This design is for the FUGA system, which is only used in Denmark.

Solution, step 3

You can use converters to make it converter to fit the size used in the rest of Europe.

Wallswitch-9.png

Problem, step 4

This does not look as attractive.

Solution, step 4

Be inspired by this hack, to make a solution that fits your wall switch and plug system. Be careful with mains electricity, an the note of the the law and regulations in your country. This hack avoids mains electricity by being mounted directly on the wall.

Building instructions

This guide is for at batch of 200 units. If you want a smaller amount like 20, you can order circuit boards without components, and order all the components at RS Components. However it is much easier and cost effective to follow the guide and make 200 units.

Materials needed

  • ZigBee module from IKEA TRÅDFRI remote control
  • Plastic for LK FUGA svagstrømstryk
  • Circuit board and components
  • 3D printed plastic for the back

Order circuit board with components

  1. Download svagstromstryk_PCB_2019-09-14_4xPannel.zip
  2. Extract IKEA_Button2_BOM_JLCPCB.xlsx and IKEA_Button2-top-pos_JLCPCB.xlsx from it.
  3. Go the the web page https://jlcpcb.com/
  4. Click "QUOTE NOW".
  5. Upload svagstromstryk_PCB_2019-09-10_4xPannel.zip.
  6. Set "PCB Qty" to 50.
  7. Set "Surface Finish" to ENIG-RoHS (not required, if you want to save cost at the expense of the environment).
  8. Change thickness til 1.0 mm.
  9. Enable "SMT Assembly" -> "Assemble your PCB boards".
  10. Pick "Assemble top side".
  11. Click "Confirm".
  12. Upload IKEA_Button2_BOM_JLCPCB.xlsx as BOM file.
  13. Upload IKEA_Button2-top-pos_JLCPCB.xlsx as CPL file.
  14. Click "NEXT".
  15. Review and confirm all the components.
  16. Click "NEXT".
  17. Review Parts Placement.
  18. Click "SAVE TO CART"
  19. Continue the Checkout. DHL is faster for delivery.

Order additional electronic components

Most components are included on the board if you buy them mounted from JLCPCB. The rest can be bought from the resellers below.

Amount Reference Picture RS Digi-Key Part Farnell Mouser Manufacturer Manufacturer Part Number
800 S1-4 PTS645SM43SMTR92LFS.png
PTS645SL43SMTR92LFS.png
FSM2JSMA.png
135-9416
N/A
479-1491
CKN9112TR-ND
CKN10880CT-ND
CKN10814CT-ND
2320087
N/A
3801287
611-PTS645SM43SMTR92
611-PTS645SL43SMTR92
506-FSM2JSMA
C & K
C & K
TE
PTS645 SM43 SMTR92 LFS
PTS645 SL43 SMTR92 LFS
FSM2JSMA / 2-1437565-7
200 S5 PTS641SM34SMTR2LFS.png
PTS641SP34SMTR2LFS.png
135-9404
176-9579
N/A
CKN10814CT-ND
N/A
N/A
N/A
611-641SP34SMTR2LFS
C & K
C & K
PTS641 SM34 SMTR2 LFS
PTS641 SP34 SMTR2 LFS
200 S6 JS203011SCQN.png
JS203011CQN.png
N/A
154-2583
154-6145
N/A
N/A
CKN10849CT-ND
401-2004-ND
N/A
N/A
N/A
2435144
N/A
N/A
611-JS203011SCQN
611-JS203011CQN
N/A
N/A
C & K
C & K
N/A
N/A
JS203011SCQN
JS203011CQN
MSS23D19
MSS-23D19G2-T
1000 C1-5 135-9020
1000 R1-5 679-1459
200 R6 810-1741
200 D1 654-5391
200 Q1 690-0127
200 BT1 N/A
219-7960
BK-888-ND
36-3003-ND
N/A
N/A
N/A
534-3003
MPD
Keystone
BK-888
3003

When there are multiple choosies for components, the top one is the recommended. If JS203011SCQN is sold out, JS203011CQN can be used as an alternative. You must convert it from thou-hole to SMD, by bending the legs.

In this example I bought:

  • RS Components
    • 200 x 135-9404
  • DigiKey
    • 1000 x CKN9112TR-ND (only 800 is needed)
    • 200 x CKN10849CT-ND
    • 200 x BK-888-ND

Order original LK FUGA plastic front

The plastic can purchased by these EAN numbers:

Color Buttons Center
White 5703302140836 5703302132244
Light gray 5703302140829 5703302132237
Dark gray 5703302140843 5703302132251

You need 400 buttons and 200 center plastic.

If you want engraved buttons, they can be ordered at unikkontakt.dk.

Remember to choose "IHC svagstrømstryk", not "IHC wireless". They look similar, but are not compatible.

Print the back side

Download the appropriate model

  • With support: svagstromstryk_lukket-bagside_med-support.stl
  • Without support: svagstromstryk_lukket-bagside_uden-support.stl

Tolerances are very small. The space inside must be 41.6 mm wide. Depending you the type of plastic used, the model must be enlarged between 100.2 and 100.8%. The "ironing" feature in Cura is also very useful, because it make assembling easier. Remember to pass this info along, if someone else print the model for you. Teste one, before you print a lot.

Extract the TRÅDFRI ZigBee module

The ZigBee module is inside the TRÅDFRI remote. It can be purchased directly by the number 304.431.24. It is also included in a variety of bundles.

The extraction of the module is quite hard, and the remote is fairly expensive in some regions. Alternatively you can to use the ZigBee module from other TRÅDFRI devices, if you reprogram it.


Wallswitch-10.jpg


The TRÅDFRI signal repeater is the easiest product to extract the module from. Just push on the USB plug, and it pops open. It is only soldered on 4 pads.

Wallswitch-11.jpg


The bulbs are harder to open, but are easy to desolder, because it is only soldered on one side. The 400 lm white bulb is the cheapest option to the the module.

Wallswitch-12.jpg


Most TRÅDFRI products has the ZigBee module. You can recycle broken or unused devices.

Wallswitch-13.jpg Wallswitch-14.jpg


Except the ON/OFF remote and the dimmer remote, they don't have the module.

Wallswitch-15.jpg Wallswitch-16.jpg

Assembly

Solder the components on the circuit board in this order:

Top side: Small components (already done if ordered with components on).

Wallswitch-18.png


Top side: Switches and buttons.

Wallswitch-17.png


Back side: ZigBee module.

Wallswitch-19.png


Back side: Battery holder (remember to fill the center pad with solder).

If you used an alternative ZigBee module, you must reprogram it now

Wallswitch-20.png


Insert battery, note the polarity. There is a plus sign on both the battery holder and the battery, they should match.

After clicking 4 times on pairing button, The LED should start flashing.

Wallswitch-21.png


Inset the circuit board into the plastic back. Mount the battery side first. It might be necessary to remove some plastic under the tabs.

Wallswitch-22.png


Mount the frost side plastic.

Wallswitch-23.png


Test that everything is working. Enjoy!

Wallswitch-24.png