![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Linear Technology DC1338 Demonstration Board. More...
Linear Technology DC1338 Demonstration Board.
LTC2990: 14-bit ADC Quad I2C Voltage, Current, and Temperature monitor.
Setup: Set the terminal baud rate to 115200 and select the newline terminator. A precision voltage source (preferably low-noise) may be used to apply a voltage to input terminals V1-V8. A precision voltmeter may be used to verify applied voltages. An oscilloscope may be used to view the PWM output. Ensure JP5, JP6 and JP7 are in the LOW position. Refer to Demo Manual DC1338A Explanation of Commands: 1 - Single-Ended Voltage - Selects the Single-Ended Voltage Menu. 1-4: Displays the measured single-ended voltage at one of the V1-V4 inputs. When measuring V1 and V8, ensure jumpers are set to VOLT position. 5: Vcc - Displays the measured Vcc voltage. 6: ALL - Displays the measured voltages at all of the V1-V8 inputs and Vcc. 2 - Differential Voltage - Selects the Differential Voltage Menu. Maximum full scale differential voltage is 0.300V. 1-2: Displays the measured differential voltage across one of the V1-V4 input pairs. The input common-mode range is 0V to Vcc. It is easiest to ground the lower input. When measuring V1 and V4, ensure jumpers are set to VOLT position. 3: ALL - Displays the measured differential voltages at all terminals. 3 - Temperature - Selects the Temperature Menu To measure temperature using on-board transistors, set JP1, JP2, JP3 and JP4 to TEMP position. 1: V1-V2 - Measure temperature of Q1 (mounted to demo board) when JP1 and JP2 are in TEMP position. 2: V3-V4 - Measure temperature of external transistor connected to V3 and V4 terminals. 3: Internal - Measure temperature using the internal temperature sensor. 4: All - Displays temperatures at all connections as well as the internal temperature sensor. 4 - Settings - Selects the Settings Menu Toggles temperature units between degrees Celsius or degrees Kelvin. 1: Toggle temperature units between degrees Celsius and degrees Kelvin. USER INPUT DATA FORMAT: decimal : 1024 hex : 0x400 octal : 02000 (leading 0 "zero") binary : B10000000000 float : 1024.0
http://www.linear.com/product/LTC2990
http://www.linear.com/product/LTC2990#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:
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 DC1338.ino.
Go to the source code of this file.
Functions | |
static void | print_title () |
Prints the title block when program first starts. More... | |
static void | print_prompt () |
Prints main menu. More... | |
static int8_t | menu_1_single_ended_voltage () |
Read single-ended voltages. More... | |
static int8_t | menu_2_read_differential_voltage () |
Read differential voltages. More... | |
static int8_t | menu_3_read_temperature () |
Read temperatures. More... | |
static int8_t | menu_4_settings () |
Configure settings. More... | |
static void | setup () |
Initialize Linduino. More... | |
static void | loop () |
Repeats Linduino loop. More... | |
Variables | |
static uint8_t | demo_board_connected |
Set to 1 if the board is connected. More... | |
const uint16_t | LTC2990_TIMEOUT =1000 |
Configures the maximum timeout allowed for an LTC2990 read. More... | |
const float | LTC2990_SINGLE_ENDED_lsb = 3.05176E-04 |
Typical single-ended LSB weight in volts. More... | |
const float | LTC2990_DIFFERENTIAL_lsb = 1.90735E-05 |
Typical differential LSB weight in volts. More... | |
const float | LTC2990_VCC_lsb = 3.05176E-04 |
Typical VCC LSB weight in volts. More... | |
const float | LTC2990_TEMPERATURE_lsb = 0.0625 |
Typical temperature LSB weight in degrees Celsius (and Kelvin). More... | |
const float | LTC2990_DIODE_VOLTAGE_lsb = 3.815E-05 |
Typical remote diode LSB weight in volts. More... | |
|
static |
Repeats Linduino loop.
Definition at line 153 of file DC1338.ino.
|
static |
Read single-ended voltages.
Definition at line 222 of file DC1338.ino.
|
static |
Read differential voltages.
Definition at line 350 of file DC1338.ino.
|
static |
Read temperatures.
Definition at line 432 of file DC1338.ino.
|
static |
Configure settings.
Definition at line 560 of file DC1338.ino.
|
static |
Prints main menu.
Definition at line 211 of file DC1338.ino.
|
static |
Prints the title block when program first starts.
Definition at line 196 of file DC1338.ino.
|
static |
Initialize Linduino.
Definition at line 135 of file DC1338.ino.
|
static |
Set to 1 if the board is connected.
Definition at line 122 of file DC1338.ino.
const float LTC2990_DIFFERENTIAL_lsb = 1.90735E-05 |
Typical differential LSB weight in volts.
Definition at line 127 of file DC1338.ino.
const float LTC2990_DIODE_VOLTAGE_lsb = 3.815E-05 |
Typical remote diode LSB weight in volts.
Definition at line 132 of file DC1338.ino.
const float LTC2990_SINGLE_ENDED_lsb = 3.05176E-04 |
Typical single-ended LSB weight in volts.
Definition at line 126 of file DC1338.ino.
const float LTC2990_TEMPERATURE_lsb = 0.0625 |
Typical temperature LSB weight in degrees Celsius (and Kelvin).
Definition at line 130 of file DC1338.ino.
const uint16_t LTC2990_TIMEOUT =1000 |
Configures the maximum timeout allowed for an LTC2990 read.
Definition at line 123 of file DC1338.ino.
const float LTC2990_VCC_lsb = 3.05176E-04 |
Typical VCC LSB weight in volts.
Definition at line 128 of file DC1338.ino.