User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty...

23
Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 1 of 23 DUSTY ADI SENSOR User’s Guide ITM-DASN-A-02: PCB Ant. All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by MIDATRONICS S.r.l. without notice.

Transcript of User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty...

Page 1: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 1 of 23

DUSTY ADI SENSOR User’s Guide

ITM-DASN-A-02: PCB Ant.

All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by MIDATRONICS S.r.l. without notice.

Page 2: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 2 of 23

Outline 1. INTRODUCTION ....................................................................................................................................... 5

1.1. DESCRIPTION ....................................................................................................................................... 5 1.2. KIT CONTENTS ..................................................................................................................................... 5 1.3. GETTING STARTED ............................................................................................................................... 5

2. SYSTEM OVERVIEW ................................................................................................................................ 6 2.1. BOARD LAYOUT .................................................................................................................................... 6 2.2. BLOCK DIAGRAM .................................................................................................................................. 6 2.3. BOARD SPECIFICATIONS ....................................................................................................................... 7 2.4. DUSTY MODULE ................................................................................................................................... 7 2.5. GYROSCOPE ADXRS290BCEZ .......................................................................................................... 7

2.5.1. Features ..................................................................................................................................... 8 2.6. ACCELEROMETER ADXL362BCCZ-RL ................................................................................................ 8

2.6.1. Features ..................................................................................................................................... 9 2.7. TEMPERATURE ADT7420UCPZ ......................................................................................................... 10

2.7.1. Features ................................................................................................................................... 10 3. CONNECTORS ....................................................................................................................................... 12

3.1. J1 - FTDI CABLE TTL 232R 3V3 ........................................................................................................ 12 3.2. J2 - DNP ........................................................................................................................................... 13 3.3. J3 - JTAG ......................................................................................................................................... 13 3.4. J4 - DUST PRGM .............................................................................................................................. 14 3.5. J5 -DNP ............................................................................................................................................ 14 3.6. J6 - VCC - BATT ................................................................................................................................ 14 3.7. J7 - SWITCH ...................................................................................................................................... 15

4. USAGE .................................................................................................................................................... 16 4.1. POWER SUPPLY ................................................................................................................................. 16 4.2. PUSH BUTTON AND LED ..................................................................................................................... 16 4.3. PRE LOADED FW ................................................................................................................................ 17 4.4. CLI COMMANDS ................................................................................................................................. 18

4.4.1. Tasks Controls ......................................................................................................................... 18 4.4.2. Accelerometer Controls ........................................................................................................... 19 4.4.3. Gyroscope Controls ................................................................................................................. 19 4.4.4. Temperature Controls .............................................................................................................. 19 4.4.5. Other Controls......................................................................................................................... 19 4.4.6. Standard LTC5800 Mote CLI commands ................................................................................ 20

5. BOARD LAYOUT ............................................................ ERRORE. IL SEGNALIBRO NON È DEFINITO. 6. REFERENCES AND USEFUL LINKS .................................................................................................... 23

6.1. DATA SHEETS .......................................................................... ERRORE. IL SEGNALIBRO NON È DEFINITO. 6.2. TOOLS ............................................................................................................................................... 23 6.3. WEB SITES ........................................................................................................................................ 23

Page 3: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 3 of 23

Illustrations FIGURE 1 : DUSTY ADI SENSOR PCB ANTENNA .......................................................................... 6 FIGURE 2 DUSTY ADI SENSOR BLOCK DIAGRAM .......................................................................... 6 FIGURE 3 DUSTY ADI SENSOR CONNECTOR ............................................................................. 12 FIGURE 4 J1 FTDI CONNECTOR .......................................................................................... 13 FIGURE 5 J1 DUSTY EXPANSION CONNECTOR........................................................................... 13 FIGURE 6 J3 JTAG CONNECTOR .......................................................................................... 13 FIGURE 7 J4 DUST PRGM CONNECTOR ................................................................................. 14 FIGURE 8 J5 DUSTY - ANALOG INPUT CONNECTOR ..................................................................... 14 FIGURE 9 J6 VOT/AMP MEASURE ......................................................................................... 14 FIGURE 10 J6 VOT/AMP MEASURE ....................................................................................... 15 FIGURE 11 PUSH BUTTON & LEDS ........................................................................................ 16 FIGURE 12 BOARD LAYOUT ................................................................................................. 22

Tables TABLE 1 : BOARD SPECIFICATIONS .......................................................................................... 7 TABLE 2 DUSTY ADI SENSOR CONNECTORS ............................................................................. 12 TABLE 3 PUSH BUTTON & LEDS ........................................................................................... 16

Page 4: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 4 of 23

Revisions REVISION DATE DESCRIPTION STATUS AUTHOR REVISER

Ver. 1.0 11/11/17 First release Draft [email protected] Ver. 1.1 21/03/2019 Updated

Company Info Draft [email protected] AC

Disclaimer

All rights strictly reserved. Reproduction in any form is not permitted without written authorization from MIDATRONICS s.r.l. MIDATRONICS S.r.l. [email protected] Via Zucchi 1 20900 www.midatronics.com Monza (MB) - Italy

Page 5: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 5 of 23

1. Introduction 1.1. Description

The Dust ADI Sensors module is a PCBA product incorporating Analog Devices’s LTC®5800-IPM SoC running SmartMesh IP embedded networking software. Dusty ADI Sensor is equipped with Dusty PCB-Ant. Dusty ADI Sensors include several sensors: temperature, 3 Axis MEMS Accelerometer, 2 Axis MEMS Gyroscope and a User Push button.

Dusty ADI Sensors can be use in conjunction with a SmartMesh IP network. We suggest to consider other MIDATRONICS boards and SmartEverything boards to set up a fast prototyping lab.

1.2. Kit contents The following items are included in the box:

1. 1x Dusty ADI Sensor board 2. 1x plastic box

1.3. Getting started The Dusty ADI Sensor board is a ready-to-use Internet of Things (IoT) evaluation board.

Please refer to the software chapter to learn how to get started with the Dusty ADI Sensor board.

Page 6: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 6 of 23

2. System overview 2.1. Board layout

The layout of the Dusty ADI Sensor board is shown in the picture below.

Figure 1 : Dusty ADI Sensor PCB Antenna

2.2. Block diagram An overview of the functions of the Dusty ADI Sensor board is shown in the figure below:

Figure 2 Dusty ADI Sensor block diagram

Page 7: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 7 of 23

2.3. Board Specifications Characteristics Value Flash Memory 256Kb Board supply voltage 3V CC Temperature -40°C to +85°C Dimensions 68x30 mm RoHS status Compliant

Table 1 : Board specifications

2.4. Dusty module The Dusty module is a SmartMesh IP™ PCBA product incorporating the LTC5800-IPM SoC running Dust’s embedded SmartMesh IP™™ networking software. The Dusty module comes complete with an onboard PCB antenna or U.FL antenna connector, crystals and modular RF certifications.

A SmartMesh IP™ network consists of a highly scalable self-forming multi-hop mesh of wireless nodes, known as motes, and an Access Point mote that connects the motes to the Network Manager, monitoring and managing network performance and security, and acting as a bridge between the host application and the wireless network. Motes are capable of two way communication and they collect and relay data.

For more information on SmartMesh IP™TM visit the following site: https://www.analog.com/en/products/rf-microwave/wireless-sensor-networks/smartmesh-ip.html

More information about Dusty can be found on the Dusty User Guide.

2.5. Gyroscope ADXRS290BCEZ The ADXRS290 is a high performance pitch and roll (dual-axis in-plane) angular rate sensor (gyroscope) designed for use in stabilization applications.

The ADXRS290 provides an output full-scale range of ±100°/s with a sensitivity of 200 LSB/°/s.

Its resonating disk sensor structure enables angular rate measurement about the axes normal to the sides of the package around an in-plane axis.

Angular rate data is formatted as 16-bit twos complement and is accessible through a SPI digital interface.

Page 8: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 8 of 23

The ADXRS290 exhibits a low noise floor of 0.004°/s/√Hz and features programmable high-pass and low-pass filters.

2.5.1. Features • Pitch and roll rate gyroscope

• Ultralow noise: 0.004°/s/√Hz

• High vibration rejection over a wide frequency range

• Power saving standby mode

80 µA current consumption in standby mode

Fast startup time from standby mode: <100 ms

• Low delay of <0.5 ms for a 30 Hz input at the widest bandwidth setting

• Serial peripheral interface (SPI) digital output

• Programmable high-pass and low-pass filters

• 2000 g powered acceleration survivability

• 2.7 V to 5.0 V operation

• −25°C to +85°C operation

• 4.5 mm × 5.8 mm × 1.2 mm cavity laminate package

More information about Gyroscope ADXRS290 can be found on the Link at the Reference chapter.

2.6. Accelerometer ADXL362BCCZ-RL The ADXL362 is an ultralow power, 3-axis MEMS accelerometer that consumes less than 2 µA at a 100 Hz output data rate and 270 nA when in motion triggered wake-up mode.

Unlike accelerometers that use power duty cycling to achieve low power consumption, the ADXL362 does not alias input signals by undersampling; it samples the full bandwidth of the sensor at all data rates.

The ADXL362 always provides 12-bit output resolution; 8-bit formatted data is also provided for more efficient single-byte transfers when a lower resolution is sufficient.

Measurement ranges of ±2 g, ±4 g, and ±8 g are available, with a resolution

Page 9: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 9 of 23

of 1 mg/LSB on the ±2 g range.

A pin output is provided to directly control an external switch when activity is detected, if desired.

2.6.1. Features Ultralow power

• Power can be derived from coin cell battery

• 1.8 µA at 100 Hz ODR, 2.0 V supply

• 3.0 µA at 400 Hz ODR, 2.0 V supply

• 270 nA motion activated wake-up mode

• 10 nA standby current

High resolution: 1 mg/LSB

Built-in features for system-level power savings:

• Adjustable threshold sleep/wake modes for motion activation

• Autonomous interrupt processing, without need for microcontroller intervention, to allow the rest of the system to be turned off completely

• Deep embedded FIFO minimizes host processor load

• Awake state output enables implementation of standalone, motion activated switch

Low noise down to 175 µg/√Hz

Wide supply and I/O voltage ranges: 1.6 V to 3.5 V

• Operates off 1.8 V to 3.3 V rails

Acceleration sample synchronization via external trigger

On-chip temperature sensor

SPI digital interface

Measurement ranges selectable via SPI command

More information about Accelerometer ADXL362BCCZ-RL can be found on the Link at the Reference chapter.

Page 10: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 10 of 23

2.7. Temperature ADT7420UCPZ The ADT7420 is a high accuracy digital temperature sensor offering breakthrough performance over a wide industrial range, housed in a 4 mm × 4 mm LFCSP package. It contains an internal band gap reference, a temperature sensor, and a 16-bit ADC to monitor and digitize the temperature to 0.0078°C resolution.

The ADC resolution, by default, is set to 13 bits (0.0625°C). The ADC resolution is a user programmable mode that can be changed through the serial interface. The ADT7420 is guaranteed to operate over supply voltages from 2.7 V to 5.5 V. Operating at 3.3 V, the average supply current is typically 210 μA.

The ADT7420 has a shutdown mode that powers down the device and offers a shutdown current of typically 2.0 μA at 3.3 V. The ADT7420 is rated for operation over the −40°C to +150°C temperature range.

2.7.1. Features

High performance

• Temperature accuracy

o ±0.20°C from −10°C to +85°C at 3.0 V

o ±0.25°C from −20°C to +105°C from 2.7 V to 3.3 V

• 16-bit resolution: 0.0078°C

Ultralow temperature drift: 0.0073°C

• NIST traceable or equivalent

• Fast first temperature conversion on power-up of 6 ms

Easy implementation

• No temperature calibration/correction required by user

• No linearity correction required

Low power

Page 11: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 11 of 23

• Power-saving 1 sample per second (SPS) mode

• 700 µW typical at 3.3 V in normal mode

• 7 µW typical at 3.3 V in shutdown mode

Wide operating ranges

• Temperature range: −40°C to +150°C

• Voltage range: 2.7 V to 5.5 V

Programmable interrupts

• Critical overtemperature interrupt

• Overtemperature/undertemperature interrupt

I2C-compatible interface

More information about Temperature ADT7420UCPZcan be found on the Link at the Reference chapter.

Page 12: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 12 of 23

3. Connectors This chapter gives you an overview of the Dusty ADI Sensor connectivity. The connectors’ placement is depicted in the figure below. The board is provided without connectors but it is ready to solder the connector required by the user application.

Figure 3 Dusty ADI sensor Connector

Connector ID Note

FTDI Cable TTL-232R-3V3 J1 Not mounted DNP J2 Not mounted JTAG J3 Not mounted

Dust PRGM J4 Not mounted DNP J5 Not mounted

VCC VBATT J6 Not mounted I MEAS J7 Not mounted

Table 2 Dusty ADI Sensor connectors

3.1. J1 - FTDI cable TTL 232R 3V3 The board is ready to mount a connector for an FTDI cable in order to use a PC as console.

Page 13: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 13 of 23

Figure 4 J1 FTDI connector

3.2. J2 - DNP This connector can support the Dusty expansion.

Figure 5 J1 Dusty Expansion connector

3.3. J3 - JTAG The J3 connector ican be used to DEBUG Dusty module.

Figure 6 J3 JTAG connector

Page 14: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 14 of 23

3.4. J4 - Dust PRGM The J4 can be used to program Dusty module.

Figure 7 J4 Dust PRGM connector

3.5. J5 -DNP This connector can be used to connect the four analog input of Dusty module.

Figure 8 J5 Dusty - Analog input connector

3.6. J6 - VCC - Batt J6 connector can be used to measure battery voltage.

Figure 9 J6 Vot/Amp measure

Page 15: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 15 of 23

3.7. J7 - Switch J7 can be used to connect a switch for power on/off and to measure current consumption.

Figure 10 J6 Vot/Amp measure

Page 16: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 16 of 23

4. Usage This chapter describes how to connect, configure and interact with the Dusty ADI Sensor board.

4.1. Power supply The board can be powered by two different power supply sources:

3. Battery +3 V CR2032

4.2. Push button and LED A basic user interface is provided through on-board buttons and one LED.

Figure 11 Push button & LEDs

OBJECT DESCRIPTION COLOR DUSTY Port Push Button User Button n.a DP4

LED 1 User LED Orange PCS_SSN Table 3 Push button & LEDs

Page 17: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 17 of 23

4.3. Pre loaded Fw The ADI Sensor board come with a pre-loaded OpenSource Fw that make the board immediately ready to study the SmartMeshIp network. The link of complete repository is reported at chapter-6 References and Useful Links

The Fw and evaluation board is provided “as is” without any other rights or warranties, directly or indirectly. The pre loaded Fw shall be intended as an example on how work with the Dusty and its SmartMeshIp, for its nature it could not be considered as a completed product and could be changed in any parts.

The Fw will send the measure of the sensor every 60Seconds or at the pressure of the button.

The stream of bytes, sent over the network, is composed by a sequence of packet with a fixed length of 5 bytes each.

The meaning of the packet are here described:

SOP LEN ID SID NUM

02 Sampling time MSB

03 Sampling time LSB

04 Sampling time Offset

01 Driver info

2A Gyro (X-axis)

2B Gyro (Y-axis)

14 Temperature

17 Acceleration (x-axis)

18 Acceleration (y-axis)

19 Acceleration (z-axis)

1A Button Event

EOP

Table 1 - bytes stream description

SOP - Start of packet byte, always set to 0xFA.

LEN - Number of packets in session, always set to 0x01.

ID - Packet index, increments by one for each new packet

Page 18: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 18 of 23

Index can not be zero, 1..255

SID - Request id, always set to 0x00 , unless responding to a command.

EOP - End of packet token, always set to 0xCE.

The measure are multiplied by 1000 and sent in integer format in BigEndian mode (MSB first).

Eg.

A read temperature of 24.34Celsius, is converted to the integer value of 24340(0x5F1A) and will be sent in this packet.

0x14.0x00.0x00.0x5F.0x1A

The button will report its status on the latest byte of the relative packet 0x1A.0x00.0x00.0x00.0x00. - button not pressed 0x1A.0x00.0x00.0x00.0x01. - button pressed

4.4. CLI Commands Here the complete list of command to control the ADI Sensor

All the command has the specific help information in the bracket.

To see the specific help information on the console CLI just type help <command>

4.4.1. Tasks Controls 4. timeOut (number of SECONDS for polling) :

Accept up to 65536 Seconds. The change is applied at the next polling. The same command without seconds return the current timeOut value.

5. tempKill (ATTENTION kill the Temperature task) : Put the temperature Sensor in shutdown and exit from the temperature task and could not be recreated.

6. accKill (ATTENTION kill the Accelerometer task) : Put the temperature Sensor in shutdown and exit from the accelerometer task and could not be recreated.

7. gyroKill (ATTENTION kill the Gyroscope task) : Put the temperature Sensor in shutdown and exit from the

Page 19: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 19 of 23

gyroscope task and could not be recreated.

4.4.2. Accelerometer Controls 1. AccMode (Accelerometer Power mode [L]ow Power - [H]igh

Power) Low Power = move the sensor in standby High Power = move the sensor in normal mode

4.4.3. Gyroscope Controls 1. GyroMode (Gyro Power mode [L]ow Power - [H]igh Power)

Low Power = move the sensor in standby High Power = move the sensor in normal mode

4.4.4. Temperature Controls 1. tempMode (Temperature Power mode [C]ontinuos -

[O]ne_Shot - [S]hutdown) Continuos = When one conversion is finished, the ADT7420 starts another. One Shot = Conversion time is typically 240 ms. SPS = Conversion time is typically 60 ms. This operational mode reduces the average current consumption. Shutdown (not in CLI) = All circuitry except interface circuitry is powered down.

4.4.5. Other Controls 2. Adc (Read the value on A0-3 pins)

Returns the value read from the analog IO. Note: the value of the pin is read immediately, the Adi Sensor shall be filled by the tension to read before send the comand.

3. Reboot (reset the system) 4. I2c (<R|W> <Hex add> < Hex register> [n_data(max 4)]

[data]) [R]ead or [W]rite any the [register] of any i2c component on the [add]ress. NOTE: add and register are in hexadecimal format without 0X

5. GPIO (I|O [5]{11001}) set in [I]nput or [O]utput the 5 GPIO on the board pin_SPIM_SS_2N

Page 20: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 20 of 23

pin_SPIM_SCK pin_SPIM_MOSI pin_SPIM_MISO pin_PWM0 When status is [I]nput the Adi sensor return the value of the level on ALL 5 pins. When status is [O]utput the Adi Sensor report on the pin the informa tion stored on the last 5 data where 1 = move the pin in HIGH 0 = move the pin in LOW Note: the value of the pin is read immediately, the Adi Sensor shall be filled by the 3V3 or 0V tension before send the comand.

4.4.6. Standard LTC5800 Mote CLI commands All the other commands are described in the following document. https://www.analog.com/media/en/reference-design-documentation/design-notes/smartmesh_ip_mote_cli_guide.pdf

5. SW Development

5.1. Own application To develop an own Fw application on the ADI Sensor board the following SW components are required

1. The On Chip SDK (OCSDK) stack that shall be requested to Analog Devices web site https://my.analog.com/

2. The ADI Sensor box Fw 3. The IAR EmbeddedWorkbench for ARM enviroment

5.2. Flash the application To make the flash of dusty easier a directory called Dust program is present under the project directory.

It contains the binary file of the pre-loaded Fw and the correct fuse file for dusty chip.

Page 21: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 21 of 23

It has also a batch file that could be run to program the dusty.

The user has to add 2 more fie that will have from Analog Devices as part of the OCSDK and write the correct name in the batch file.

NOTE: a specific Hw dongle is required to flash the FW with the provided batch file.

The choice of this dongle is from one of the following Eterna:

1. DC9010B - https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/dc9010b.html

2. DC9006A - https://www.analog.com/en/design-

center/evaluation-hardware-and-software/evaluation-boards-kits/dc9006a.html

Page 22: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 22 of 23

6. Board layout The top board layouts (component placement and overlay) is provided for reference purposes.

Figure 12 Board layout

Page 23: User’s Guide - Midatronicsnew.midatronics.com/wp-content/uploads/2019/10/... · Document Dusty ADI Sensor– User’s Guide 21/03/2019 Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s

Document Dusty ADI Sensor– User’s Guide

21/03/2019

Doc: ITM-DASN-A-02 Dusty ADI Sensor User’s Guide, Rev 1.1 23 of 23

7. References and Useful Links 7.1. Data sheets

Dusty Module https://midatronics.com/Modules Gyroscope ADXRS290BCEZ http://www.analog.com/en/products/mems/gyroscopes/adxrs290.html Accelerometer ADXL362BCCZ-RL http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL362.pdf Temperature ADT7420UCPZ http://www.analog.com/media/en/technical-documentation/data-sheets/ADT7420.pdf LTC 5800-IPM https://www.analog.com/en/products/ltc5800-ipm.html

7.2. Tools 1. IDE - www.iar.com/iar-embedded-workbench/

with ARM architecture tool

7.3. Web Sites 1. MIDATRONICS S.r.l. - www.midatronics.com 2. Analog Device - www.analog.com 3. Dust Cloud - dustcloud.atlassian.net