Lighting connectivity module (LCM) Highly integrated 802.11b/g/n module Wi-Fi dimmable, tunable, white Lighting
LCM1V4T, LCM1V4U
Features 1. Wi-Fi 1x1 802.11b/g/n, WPA2 authentication
2. Multi-country certified turnkey solution
3. Integrated antenna
4. Option for external antenna via U.FL
5. IPv4 and IPv6 support
6. OTA Firmware Upgrades
7. 100% EOL Production Tested
8. Low Power Consumption
9. Receive sensitivity to -94dBm
10. 105°C temperature rating available
11. Single 3.3V Supply
12. Simple Design-In
13. LED output calibration
14. Optional Apple MFI Authentication
15. Minimal external components
16. Small 15×30mm 46-pad package
17. Standard PCBA process compatible
Photo: LCM1V4T (top), LCM1V4E (bottom):
Description The LCM is a fully integrated 802.11b/g/n embedded module, specifically aimed at the IoT and Lighting market.
Operating from a single 3.3V supply, the LCM allows simple integration into existing products.
Fully qualified firmware and software are provided, enabling simple design-in.
Two antenna variants are available:
1. LCM1V4T: integrated PCB trace antenna
2. LCM1V4U: external antenna via U.FL connector
Support for Apple Wireless Accessory Configuration and HomeKit is available with an optional MFI Authentication Coprocessor.
The module is available with temperature rating of 105°C, enabling a wide range of lighting applications.
The module is FCC, IC, R&TTE, KCC, MIC, NCC, SRRC, C-Tick and ROHS certified.
In-firmware LED calibration supports thermal and brightness management.
Integrated light engine and CCT mixing achieves accurate color temperature in tunable white bulbs.
The LCM handles clock synchronization and command scheduling, ensuring an excellent user experience. Leverages the LIFX & AllJoyn framework for optimal interoperability.
© 2015 LIFI Labs Inc. Document version 1.2 Page 1 of 9
LCM1V4T, LCM1V4U
Absolute Maximum Ratings
Supply Voltage (V DD) –0.3 to 3.8V
Digital Inputs (V DIO ) –0.3 to V DD + 0.3V
Analog Inputs (V AIO ) –0.3 to V DD + 0.3V
Maximum current single pin (ID) ±25mA
Operating Temperature Range –20°C to 105°C
Electrostatic discharge, Human body model (V HBM) ±2000V
Maximum RF Input referenced to 50Ω (RF IN ) 10dBm Note: All voltages are referenced to ground.
Recommended Operating Conditions
Symbol Parameter Min Typ Max Units
V DD 3.3V supply (MCU, Wi-Fi) 3.14 3.3 3.46 V
IDD 3.3V supply current - 100 400 mA
Ordering Information The LCM is available in two physical variants:
1. LCM1V4T - PCB trace antenna
2. LCM1V4U - External antenna via UFL connector
The variants are electrically identical, changing only in antenna design.
© 2015 LIFI Labs Inc. Document version 1.2 Page 2 of 9
LCM1V4T, LCM1V4U
Pinout Diagram
Pin Functions Symbol Pin I/O Description Lighting Mode A B C
GND 1, 10, 34, 46 Ground SWD_CLK 17 NC Manufacturing test pins, DNC
SWD_DIO 18 NC
PTA5 24 0 FTM0_CH2 PWM 1 Dim Dim Dim Warm PTA4 25 0 FTM0_CH1 PWM 2 Mix Dim Cool nRESET 28 1 Reset line; leave floating in normal operation, short to ground to reset the module PTA2 29 0 UART0_TX UART0 Transmit PTA1 30 1 UART0_RX UART0 Receive PTB2 31 0 LED Driver enable +3.3V 33 SI 3.3V Power Supply for MCU and Wi-Fi
© 2015 LIFI Labs Inc. Document version 1.2 Page 3 of 9
LCM1V4T, LCM1V4U
Note: All other pins should be left floating in normal operation. LED head configurations in the three PWM modes: A) Dimmable 1 ch; B) Tunable mixed 2 ch; C) Tunable 2 ch.
System Block Diagram
© 2015 LIFI Labs Inc. Document version 1.2 Page 4 of 9
LCM1V4T, LCM1V4U
LCM1V4T Footprint
LCM1V4U Footprint
© 2015 LIFI Labs Inc. Document version 1.2 Page 5 of 9
LCM1V4T, LCM1V4U
Typical Application Circuits
Tunable White, 2x Dim:
Dimmable White, 1x Dim:
© 2015 LIFI Labs Inc. Document version 1.2 Page 6 of 9
LCM1V4T, LCM1V4U
Features Power Management
LCM runs from a single 3.3V rail, powering both the Microcontroller and the Wi-Fi chipset. The power supply should be low impedance in order to handle Wi-Fi transmit load stepping. Place at least 10uF of capacitance directly at the 3.3V input pin.
PWM outputs
Both of the PWM pins output 3.3V logic signals. PWM outputs operate at an adjustable frequency, up to 65535 Hz. Many features of the PWM outputs are configurable in the OEM configuration page, please see the section below. Three PWM modes are supported:
1. Dimmable White - 1 LED string, 1 output pins: DIM
2. Tunable White - 2 LED strings, 2 output pins: DIM and MIX
3. Tunable White - 2 LED strings, 2 output pins: DIM Warm and DIM Cool
Dimmable mode is intended for use with a single LED string and a conventional LED driver, such as the TI LM3414.
Both of the Tunable modes are intended for use with two LED strings (for example: one at 2700K, the other at 6500K). They differ in how the two PWM outputs operate.
In Tunable DIM/MIX mode: the DIM pin disables the LED driver to set overall brightness; whilst the MIX output selects which LED string is receiving current from the LED driver output. THese two PWM outputs run at different frequencies in order to avoid beating/harmonics.
The second tunable white mode has two outputs, which drive independent LED drivers.
The LCM also outputs an LED driver enable signal on pin 31 (PTB2), which can optionally be used to connect and disconnect power to LED drivers, to decrease quiescent current draw when the LED outputs are idle. PTB2 is high when the LED driver should be enabled.
Burn-in mode
After initial OEM page is written, the LCM module enters burn-in test mode, where full brightness warm, cool and a 50% mixture of each are output over a period of several hours. This can be used for initial testing of the bulb at the factory to ensure correct operation and reduce ex-factory failures. Power cycle the module three times in under 3 seconds to exit burn-in mode.
Customizable OEM page
The LCM supports one-time customization by OEMs in order to adjust many operating parameters at the factory. The majority of these fields are exposed via the AllJoyn API, allowing applications to query the LCM and introspect its features.
New LCM modules ship with a blank EEPROM and OEM page. The OEM page page must be written before LED PWM pins will operate .
The attached LCM Config Pack documentation includes instructions for how to customize OEM parameters via Wi-Fi.
The OEM page could also be directly programmed into flash via SWD or UART.
Power Configuration
Configurable power parameters include:
1. Minimum time delay between power on and boot (in milliseconds)
2. Quiescent power draw (including LCM idle power)
3. Maximum LED power draw
If a single output frequency is required, set the minimum and maximum frequency to the same value. To set a particular minimum duty cycle, use the minimum frequency and minimum on-time as appropriate (eg, 1% duty cycle at 1 kHz = 10 us minimum on-time).
AllJoyn LSF allows clients to request the bulb instantaneous power consumption. The LCM calculates this as:
Powerinstantaneous = Powerquiescent+ (Power uty cycle)LED× d
Soft AP Mode
In Soft AP mode the LCM modules broadcast a 2.4GHz Wi-Fi access point with SSID in the format LIFX xxxxxx_AJ, where xxxxxx are the tail characters of the module’s MAC address and “LIFX” is the manufacturer name defined in the OEM page.
NOTE: If the LCM has been associated with a Wi-Fi
access point it will no longer be in Soft AP mode. To
reset the LCM to Soft AP mode, power cycle the device
with five sequences of “off for 2 seconds on for 2
seconds”.
© 2015 LIFI Labs Inc. Document version 1.2 Page 7 of 9
LCM1V4T, LCM1V4U
OEM Page Configuration
The OEM Config Pack
A package with Mac, Windows and Linux tools for updating OEM parameters over Wi-Fi is available.
Download the latest config pack (ZIP) from:
http://LCM.lifx.com/oem
Config Parameters
The config pack includes a example configuration file in the YAML file format located at:
examples/example_oem_page.yaml
This file documents all configuration parameters, and can be cloned and edited for OEM parameter customization.
Snippet of Config File
# Description of the product, presented to the user
via the LSF About service # [Range 1 - 63 Characters, String]
description: "Wi-Fi LED Smart Bulb"
# Manufacturer of the product, presented to the user
via the LSF About service # [Range 1 - 63 Characters, String]
manufacturer: "LIFX"
# Model Name of the product, presented to the user via
the LSF About service # [Range 1 - 31 Characters, String]
model: "LIFX White 800"
Updating the OEM Page (Mac OS X)
To update an LCM with blank OEM page via Wi-Fi on Mac OS X, download and unzip the latest config pack from http://LCM.lifx.com/oem follow these steps: 1. Edit a copy of the examples/example_oem_page.yaml config file in any text editor to apply your custom OEM
parameters.
2. Power up the LCM module and connect your Mac’s Wi-Fi to the module’s Soft AP.
NOTE: To reset LCM to Soft AP mode see section “Features: Soft AP Mode” above.
3. Open a Terminal and change to the folder where the Config Pack was unzipped.
4. Send your config file to the module with bin/mac/oem_update, where -d precedes the module’s MAC address, eg:
user@pc$ bin/mac/oem_update -o examples/example_oem_page.yaml -d d073d501d047
5. If oem_update fails with “unauthorized - needs to be unlocked first” error output, contact your LIFX LCM representative for a per-device unlock code to override Wi-Fi once-only OEM page-write security. Append -u followed by your unlock code and re-run oem_update eg:
user@pc$ bin/mac/oem_update -o examples/example_oem_page.yaml -d d073d501d047 -u 207edb2f973210ab3b2c93e778a6d84…
6. Test your OEM page parameters by AllJoyn onboarding and introspection. See AllJoyn Lighting Service Framework docs.
© 2015 LIFI Labs Inc. Document version 1.2 Page 8 of 9
LCM1V4T, LCM1V4U
Updating the OEM Page (Windows)
To update an LCM with blank OEM page via Wi-Fi on Windows, download and unzip the latest config pack from http://LCM.lifx.com/oem follow these steps:
1. Edit a copy of the examples\example_oem_page.yaml config file in any text editor to apply your custom OEM parameters.
2. Power up the LCM module and connect your PC’s Wi-Fi to the module’s Soft AP.
NOTE: To reset LCM to Soft AP mode see section “Features: Soft AP Mode” above.
3. Open a Command terminal (eg. Run cmd.exe) and change to the folder where the Config Pack was unzipped.
4. Send your config file to the module with bin\windows\oem_update, where the first argument is the path to your config file and the second is the module’s MAC address:
C:\lifx-oem\bin\windows> oem_update C:\lifx-oem\examples\example_oem_page.yaml d073d501d047
5. If oem_update fails with “unauthorized - needs to be unlocked first” error output, contact your LIFX LCM representative for a per-device unlock code to override Wi-Fi once-only OEM page-write security. Append your unlock code and re-run oem_update eg:
C:\lifx-oem\bin\windows> oem_update C:\lifx-oem\examples\example_oem_page.yaml d073d501d047
207edb2f973210ab3b2c93e778a6d84…
6. Test your OEM page parameters by AllJoyn onboarding and introspection. See AllJoyn Lighting Service Framework docs.
© 2015 LIFI Labs Inc. Document version 1.2 Page 9 of 9