TRÅDFRI wall switch: Forskelle mellem versioner

Fra PerMejdal
Spring til navigation Spring til søgning
Linje 110: Linje 110:
===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. You can buy at DigiKey, RS Components or Mouser or a combination of them.


{| class="wikitable"
{| class="wikitable"

Versionen fra 5. nov. 2019, 15:05

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

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-10_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. You can buy at DigiKey, RS Components or Mouser or a combination of them.

Amount Reference Included on PCB RS Stock No Digi-Key Part Number Mouser No Manufacturer Manufacturer Part Number
800 S1-4 No 479-1491 CKN9112TR-ND 611-PTS645SM43SMTR92 C & K PTS645 SM43 SMTR92 LFS
200 S5 No 135-9404 CKN10814CT-ND 611-641SP34SMTR2LFS C & K PTS641 SM34 SMTR2 LFS
200 S6 No 154-2583 CKN10849CT-ND 611-JS203011SCQN C & K JS203011SCQN
1000 C1-5 Yes 135-9020
1000 R1-5 Yes 679-1459
200 R6 Yes 810-1741
200 D1 Yes 654-5391
200 Q1 Yes 690-0127
200 BT1 No 219-7960 BK-888-ND 534-3003 MPD BK-888

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 laser engraved buttons, they can be ordered at bestil.lk.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