UG-1656
User Guide
Rev. 0 | Page 4 of 6
INSTALLING THE ARDUINO IDE
Download the latest version of the Arduino software from the
Arduino IDE
link located under the
Setup
section from the
www.analog.com/en/design-center/evaluation-hardware-and-
software/linduino
site. For more information on how to install
the Arduino IDE, visit the Arduino home page.
, take the following steps:
1.
If using the
hardware for the first time, visit the
www.analog.com/en/design-center/
evaluation-hardware-and-software/linduino.html
for
instructions on how to install the
2.
sketchbook,
LTSketchbook.zip
, from
engineering-tools/design-tools/LTSketchbook.zip
file contains the entire code base for the
board,
which includes all demo code, libraries for individual
devices, and auxiliary functions.
3.
Extract this zip file (right click the file) to a location for
working files, such as the
Documents
folder.
4.
To change the Arduino IDE settings to use the
open the Arduino IDE software and navigate to
File
>
Preferences
, which opens the window shown in Figure 6.
2
1
658-
005
Figure 6. Arduino IDE Preferences Window
5.
In the
Sketchbook location
field shown in Figure 6,
click
Browse
and locate the path to the extracted
LTSketchbook.zip
file. The correct file location is shown in
the
LTSketchbook
option in the
Look in
dropdown menu
and the following seven subdirectories are shown:
Active
Learning
,
Documentation
,
Example Designs
,
libraries
,
Part Number
,
User Contributed
, and
Utilities
216
58
-0
06
Figure 7.
LTSketchbook
Location
6.
Note that changing the
location affects how
the built in compiler reads the libraries saved on the default
Arduino/libraries
folder. This folder is automatically created
after installing the Arduino.
NO OPERATING SYSTEM (NO-OS) DRIVER
Download the
adt720.h
and
adt7420.c
files, required to operate
the No-OS driver, from the Analog Devices, Inc., GitHub
repository, as shown in Figure 8. Go to
to download the files.
The No-OS driver path is
no-OS/drivers/temperature/adt7420/
21
65
8-
00
7
Figure 8. Analog GitHub Repository
In the
LTSketchbook/libraries
folder automatically created
after Step 3 in the Installing the LTSketchbook section (see
Figure 7), create a new folder and name it
adt7420
. Copy and
paste the
adt7420.h
and
adt7420.c
files into the newly created
adt7420
folder, as shown in Figure 9.
216
58
-0
0
8
Figure 9.
Documents/Arduino/LTSketchbook/libraries/adt7420
Folder