Solutions Search - Linduino
What is Linduino?
Linduino is Linear Technology’s Arduino compatible system for developing and distributing firmware libraries and example code for Linear Technology’s integrated circuits. The code is designed to be highly portable to other microcontroller platforms, and is written in C using as few processor specific functions as possible. The code libraries can be downloaded by clicking the Downloads tab above and used as-is in your project or individual code snippets may be viewed in the Code section of a supported part. The Linduino One board (Demonstration Circuit DC2026) allows you to test out the code directly, using the standard demo board for the particular IC.
The Linduino One board is compatible with the Arduino Uno, using the Atmel ATMEGA328 processor. This board features a 14-pin “QuikEval” connector that can be plugged into nearly 100 daughter boards for various Linear Technology parts, including Analog to Digital converters, Digital to Analog Converters, high-voltage power monitors, temperature measurement devices, RF synthesizers, battery stack monitors, and more.
An LTM2884 USB Isolator breaks the ground connection to the PC, allowing projects to operate at a different ground potential than the computer that is controlling it.
Setup is Simple:
Setting up Linduino is very simple. The DC2026 Demo Manual provides detailed instructions on the setup procedure.
Here are the three files required to follow the complete procedure in the demo manual:
1) The latest Linduino sketchbook.This file contains the Linduino code base, demo board schematics and board files. If you are only interested in the code, stop here.
2) The QuikEval program. The Linduino board ships with firmware that allows it to communicate with the QuikEval program, which provides all of the GUIs for compatible demo boards. Installing QuikEval is also the recommended way to install the correct USB drivers for the Linduino One board.
3) The Arduino 1.6.4 IDE. This is the development environment for the Arduino, and is required to modify the code, and to load programs into the Linduino One.
Design Files (including schematic, board, gerbers)
We also recommend: Notepad Plus Plus, an excellent code editor: http://notepad-plus-plus.org/
Atmel Studio, for more advanced development and debugging with the Linduino hardware, and Atmel processors in general: http://www.atmel.com/tools/ATMELSTUDIO.aspx
All products below have a code item on the parts page. Please click on the Code tab on the left side to view example code without downloading the entire Linduino Library.
- Click here for ADCs with Linduino code
- Click here for DACs with Linduino code
- Click here for System Monitor & Control with Linduino code
- Click here for Hot Swap with Linduino code
- Click here for Clock Generation and Distribution with Linduino code
- Click here for Battery Stack Monitors with Linduino code
Linduino PSM IntroductionLinduino is a development platform that consists of an Arduino Uno microcontroller from Atmel and a boot-loader allowing for quick in-circuit firmware updates. The software is a simple programming environment based on the AVRGCC compiler. This platform is popular because it is easy to use, both the hardware and software are open source, and it can be programmed in C. We find it an ideal way to demonstrate and distribute libraries for integrated circuits that have digital interfaces such as Inter-Integrated Circuit (I2C) and Serial Peripheral Interface(SPI). Linduino PSM is meant to be used for PSM (Power System Management) devices and is a PMBus library plus sketches distributed with the Linduino software. The PMBus library stack makes writing reliable PMBus code easy by providing:
- I2C/SMBus/PMBus API
- Block and Group Protocol
- L11/L16 – IEEE Float conversions
- Fault Log Decoding
- Code examples
HelpFor questions not found in documentation or the FAQ page, please contact email@example.com
Q: What is Linduino?
A: Linduino (DC2026) is Linear Technology’s Arduino compatible system for developing and distributing firmware libraries and example code for Linear Technology’s integrated circuits.
Q: What is LTSketchbook?
A: Programs written using Arduino are called sketches. LTSketchbook is the entire code base or firmware storage that holds sketches to talk to Linear Technology’s integrated circuits using Linduino.
Q: Where can I get the LTSketchbook?
Q: How do I start with Linduino?
A: The DC2026B (Linduino) demo manual takes you through the entire first-timer experience. You can find it here: DC2026B
Q: Can I run Linduino codes from LTSketchbook on an Arduino?
A: Yes, you can and here is how: http://www.linear.com/solutions/4537
Q: Can I run Quikeval software using an Arduino?
A: No. Linduino uses an FTDI chip instead of a secondary ATMEL chip, as is the case of an Arduino Uno. The Quikeval software looks for the FTDI chip with our description.
Q: Why are some of the functions not being recognized by Arduino IDE even though I have the entire LTSketchbook?
A: One possibility is that you did not set the Preferences for Sketchbook Location in Arduino IDE as LTSketchbook. Also, make sure you are using Arduino 1.0.4.
Q: How can I control two SPI based demo boards using the same Linduino?
A: One of the demo boards can have pin 14 on the ribbon cable (GPIO pin) as chip select. This is assuming that the board does not use this pin for any other connection.
Q: What is the DC590B?
A: Demonstration circuit 590B is a USB-based controller board with SPI and I2C interface. The QuikEval software automatically detects which board is connected to the DC590B. Linduino comes pre-loaded with a DC590 emulator code (DC590B.ino).
Q: How can I have a text based user-interface similar to QuikEval, using a Linduino?
A: Upload Linduino with DC590B.ino. You can talk to the part by sending specific characters through the COM port. For eg:
x = pull Chip Select Low
S = Notifying that sending 8 bits expressed as two hex characters (Hex characters must be in capital)
80 = An example of sending high byte data
S = Notifying that sending 8 bits expressed as two hex characters
00 = An example of sending low byte data
X = pull CS high, this loads the code into the DAC
This string pulls the CS low, sends 0x8000 to the DAC and pulls CS high.
Q: How do I install Arduino on Linux?
A: This page gives you earlier versions of Arduino for Windows, Mac and Linux:
Q: I am running Windows 8 and having trouble installing the Arduino drivers.
A: In order to install Arduino drivers on Windows 8 you will need to disable driver signature enforcement. Please follow the instructions here in order to do so.
Q: Why do I get the following error message when I open QuikEval even after uploading the DC590_emulator code on the Linduino?
A: One reason could be that you had the wrong Target board selected on the Arduino IDE when uploading the DC590_emulator.ino code. To use Linduino, you have to select 'Arduino Uno' option from Tools --> Board before uploading the code.
Mar 31st 2017
We regularly update our Linduino Sketchbook with new products, new files and updates. Please download the library, or rerun your automated installers for an automatic update. 1.2.0. March 31, 2017 New Libraries/ Demo Programs:LTM9100 (DC2423A)LTC2492 (DC1009AA) Demo Program Changes:DC1496BB.ino (LTC2942): Added support for ...
Jan 10th 2017
Introduction The Linduino is Linear Technology’s Arduino compatible system for distributing firmware libraries and example code to customers of Linear Technology’s integrated circuits. The design is based on the Arduino Uno, using the Atmel ATmega328 processor, while adding a 14-pin QuikEval™ connector that ...
Oct 4th 2016
Most of our QuikEval supported demo boards have an on-board EEPROM which is used to store a string of characters. The string holds information about the part number, demo board number and other characteristics of the board. For example, here is the string stored in the EEPROM on demo board DC956: “LTC2485,Cls,D2484,01,01,DC,DC956,---------------“ This ...
Apr 12th 2016
There are several methods for implementing a spectrum analyzer. I’ve been working with SAR ADC products for some time, and using the Fast Fourier Transform (FFT) for spectral analysis on a daily basis. Another common method for implementing a spectrum analyzer is called the swept-tuned receiver. This method involves mixing ...
Mar 12th 2015
While many engineers use a dongle and tools to configure Power System Management devices via PMBus, a growing number of designs are adding Board Management Controllers, or connecting their PMBus to an existing microcontroller or application processer. At LTC, the dongle/tool option is comprised of a DC1613 and LTpowerPlay, and ...
Jan 29th 2014
Recently, we have noticed an influx of interest concerning having our Linduino code work with a regular Arduino Uno. Here we will go over the modifications necessary, and the reasons behind these changes. When Linduino was first conceived at Linear, we didn’t start by dreaming about building our own Arduino board. Our ...
Nov 4th 2013
The Linduino development platform consists of an Arduino compatible development board as well as a large library of example firmware. The Linduino One is fully USB isolated and is meant to provide a stable hardware development platform. Example firmware can be downloaded and compiled, giving users a head start in developing ...
Sep 12th 2013
I’ve found that one of the hardest aspect of my job has been to explain what exactly it is that I do for 8,9, 10 hours a day to those coming from a not so technical background. For the past five years, I’ve been an application engineer for Mixed Signal Products here at LTC, and a large portion of my work has been ...