Despite the initial investment, solid state lighting (SSL) has proven to be a viable alternative over conventional technologies due to the combined savings in energy consumption and maintenance costs, as well as design flexibility. Furthermore, increased energy savings can be realized with active intelligence such as occupancy and ambient light sensors, as well as external dimming controls to eliminate excessive lighting. Since there are a wide variety of constant current LED drivers requiring a 0-10 volt DC input for dimming control available, the focus of this discussion will be utilizing these drivers with a wireless interface.
The overall concept is relatively straightforward. A data stream containing the desired control voltage is transmitted and then received by a module that has been configured to act as a transparent RS-232 interface to a microcontroller. The microcontroller in turn interprets the data stream and loads the appropriate values into the data registers of a digital-to-analog converter to produce the desired control voltage.
Due to the widespread use of devices such as laptops, tablets, and cell phones, the Bluetooth connection protocol was selected for the transmission of the control voltage data stream. On the reception side, the876-1005-NDΒ evaluation board for the Panasonic PAN1555 was selected for its versatility and ease of use in prototyping.
The selection of the microcontroller was based upon 3.3 volt operation and the requirements of having a USART, a programmable internal oscillator, and sufficient yet not excessive I/O. Due to the consideration of future implementations requiring PWM for control and the storage of non-volatile data, the features of PWM and EEPROM were added to the requirements. TheΒ PIC12F1822-I/P-NDΒ was ultimately decided upon.
The DAC selection was based upon the requirements of a single supply, an output voltage of at least 10 volts, a serial interface, 12-bit resolution, and an external reference input. TheΒ LTC1257IN8#PBF-NDΒ proved to be a worthwhile candidate.
In order for the DAC to produce the necessary output range, a 10 volt voltage reference is required. TheLM4040CIZ-10.0/NOPB-NDΒ was selected due to its Β±0.5% tolerance, TO-92 package, and 15mA output current capability.
Several criteria were considered in selecting the power supply for the circuit. First, the supply voltage needs to be sufficient enough to allow the DAC to provide a 10 volt output. According to the specifications of the LTC1257, VCCΒ needs to exceed the reference voltage (10V) by 2.7 volts, making the selection of a 15 volt supply appropriate. The desire for an enclosed board-mount supply with a minimal footprint and at least 200 mA of output current resulted in the selection of theΒ 945-1068-NDΒ power module.
While the DAC is powered directly from the 15 volt supply, the Bluetooth module requires a 3.3 volt supply, which will also power the microcontroller. As dropping down from 15 volts to 3.3 volts with a linear regulator would be inefficient, theΒ 945-1661-5-NDΒ was selected due to the fact that itβs a switching regulator having a small footprint, a maximum input voltage of 28 volts, and a 500 mA output capability.
To facilitate powering external devices such as active cooling, theΒ 945-1648-5-NDΒ was chosen to produce a 5 volt supply, again due to it being a switching regulator with a maximum input voltage of 28 volts and a 500 mA output capability. In conjunction with this 5 volt supply, theΒ 296-6549-5-NDΒ βRail Splitterβ was selected to produce a voltage equal to one-half of the DAC output to correspond with, and allow for linear control of the 5 volt powered devices. Terminal block part numberΒ 277-1274-NDΒ was utilized for connection to the 5 volt supply and βRail Splitterβ voltages.
To accommodate connection to the AC power source and the constant current LED driver wires, terminal block part numberΒ 277-1247-NDΒ was selected due to its 0.200β spacing, the accommodation of 14-30 AWG wire, and the capability of handling up to 10 amps of current.
As previously stated, the PAN1555 Bluetooth evaluation board needs to be configured to act as a transparent RS-232 interface to the microcontroller, and the microcontroller needs to be programmed to receive the control voltage data stream and load the DAC registers accordingly. Likewise, a means of transmitting the control voltage to the Bluetooth module needs to be addressed.
The factory default settings on the PanasonicΒ PAN1555Β Bluetooth module on the evaluation board need to be reconfigured for use in this particular application. This is accomplished using AT commands sent via a wired RS-232 interface. The use of a βSmartβ USB cable such as theΒ TTL-232R-3V3-WEΒ simplifies this task. There are two important considerations to take note of when using this cable. First, in order to make the FT232R in the cable appear as a virtual COM port, it is necessary to download the free USB drivers from FTDI atΒ http://www.ftdichip.com. Secondly, despite the fact that the TTL levels on this cable are at 3.3 volts, the cable VCCΒ supply voltage is at the USB port voltage of 5 volts. In order to power the evaluation board during configuration, this supply voltage must be regulated down to 3.3 volts. Regulation requires nothing more than a couple of components such as the combination of theΒ L4931CZ33-APΒ 3.3 volt regulator and theΒ EEA-GA1H2R2
For more detail:Β Wireless Control of Linearly Dimmed LED Drivers