Linear Technology DC2218A Demonstration Board.
LT3965 - 8-Switch Matrix LED Dimmer
Setup:
Follow the procedure below:
1. Set the PATTERN SELECT rotary switch S1 to any position between 0 and 6.
Position 7 is reserved for use with the GUI (graphical user interface).
2. Connect 12V power to either the EMIVIN and GND banana jacks or to the
J7 2.1mm (inside diameter) barrel jack.
3. Observe the red LED indicator light (D32). When it begins flashing,
then the board is ready to start up.
4. When the red LED (D32) is flashing, push the Start button S3.
5. Observe the LED patterns and adjust the speed, brightness and pattern of
the LEDs with the manual blue potentiometer R14.
6. Change the Pattern Select rotary switch to positions 0-6 to observe
different patterns.
7. Press the Reset button S2 to start over again.
USER INPUT DATA FORMAT:
decimal : 1024
hex : 0x400
octal : 02000 (leading 0 "zero")
binary : B10000000000
float : 1024.0
http://www.linear.com/product/LT3965
http://www.linear.com/product/LT3965#demoboards
Copyright 2018(c) Analog Devices, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
- The use of this software may or may not infringe the patent rights of one or more patent holders. This license does not release you from the requirement that you obtain separate licenses from these patent holders to use this software.
- Use of the software either in source or binary form, must be run on or directly connected to an Analog Devices Inc. component.
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file DC2218A.ino.
|
static void | fadewave () |
| Using the PWM dim WITH FADE commands, a wave of light is created by fading the LED brightnesses up and down. More...
|
|
static void | analog () |
| Func Desc: All LEDs lighted up to the same level depending on pot value. More...
|
|
static void | sidebend () |
| Func Desc: Varying number of brightened LEDs depending on pot. More...
|
|
static void | sidebendAuto () |
| All sixteen LEDs adjust PWM dimming duty cycle and brightness based upon the position of the steering wheel (interactive potentiometer). More...
|
|
static void | dazzle () |
| Consecutive LEDs alternate fading up and down. More...
|
|
static void | pulse () |
|
static void | wave () |
| A wave of light from right to left and from left to right changing PWM dimming brightness quickly increasing and decreasing at rates that look like a wave running from one side of the LEDs to the other. More...
|
|
static void | steeringRightAndLeft () |
| Center headlight LEDs stay on to face directly forward while the right and left side LEDs turn on with brightness proportional to the amount that the steering wheel (interactive potentiometer) is turned. More...
|
|
static void | sectionalBlanking () |
| All LEDs are illluminated to full brightness simulating a car with its high-beams turned on. More...
|
|
static void | orbit () |
| LEDs illuminate around the outside of the board, giving the effect of a comet with a tail traveling around the board. More...
|
|
static void | GraphicUI () |
| Function to talk to GUI. More...
|
|
static int | readpot (void) |
| Performs an analog read on the potentiometer pin using hysteresis to reduce variation in ADC values. More...
|
|
static void | setThresh () |
| Sets the short circuit and open circuit thresholds defined for DC2218A. More...
|
|
static void | LT3965_i2c_enable () |
|
static void | setup () |
| Initialize Linduino. More...
|
|
static void | loop () |
| Repeats Linduino loop. More...
|
|
static int8_t | write_bytes (uint8_t size, uint8_t byte1, uint8_t byte2, uint8_t byte3) |
| Function to write I2C bytes which are received from GUI. More...
|
|
static int8_t | read_bytes (uint8_t size, uint8_t byte1, uint8_t byte2, uint8_t byte3) |
| Function to read I2C bytes depending on the bytes received from GUI. More...
|
|
static void | analogAuto () |
| Func Desc: All LEDs illuminated to the same brightness level depending on potentiometer value. More...
|
|