Design Guide 0011-00-16-01-000 ZICM357SPx Wireless Lighting Hardware Implementation Guide ZICM357SPx Wireless Lighting Hardware Implementation Design Guide Introduction This document describes the hardware connections required to implement a wireless lighting solution using CEL's ZICM357SPx Module. The first part of the document describes the connections required to connect a dimmable LED and driver to the ZICM357SPx Module. The second part of the document describes the connections required to connect a photocell to the ZICM357SPx Module. This will enable changes in ambient light to be detected. A block diagram of the system is shown below: CEL’s MeshConnect™ EM357 Mini Modules combine high performance RF solutions with the market’s premier ZigBee® stack. These modules can accommodate variable range and performance requirements. The MeshConnect EM357 Mini Modules are certified and qualified, enabling customers to accelerate time to market by greatly reducing the design and certification phases of development. For more information on MeshConnect Modules, contact CEL at www.cel.com/MeshConnect. ZICM357SPx Wireless Lighting Hardware Implementation Guide 1 ZICM357SPx Wireless Lighting Hardware Implementation Guide Table of Contents Introduction 1 Dimmable LED Connections on the Reference Design 3 Modifications for Different LED Drivers 3 Photocell Connections on the Reference Design 4 Modifications for Different Photocells 4 Appendix A: Reference Design Schematic 5 Appendix B: Reference Design Bill of Materials 6 References and Revision History 6 ZICM357SPx Wireless Lighting Hardware Implementation Guide 2 ZICM357SPx Wireless Lighting Hardware Implementation Guide Dimmable LED Connections on the Reference Design This design uses the National Semiconductor LM3409 P-Channel Metal Oxide Semiconductor Field Effect Transistor (MOSFET) Buck Controller to drive a Fairchild Semiconductor FDC602P P-Channel MOSFET. This MOSFET is used to control the current, and therefore brightness, supplied to a Cree XPGWHT-L1-0000-00G53 High Brightness LED. The LED driver input is controlled by a Pulse-Width Modulation (PWM) signal connected to EM357 pin PA6. This signal is the input to an inverter (Q1 and R6 in the reference schematic, Figure 1) which controls the Enable (EN) pin of the LM3409. The EN pin has a logic low threshold of 0.5V and a logic high threshold of 1.74V. If a DC voltage of less than 0.5V is applied to the EN pin, the LED will be off. If a DC voltage of greater than 1.74V is applied to the EN pin, the current flow to the LED will be enabled, and the LED will turn on. If a PWM signal alternating between less than 0.5V and greater than 1.74V is applied to the EN pin, the LED will be enabled for the time that the PWM signal is greater than 1.74V. By changing the percentage of time that the LED is enabled, the LED can be dimmed to different brightness levels. The PWM frequency used for this design is 740Hz. Modifications for Different LED Drivers If the LED driver requires a different voltage threshold for the control input, the pull-up voltage on R6 can be changed to level shift the control signal. For example, if a 0V - 10V range is desired, the voltage on node 2 of R6 can be changed to 10V, as shown below: Figure 1 If a different LED driver is used, which requires separate lines for on/off control and dimming, an unused EM357 GPIO can be used to implement the on/off control. If the LED driver does not accept a PWM input, it is still possible to implement the dimming functionality if the LED driver accepts an analog dimming input. The PWM signal can be input to a low pass filter, which will provide an analog output voltage proportional to the duty cycle of the input PWM signal. An example of a low pass filter circuit is shown below: ZICM357SPx Wireless Lighting Hardware Implementation Guide 3 ZICM357SPx Wireless Lighting Hardware Implementation Guide Figure 2 Note: R6 and R7 are a voltage divider used to set the maximum analog output voltage (at 100% duty cycle). L2 and C5 act as the low pass filter. Photocell Connections on the Reference Design The reference design uses the Advanced Photonix, Inc. PDV-P9001 photocell. This is a photoconductive photocell designed to sense light in the 400 - 700nm range. It is designed to have a resistance of 4 - 11kΩ at 10 lux. It responds well to low-light situations, as it has a linear response in the 1 - 100 lux range. A 3.3kΩ resistor is used to implement a voltage divider with the photocell. EM357 pin PB5 is connected to the output of this circuit. In the software, PB5 is configured to be the analog function ADC0. Modifications for Different Photocells The photocell reference circuit can be easily modified for a different photocell. The maximum A/D input voltage of the EM357 is VREF, which is typically 1.2V when generated internally by the EM357. The resistor R1 should be chosen so the voltage seen at PB5 does not exceed VREF in the worst case condition (either very dark or very bright ambient light, depending on the photocell). ZICM357SPx Wireless Lighting Hardware Implementation Guide 4 REVISION RECORD Appendix A: Reference Design Schematic X0 POWER INPUTS 1 2 3.3V J3 2 Pin Conn. GND 1 2 9V GND 1 DESCRIPTION: ISSUE DATE: 11/1/12 PRELIMINARY DIMMABLE LED J1 9V 1 2 Pin Conn. R3 49.9K 2 1 R2 16.5K 3.3V NC GND PC1 PB0 PC4 PB4 4 Q1 5 31 30 CSN COFF GND GND 2 GND CSP GND PGATE C2 C1 2.2µF 9 8 1uF GND 2 7 R4 0.56 6 1 GND 29 28 27 FDC602P_MOSFET_P-CH_20V_5.5A_SSOT-6 4 3 S G PC0 26 5 25 24 PC4 23 PC3 22 PC2 D 6 D D D L1 2 1 SDR0403-220ML 22µH U3 C4 2.2µF GND GND JTCK PB2 1 PA6 32 HIGH BRIGHTNESS LED GND R5 2 21 20 19 13 12 PB1 PC2 PA6 PC3 PA1 PA5 PA0 GND 11 PC0 PB3 PA4 10 PA7 18 9 U4 CEL ZICM357SPx MODULE PC7 PA3 8 PB7 PC6 17 7 PB6 RESET PA2 6 16 5 PB5 PC5 15 4 VCC_3V 3 14 PB5 RESET GND 33 VCC U2 EN LED WHT RF_PROBE IADJ 10 D2 GND GND VIN UVLO D1 GND 2 2 3 3 1 1 DAP 1 LM3409MY/NOPB_IPC GND 11 R6 100K ZICM357SPx MODULE 9V 2 2 3.57K 1 C3 470pF C5 10uF JTCK PA6 GND PA5 GND PA4 3.3V GND PHOTO CELL 3.3V PC0 GND PC4 PA4 1 3 5 7 9 J2 photo cell U1 2 4 6 8 10 SAMTEC_FTSH-105-01-F-DV-K PC2 PC3 JTCK RESET PA5 2 NC 1 ISA3 (PROGRAMMING) CONNECTOR PB5 2 R1 3.3K 1 GND A Drawing Title: LIGHTING REFERENCE DESIGN Size Document Number Date: April 20, 2011 C ISSUE 0011-00-16-01-000 Sheet 1 X0 of 1 ZICM357SPx Wireless Lighting Hardware Implementation Guide Appendix B: Reference Design Bill of Materials Item Quantity Reference Value 1 2 C1 C4 2.2µF 2 1 C2 1uF 3 1 C3 470pF 4 1 C5 10uF 5 1 D1 Diode 6 1 D2 LED WHT 7 2 J1 J3 2 Pin Conn. Part Number C3225X7R1H225K GRM155R61A105KE15D C1608X7R1H471K GRM21BR61C106KE15L MBR0520LT1G XPGWHT-L1-0000-00G53 640456-2 8 1 J2 CONN 10p FTSH-105-01-F-DV-K 9 10 11 12 13 14 15 16 17 1 1 1 1 1 1 1 1 1 L1 Q1 R1 R2 R3 R4 R5 R6 U1 22µH SOT-23-3 3.3K 16.5K 49.9K 0.56 3.57K 100K 4K-11K Ohm SDR0403-220ML MMUN2211LT1G RC0603JR-073K3L CRCW040216K5FKED CRCW040249K9FKED ERJ-3RQFR56V CRCW04023K57FKED RC0402JR-07100KL PDV-P9001 18 1 U2 LED DRIVER LM3409MY/NOPB 19 1 U3 MOSFET FDC602P 20 1 U4 MODULE ZICM357SPx Manufacturer #1 TDK MURATA TDK MURATA ON Semiconductor Cree Inc TYCO Description CAP CER 2.2UF 50V X7R 10% 1210 CAP CER 1UF 10V X5R 0402 CAP CER 470PF 50V X7R 10% 0603 CAP CER 10UF 16V X5R 0805 DIODE SCHOTTKY 20V 0.5A SOD123 LED COOL WHITE 1000MA SMD CONN HEADER VERT 2POS .100 TIN HEADER CONNECTOR,PCB MNT, SAMTEC RECEPT,10 CONTACTS, PIN,0.050 PITCH Bourns Inc. INDUCTOR POWER 22UH 0.76A 0403 ON Semiconductor TRANS BRT NPN 100MA 50V SOT23 YAGEO RES 3.3K OHM 1/10W 5% 0603 SMD VISHAY/DALE RES 16.5K OHM 1/16W 1% 0402 SMD VISHAY/DALE RES 49.9K OHM 1/16W 1% 0402 SMD Panasonic - ECG RESISTOR .56 OHM 1/10W 1% 0603 VISHAY/DALE RES 3.57K OHM 1/16W 1% 0402 SMD YAGEO RES 100K OHM 1/16W 5% 0402 SMD API PHOTOCELL 4K-11K OHM 4.20MM National IC LED DRIVR HIGH BRIGHT 10-MSOP Semiconductor Fairchild MOSFET P-CH 20V 5.5A SSOT-6 Semiconductor CEL ZICM357SPx MODULE References 1. 2. 120-035X-000M EM35x Datasheet, Silicon Laboratories, Inc. MeshConnect ZICM357SPx Datasheet, California Eastern Laboratories Revision History Revision Date A 0011-00-16-01-000 11/13/12 Description Page(s) Initial Release. ZICM357SPx Wireless Lighting Hardware Implementation Guide N/A 6