Wiki

This version is outdated by a newer approved version.DiffThis version (08 Nov 2016 12:55) was approved by Adrian Suciu.The Previously approved version (24 Oct 2016 18:11) is available.Diff

This is an old revision of the document!


ARM mbed is a solution to quickly prototype and build embedded applications using ARM microcontrollers. The goal of these projects (microcontroller/mbed) is to be able to provide reference projects for the mbed platform, to help customers use ADI parts with their mbed projects.

These examples can be run using the online compiler at https://developer.mbed.org or by setting up your computer using the following guide: https://wiki.analog.com/resources/tools-software/mbed-user-guide

The latest drivers and shield libraries can be found at: https://github.com/analogdevicesinc/mbed-adi A mirror of the git repository can be found on the mbed website at: https://developer.mbed.org/teams/AnalogDevices/code/mbed-drivers/

mbed DRIVERS

Part Number Reference Project Description Driver
Analog to Digital Converters
AD7790 EVAL-CN0357-ARDZ The AD7790 is a low power, complete analog front end for low frequency measurement applications. It contains a low noise 16-bit ∑-Δ ADC with one differential input that can be buffered or unbuffered along with a digital PGA, which allows gains of 1, 2, 4, and 8. The device operates from an internal clock. Therefore, the user does not have to supply a clock source to the device. The output data rate from the part is software programmable and can be varied from 9.5 Hz to 120 Hz, with the rms noise equal to 1.1 μV at the lower update rate. The internal clock frequency can be divided by a factor of 2, 4, or 8, which leads to a reduction in the current consumption. The update rate, cutoff frequency, and settling time will scale with the clock frequency. The part operates with a power supply from 2.5 V to 5.25 V. When operating from a 3 V supply, the power dissipation for the part is 225 μW maximum. It is housed in a 10-lead MSOP github driver

mbed driver page:

AD7791 EVAL-CN0216-ARDZ The AD7791 is a low power, complete analog front end for low frequency measurement applications. It contains a low noise 24-bit ∑-Δ ADC with one differential input that can be buffered or unbuffered. The device operates from an internal clock. Therefore, the user does not have to supply a clock source to the device. The output data rate from the part is software programmable and can be varied from 9.5 Hz to 120 Hz, with the rms noise equal to 1.1 μV at the lower update rate. The internal clock frequency can be divided by a factor of 2, 4, or 8, which leads to a reduction in the current consumption. The update rate, cutoff frequency, and settling time will scale with the clock frequency. The part operates with a power supply from 2.5 V to 5.25 V. When operating from a 3 V supply, the power dissipation for the part is 225 μW maximum. It is housed in a 10-lead MSOP. github driver

mbed driver page:

AD7798 EVAL-CN0396-ARDZ
EVAL-CN0397-ARDZ
The AD7798/AD7799 are low power, low noise, complete analog front ends for high precision measurement applications. The AD7798/AD7799 contains a low noise, 16-/24- it ∑-∆ ADC with three differential analog inputs. The on-chip, low noise instrumentation amplifier means that signals of small amplitude can be interfaced directly to the ADC. With a gain setting of 64, the rms noise is 27 nV for the AD7799 and 40 nV for the AD7798 when the update rate equals 4.17 Hz. On-chip features include a low-side power switch, reference detect, programmable digital output pins, burnout currents, and an internal clock oscillator. The output data rate from the part is software-programmable and can be varied from 4.17 Hz to 470 Hz. The part operates with a power supply from 2.7 V to 5.25 V. The AD7798 consumes a current of 300 µA typical, whereas the AD7799 consumes 380 µA typical. Both devices are housed in a 16-lead TSSOP package. github driver

mbed driver page:

AD7124 EVAL-CN0391-ARDZ
EVAL-CN0398-ARDZ
The AD7124-8 is a low power, low noise, completely integrated analog front end for high precision measurement applications. The device contains a low noise, 24-bit Σ-Δ analog-to-digital converter (ADC), and can be configured to have 8 differential inputs or 15 single-ended or pseudo differential inputs. The onchip low gain stage ensures that signals of small amplitude can be interfaced directly to the ADC. One of the major advantages of the AD7124-8 is that it gives the user the flexibility to employ one of three integrated power modes. The current consumption, range of output data rates, and rms noise can be tailored with the power mode selected. The device also offers a multitude of filter options, ensuring that the user has the highest degree of flexibility. The AD7124-8 can achieve simultaneous 50 Hz and 60 Hz rejection when operating at an output data rate of 25 SPS (single cycle settling), with rejection in excess of 80 dB achieved at lower output data rates. As many as 16 channels can be enabled at any time, a channel being defined as an analog input or a diagnostic such as a power supply check or a reference check. This unique feature allows diagnostics to be interleaved with conversions. The AD7124-8 also supports per channel configuration. The device allows eight configurations or setups. Each configuration consists of gain, filter type, output data rate, buffering, and reference source. The user can assign any of these setups on a channel by channel basis. The AD7124-8 also has extensive diagnostic functionality integrated as part of its comprehensive feature set. These diagnostics include a cyclic redundancy check (CRC), signal chain checks, and serial interface checks, which lead to a more robust solution. These diagnostics reduce the need for external components to implement diagnostics, resulting in reduced board space needs, reduced design cycle times, and cost savings. The AD7124-8 is housed in a 32-lead LFCSP package github driver

mbed driver page:

Digital Potentiometers
AD5270
AD5271
EVAL-CN0357-ARDZ The AD5270/AD52711 are single-channel, 1024-/256-position digital rheostats that combine industry leading variable resistor performance with nonvolatile memory (NVM) in a compact package. The AD5270/AD5271 ensure less than 1% end-to-end resistor tolerance error and offer 50-times programmable (50-TP) memory.github driver

mbed driver page:

MEMS Accelerometers
ADXL362
ADXL362
EVAL-ADXL362-ARDZ 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 of 1 mg/LSB on the ±2 g range. github driver

mbed driver page:

Temperature sensors
ADT7310 EVAL-CN0396-ARDZ The ADT7310 is a high accuracy digital temperature sensor in a narrow SOIC package. It contains a band gap temperature reference and a 13-bit ADC to monitor and digitize the temperature to a 0.0625°C resolution. The ADC resolution, by default, is set to 13 bits (0.0625 °C). This can be changed to 16 bits (0.0078 °C) by setting Bit 7 in the configuration register (Register Address 0x01). The ADT7310 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 ADT7310 has a shutdown mode that powers down the device and offers a shutdown current of typically 2 µA. The ADT7310 is rated for operation over the -55°C to +150°C temperature range. The CT pin is an open-drain output that becomes active when the temperature exceeds a programmable critical temperature limit. The default critical temperature limit is 147°C. The INT pin is also an open-drain output that becomes active when the temperature exceeds a programmable limit. The INT and CT pins can operate in either comparator or interrupt mode. github driver

mbed driver page:

Generic drivers
AD7124-8 EVAL-CN0391-ARDZ The thermocouple driver contains means of computing thermocouple temperature from it's mV readings, and the inverse, the mV value out of a known temperature. It uses both the look-up table method as well as polynomial computation github driver

mbed driver page:

SHIELDS

Board Parts used Description Reference project
EVAL-CN0357-ARDZ AD7790
AD5270
CN0357 single-supply, low noise, portable gas detector circuit using an electrochemical sensor. The Alphasense CO-AX carbon monoxide sensor is used in this example. Electrochemical sensors offer several advantages for instruments that detect or measure the concentration of many toxic gases. Most sensors are gas specific and have usable resolutions under one part per million (ppm) of gas concentration github

mbed:

EVAL-CN0216-ARDZ AD7791 CN-0216 is a precision weigh scale signal conditioning system. It uses the AD7791, a low power buffered 24-bit sigma-delta ADC along with dual external ADA4528-1 zero-drift amplifiers. This solution allows for high dc gain with a single supply. This circuit allows great flexibility in designing a custom low-level signal conditioning front end that gives the user the ability to easily optimize the overall transfer function of the combined sensor-amplifier-converter circuit. github

mbed

EVAL-ADXL362-ARDZ ADXL362 The EVAL-ADXL362-ARDZ shield illustrates the functionality of the ADXL362 - an ultralow power, 3-axis MEMS accelerometer. The ADXL362 is capable of measuring dynamic acceleration (resulting from motion or shock) as well as static acceleration (gravity). It provides 12-bit output resolution and has three operating ranges, ±2 g, ±4 g, and ±8 g. Additional useful features include an on-chip, 12-bit temperature sensor accurate to ±0.5°, motion triggered wake-up functionality, and and several activity detection modes which makes is ideal for portable low-power instruments. The EVAL-ADXL362-ARDZ Shield is designed in Arduino Uno R3 format which makes it suitable to used with both Arduino Due (e.g. EVAL-ADICUP360 based board) and Arduino Uno R3 base boards. github

mbed

CN0391 AD7124 The EVAL-CN0391-ARDZ shield is a single supply, multi channel thermocouple temperature meter. The CN0391 uses AD7124-8 8-Channel, Low Noise, Low Power, 24-Bit, Sigma-Delta ADC with PGA and Reference as integrated solution for multi channel thermocouple temperature measurement with RTD cold junction compensation. github

mbed

CN0396 AD7798
AD5270
ADT7310
CN0396 is single-supply, low noise, portable gas detector, using a 4-electrode electrochemical sensor, for simultaneous detection of two distinct gases. The Alphasense COH-A2 sensor, which detects carbon monoxide(CO) and hydrogen sulfide(H2S), is used in this example. Electrochemical sensors offer several advantages for instruments that detect or measure the concentration of many toxic gases. Most sensors are gas specific and have usable resolutions under one part per million (ppm) of gas concentration. github

mbed

CN0397 AD7798 CN0397 is an Arduino compatible shield that is optimized for smart agriculture utilizing wavelength specific photodiodes. Photosynthetic response of plants vary due to the wavelength and intensity of light received. Photodiodes used in this circuit has peak sensitivities over the wavelengths of interest, red and blue region, and over the green region which is mainly rejected by the leaves of the plant. github

mbed

CN0398 AD7124 CN0398 is a single supply, low power, high precision complete solution for soil moisture and pH measurements, including temperature compensation. The circuit is optimized for use with capacitive soil moisture sensors that are insensitive to water salinity and do not corrode over time. The circuit also measures soil pH and that function is suitable in a variety of applications. github

mbed

resources/tools-software/mbed-drivers-all.1478606122.txt.gz · Last modified: 08 Nov 2016 12:55 by Adrian Suciu