Load Example Sketch; Using An External Adt7420 - Analog Devices EV-TEMPSENSE-ARDZ User Manual

Shield with arduino or linduino hardware
Table of Contents

Advertisement

EV-TEMPSENSE-ARDZ

LOAD EXAMPLE SKETCH

After downloading and placing all files in the correct location,
take the following steps to load an example sketch from the
LTSketchbook:
1.
Close and open a new Arduino IDE. In the Arduino IDE,
navigate to File > Sketchbook > LTSketchbook > Part
Number > ADI-Parts > EVAL-ADT7420 (see Figure 10). A
new window opens with the
example software. This software allows the user to use the
EVAL-ADT7420ARDZ
shield with the Arduino board.
Figure 10. Arduino IDE Load Sketch Example
2.
Plug the Arduino board to the PC via the USB cable. Select
the board type and serial port by navigating to Tools >
Port and select the serial device of the board as shown in
Figure 11.
Figure 11. Arduino IDE Communications Port
3.
Upload the sketch from Step 1 to the Arduino board by
clicking the right pointing arrow button shown in Figure 12.
Figure 12. Arduino IDE Upload Sketch
User Guide
EVAL-ADT7420ARDZ
Rev. 0 | Page 5 of 6
4.
When the uploading process is completed, a message at the
bottom of the IDE displays the message in Figure 13.
Figure 13. Arduino IDE Upload Success
5.
Open the serial monitor by navigating to Tools > Serial
Monitor (see Figure 11 for the Tools dropdown list). Select
Newline for the dropdown list circled in red in Figure 14
and set the baud rate to 115200. To use the serial monitor,
enter the commands in Figure 14 in the text box at the top
of the window and click Send.
Figure 14. Arduino IDE Serial Monitor
USING AN EXTERNAL
ADT7420
To select the remote ADT7420, close the serial monitor and
change the device address to 0x49 in the sketch example (see
Figure 15). Verify and upload the sketch to the Arduino board,
then wait until the code finishes uploading and the message in
Figure 13 is shown. Next, open the serial monitor.
Figure 15. Arduino IDE Code Change
Note that the ADT7310, ADT7320, and
selected, but this example sketch only considers the
and users must modify the code shown in Figure 15
accordingly.
UG-1656
ADT7410
can also be
ADT7420

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EV-TEMPSENSE-ARDZ and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Eval-adt7420Eval-adt7420ardzAdt7310Adt7410Adt7420Eval-adt7420mbz ... Show all

Table of Contents