Skip to the content
PCBKitNew board
2 layers24.5 × 32.5 mmZwallremote, the printed circuit board in 3D

Zigbee Wall Remote

Size
24.5 × 32.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
24
Pads
47
Tracks, vias
110, 16
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
30 Sep 2019
Updated
19 Jul 2020

Overview

Zwallremote is an open-source printed circuit board by mattlokes, from the mattlokes/zwallremote repository on GitHub. It is a 2-layer board of 24.5 × 32.5 mm with 10 parts on 24 nets, routed with 110 tracks and 16 vias.

Its parts include 3 resistors, 1 IC, 1 diode, 1 connector and 1 switch. It belongs with the radio and wireless boards of this library.

README

README.md

zwallremote

zwallremote (Zigbee Wall Remote) is a device based on TI's CC2530 Zigbee Tranciever with built in 8051. Which allows you to reuse your existing light switches to control Tradfi, Hue or other Zigbee Light Link lights.

In fact it actaully acts as a small cheap zigbee remote for all sorts of diffrent uses. For my use case i use it to send commands to zigbee2mqtt which are passed onto HomeAssistant for controlling my Tradfri light network. However there is no reason you could not use it to turn your TV on play music on some smart speakers.

Basics

After booting, the zwallremote polls once a second to detect the state of the screw terminal. If there is a change in state it will send a ZCL_TOGGLE_CMD to the co-ordinator, currently a fixed address in the firmware. I measured current use to be approximately 2uA so it should be capable of running for over 2 years on a single CR2032 coin cell (depending on how many times the light switch is used).

PCB

No known issues, worked first time with my cheap aliexpress CC2530 modules. Pretty Simple

Firmware

You can either:

  1. Can use precompiled binary in firmware/bin/
  • Will need to change the address of your co-ordinator (currently 0x0012_4B00_02C5_A0A6)
  • TODO give script for manipulate the hex file
  1. Comple it yourself:
  • Will need IAR workbench 8051.
  • TI's Z-Stack Home 1.2.2a.44539.
  • The files are just modification to the SampleSwitch example application so just replace files as required.
  • Patience, Prayer and Screaming.

Zigbee2mqtt changes (Now on mainline zigbee2mqtt)

  1. You need to add ZWallRemote to "const devices" list of dictionaries in "node_modules/zigbee-shepherd-converters/devices.js":
python
const devices = [
...
  {
      zigbeeModel: ['ZWallRemote0'],
      model: 'ZWallRemote0',
      vendor: 'Custom devices (DiY)',
      description: 'Matts Wall Switch Remote (https://github.com/mattlokes/ZWallRemote)'
      supports: 'on/off',
      fromZigbee: [ fz.cmdToggle ],
      toZigbee: [],
  },
...
]
  1. Add "ZWallRemote0" to the "const mapping" dictionary in "lib/extension/homeassistant.js"
python
const mapping = { 
 ...
    'ZWallRemote0': [ configurations.sensor_action ]
 ...
 }

Parts

10
QtyValueFootprintReferences
110kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR0
11MResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR1
147Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR2
1Battery_CellBattery:BatteryHolder_Keystone_3002_1x2032BT1
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalPROG0
1Jumper_NO_SmallJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1RESET_SWButton_Switch_SMD:DTSM-32S-BSW0
1STATUSLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD0
1SWITCHTerminalBlock_TE-Connectivity:TerminalBlock_TE_282834-2_1x02_P2.54mm_HorizontalJ0
1SZ1v5RF_Module:SZ1v5U1

Questions

How big is the Zwallremote PCB?

It measures 24.5 × 32.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Zwallremote use?

10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Zwallremote KiCad files?

From the mattlokes/zwallremote repository on GitHub, at the commit this page was made from: the board is pcb/kicad/ZWallRemote.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zwallremote design in my own project?

Its repository states no licence, so its author keeps all rights: ask mattlokes before reusing the design.

Similar boards

  • 2 layers57 × 55.2 mmLogicAnalyzer, the printed circuit board in 3D

    LogicAnalyzer

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    10 parts5.1kGPL-3.0
  • 2 layers32.2 × 15.4 mmProtector, the printed circuit board in 3D

    Protector

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    10 parts4.3kMIT
  • 2 layers26 × 18 mmConn, the printed circuit board in 3D

    Conn

    yaqwsx/KiKit

    Automation tools for KiCAD

    10 parts2.1kMIT
  • 2 layers44.3 × 30.5 mmLime2-SATA RevA, the printed circuit board in 3D

    Lime2-SATA RevA

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    10 parts1.5k
  • 2 layers17.8 × 43.2 mmNano Adapter, the printed circuit board in 3D

    Nano Adapter

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    10 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    10 parts1kGPL-3.0