TRÅDFRI wall switch: Forskelle mellem versioner

Fra PerMejdal
Spring til navigation Spring til søgning
No edit summary
 
(11 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 110: Linje 130:
===Order additional electronic components===
===Order additional electronic components===


Most components are included on the board. You can buy at DigiKey, RS Components or Mouser or a combination of them.
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 !! Picture !! RS Stock No !! Digi-Key Part Number !! Mouser No !! Manufacturer !! Manufacturer Part Number
! Amount !! Reference !! Picture !! RS !! Digi-Key Part !! Farnell !! Mouser !! Manufacturer !! Manufacturer Part Number
|-
|-
| 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 || 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
| 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
|-
|-
| 200 || S5 || [[Fil:PTS641SM34SMTR2LFS.png|40px]]<br>[[Fil:PTS641SP34SMTR2LFS.png|40px]] || 135-9404<br>N/A || N/A<br>CKN10814CT-ND || N/A<br>611-641SP34SMTR2LFS || C & K<br>C & K || PTS641 SM34 SMTR2 LFS<br>PTS641 SP34 SMTR2 LFS
| 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
|-
|-
| 200 || S6 || [[Fil:JS203011SCQN.png|40px]]<br>[[Fil:JS203011CQN.png|40px]] || 154-2583<br>154-6145 || CKN10849CT-ND<br>CKN10849CT-ND || 611-JS203011SCQN<br>611-JS203011CQN || C & K<br>C & K || JS203011SCQN<br>JS203011CQN
| 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
|-
|-
| 1000 || C1-5 || || 135-9020 ||  ||  ||  ||  
| 1000 || C1-5 || || 135-9020 ||  ||  ||  ||  ||
|-
|-
| 1000 || R1-5 || || 679-1459 ||  ||  ||  ||  
| 1000 || R1-5 || || 679-1459 ||  ||  ||  ||  ||
|-
|-
| 200 || R6 || || 810-1741 ||  ||  ||  ||  
| 200 || R6 || || 810-1741 ||  ||  ||  ||  ||
|-
|-
| 200 || D1 || || 654-5391 ||  ||  ||  ||  
| 200 || D1 || || 654-5391 ||  ||  ||  ||  ||
|-
|-
| 200 || Q1 || || 690-0127 ||  ||  ||  ||  
| 200 || Q1 || || 690-0127 ||  ||  ||  ||  ||
|-
|-
| 200 || BT1 || || N/A<br>219-7960 || BK-888-ND<br>36-3003-ND || N/A<br>534-3003 ||  MPD<br>Keystone || BK-888<br>3003
| 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
|}
|}


Linje 160: Linje 180:
You need 400 buttons and 200 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.

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