MAX11410BOB

MAX11410 Breakout Board - 24-bit 1.9ksps Delta-Sigma ADC

Pinout

Datasheet

http://www.maximintegrated.com/products/MAX11410BOB

Notes

PRELIMINARY

MAX11410 Breakout Board 24-bit 1.9ksps Delta-Sigma ADC

General Description

Analog-to-digital converters (ADCs) provide accurate measurement and conversion of signals to digital format for sensing in many electronic applications such as industrial, medical and sensor systems. The MAX11410 is a high speed, 24-bit Delta-Sigma ADC. Development with Delta-Sigma ADCs involves expertise in analog systems, power supplies, digital interfaces and firmware. Now, enter the MAX11410BOB to accelerate the development process.

The MAX11410BOB Breakout Board provides for rapid prototyping and development with the MAX11410 (a 24-bit, 1.9ksps, Delta-Sigma ADC). MAX11410BOB interfaces to any Arduino™-compatible or mbed.org™ compatible platform system with expansion ports configurable for SPI communication. Additionally, the MAX11410BOB works with systems that have a Pmod™ connection, a 2x6 right-angle header at board edge (compatible with Digilentinc.com Pmod™ interface spec) Interface type 2A (expanded SPI) on 2x6 header at board edge. MAX11410 also comes with schematics, design files, and firmware for immediate use and forking to future projects.

The board interfaces to SPI with logic levels in the range 1.71V to 5.5V.

The board comes installed with MAX11410ATI+ installed.

Example firmware is provided for Arduino™ and mbed.org™ system boards.

Tested with:

PMOD is a trademark of Digilent Inc

Arduino is a trademark of Arduino AG

Arm and Mbed are trademarks of Arm Limited (or its subsidiaries)

Windows is a trademark of Microsoft

Quick Start

Required Equipment

  • MAX11410BOB# Breakout Board
  • Appropriate mbed.org or Arduino board
  • Computer with USB and web access
  • A serial terminal emulator software such as teraterm, realterm, picocom, minicom, or equivalent

The procedures below describe the Quick Start process with the MAX32625MBED# and the Arduino. MAX11410BOB has been tested on the platform boards listed above.

There are two example programs for each platform:

  • The "Simplified Hello World" program is a small example program which can be changed by modifying the Hello_MAX11410.cpp source code and repeating the compile-build-upload cycle, providing straightforward code for easy adoption.
  • The "Serial Tester" program is an interactive, menu-driven test program which is controlled through a serial communications port, using a terminal emulator, supporting quick discovery and evaluation of device features for testing functionality.

Procedure for Mbed: Simplified Hello World

The "Simplified Hello World" program is a small example program which can be changed by modifying the Hello_MAX11410.cpp source code and repeating the compile-build-upload cycle, providing straightforward code for easy adoption.

The Breakout Board is fully assembled and tested. The first time the board is used, the MAX11410BOB firmware must be loaded into the MAX32625MBED, or equivalent platform board. This firmware is stored on the MAX32625MBED board and remains after the board is powered off. When the board is plugged into USB the first time, the computer may need about a minute to install its device drivers.

[Repository '/teams/MaximIntegrated/code/MAX11410BOB_24bit_ADC/' not found]

Follow the steps below to verify board operation:

  1. Connect the MAX11410BOB to the MAX32625MBED or equivalent mbed platform board using the standard pinout.
  2. Connect a USB cable from computer to MAX32625MBED board “HDK” USB port. (Windows may require some time to install its device driver.) Expect the system to automatically mount the board as a new USB drive named MBED or DAPLINK or something similar. This is a special-purpose drive: firmware will be loaded into the board by copying the compiled binary into the board's drive. Don't write any other files to this drive.
  3. Open your board's USB device folder and double click on its MBED.HTML file. On the board page, click Add to your Mbed Compiler. This adds your Mbed board to the Online Compiler as a compilation target. See https://os.mbed.com/docs/mbed-os/v5.13/quick-start/index.html for more detailed instructions on using the online compiler.
  4. In a web browser, navigate to https://os.mbed.com/teams/MaximIntegrated/code/MAX11410BOB_24bit_ADC/ and click Import into Compiler. The mbed online IDE window opens, and prompts to import program. Click Import button to complete the import.
  5. Compile the program. When complete, the online mbed IDE downloads the firmware file to your local downloads folder.
  6. Locate the newly built firmware file MAX11410BOB_24bit_ADC.MAX32625MBED.bin and copy the file to the board's MBED drive. (The names might not match exactly if using a platform other than MAX32625MBED, or if there is already a file with that name.) If a warning dialog appears asking to move this file without its properties, answer yes. After file copying is complete, press and release the board's RESET button to start the firmware. Connect input voltages to AIN inputs. Note: if nothing is connected to the analog inputs, the value may "float" to an unspecified, arbitrary value.
  7. The program behavior can be changed by modifying the Hello_MAX11410.cpp source code and repeating the compile-build-upload cycle from step 4.
  8. You can discard your local changes and reset to the latest published firmware version as follows: Bring up the project Revision tab and right-click on the line that says “default” “tip”. In the popup context menu, select Switch working copy to this revision…. There will be a warning that there are uncommitted local changes in the working tree. Click Discard, and all of the local files will be reset to the published version.

Procedure for Mbed: Serial Tester

The "Serial Tester" program is an interactive, menu-driven test program which is controlled through a serial communications port, using a terminal emulator, supporting quick discovery and evaluation of device features for testing functionality.

The Breakout Board is fully assembled and tested. The first time the board is used, the MAX11410BOB firmware must be loaded into the MAX32625MBED, or equivalent platform board. This firmware is stored on the MAX32625MBED board and remains after the board is powered off. The serial tester firmware uses a USB serial port to communicate. When the board is plugged into USB the first time, the computer may need about a minute to install its device drivers.

Import programMAX11410BOB_Serial_Tester

Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.

Follow the steps below to verify board operation:

  1. Connect the MAX11410BOB to the MAX32625MBED or equivalent mbed platform board using the standard pinout.
  2. Connect a USB cable from computer to MAX32625MBED board “HDK” USB port. (Windows may require some time to install its device driver.) Expect the system to automatically mount the board as a new USB drive named MBED or DAPLINK or something similar. This is a special-purpose drive: firmware will be loaded into the board by copying the compiled binary into the board's drive. Don't write any other files to this drive.
  3. Open your board's USB device folder and double click on its MBED.HTML file. On the board page, click Add to your Mbed Compiler. This adds your Mbed board to the Online Compiler as a compilation target. See https://os.mbed.com/docs/mbed-os/v5.13/quick-start/index.html for more detailed instructions on using the online compiler.
  4. In a web browser, navigate to https://os.mbed.com/teams/MaximIntegrated/code/MAX11410BOB_Serial_Tester/ and click Import into Compiler. The mbed online IDE window opens, and prompts to import program. Click Import button to complete the import.
  5. Compile the program. When complete, the online mbed IDE downloads the firmware file to your local downloads folder.
  6. Locate the newly built firmware file MAX11410BOB_Serial_Tester.MAX32625MBED.bin and copy the file to the board's MBED drive. (The names might not match exactly if using a platform other than MAX32625MBED, or if there is already a file with that name.) If a warning dialog appears asking to move this file without its properties, answer yes.
  7. Connect another, or the existing USB cable from computer to MAX32625MBED board “DEV” USB port. Expect the LEDs in the lower right corner should flash briefly and then remain lit.
  8. Locate the newly arrived USB Serial Device COM port, and use a serial terminal emulator (such as teraterm, realterm, picocom, minicom, or equivalent). Baud rate is 9600.

Procedure for Arduino: Simplified Hello World

The "Simplified Hello World" program is a small example program which can be changed by modifying the Hello_MAX11410.cpp source code and repeating the compile-build-upload cycle, providing straightforward code for easy adoption.

The Breakout Board is fully assembled and tested. The first time the board is used, the MAX11410BOB firmware must be loaded into the Arduino board. This firmware is stored on the Arduino board and remains after the board is powered off. The firmware uses a USB serial port to communicate. When the board is plugged into USB the first time, the computer may need about a minute to install its device drivers.

Follow the steps below to verify board operation:

  1. Connect the MAX11410BOB to the Arduino board using the standard pinout.
  2. Connect a USB cable from computer to Arduino board USB port. (Windows may require some time to install its device driver.)
  3. In a web browser, navigate to https://create.arduino.cc/editor/whismanoid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/preview and click "Add to my Sketchbook".
  4. Connect USB cable to Arduino hardware. If this is your first time using Arduino Create online, you may be prompted to install Arduino Create Agent to connect with the hardware.
  5. Compile the program with the "Upload and Save" button.
  6. Connect input voltages to AIN inputs. Note: if nothing is connected to the analog inputs, the value may "float" to an unspecified, arbitrary value.
  7. The program behavior can be changed by modifying the Hello_MAX11410.cpp source code and repeating the compile-build-upload cycle.

Procedure for Arduino: Serial Tester

The "Serial Tester" program is an interactive, menu-driven test program which is controlled through a serial communications port, using a terminal emulator, supporting quick discovery and evaluation of device features for testing functionality.

The Breakout Board is fully assembled and tested. The first time the board is used, the MAX11410BOB firmware must be loaded into the Arduino board. This firmware is stored on the Arduino board and remains after the board is powered off. The firmware uses a USB serial port to communicate. When the board is plugged into USB the first time, the computer may need about a minute to install its device drivers.

Follow the steps below to verify board operation:

  1. Connect the MAX11410BOB to the Arduino board using the standard pinout.
  2. Connect a USB cable from computer to Arduino board USB port. (Windows may require some time to install its device driver.)
  3. In a web browser, navigate to https://create.arduino.cc/editor/whismanoid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/preview and click "Add to my Sketchbook".
  4. Connect USB cable to Arduino hardware. If this is your first time using Arduino Create online, you may be prompted to install Arduino Create Agent to connect with the hardware.
  5. Compile the program with the "Upload and Save" button.
  6. Locate the newly arrived USB Serial Device COM port, and use a serial terminal emulator (such as teraterm, realterm, picocom, minicom, or equivalent). Baud rate is 9600.

Sending Commands with a Serial Console

A serial terminal emulator software (such as teraterm, realterm, putty, picocom, minicom, or equivalent) must be installed to communicate with the example firmware. Various terminal programs connect in various ways and have different user interfaces, but they all share a common set of basic features:

  • Connecting to a specific serial port device by name, such as COM4 or /dev/ttyACM0
  • Settings such as baud rate 9600, 8 bits / No parity / 1 Stop bit, no flow control
  • Typing at the keyboard transmits to the firmware through the serial port
  • Messages received from the firmware are displayed on the screen
  • A special keyboard command or menu item exits the terminal program

See https://os.mbed.com/handbook/Terminals for more details. More resources:

In Windows™, install a terminal emulator such as teraterm, realterm, or putty. Find the serial port name and COM port number in Control Panel “View devices and printers”. The Mbed board will appear as “USB Serial Device” or “mbed Serial Port”. See https://os.mbed.com/handbook/Windows-serial-configuration and https://os.mbed.com/docs/mbed-os/v5.11/tutorials/windows-serial-driver.html for troubleshooting. Start the terminal emulator and use its menu to connect to the serial port that belongs to the board. Pressing ENTER displays the firmware’s banner message (see example session).

In linux, install a terminal emulator such as minicom or picocom. For example, under Debian or Ubuntu linux, use

sudo apt-get install picocom

In linux (Debian), find the serial port name as follows:

# with the board not connected, get list of tty device names
ls -1 /dev/tty~* >dev_tty_baseline
# now connect the device to USB and find the new tty device name (such as /dev/ttyACM0)
ls -1 /dev/tty~* | diff dev_tty_baseline -

The picocom terminal emulator runs from the tty console. The tty device name must be given on the command line when starting picocom. See man picocom for more details.

picocom /dev/ttyACM0 --baud 9600

Pressing ENTER displays the firmware’s banner message (see example session). Pressing CTRL+A and then CTRL+X exits picocom.

Example Serial Console Session

The firmware uses a USB serial port to communicate. Typing “?” prints a menu of supported device commands.

# Brief Example for MAX11410BOB Breakout Board

Main menu MAX11410 24-bit 1.9ksps DELTA-SIGMA ADC MAX32625 [microUSB]
 ? -- help
MAX11410 > ?

Main menu MAX11410 24-bit 1.9ksps DELTA-SIGMA ADC MAX32625 [microUSB]
 ? -- help
 # -- lines beginning with # are comments
 . -- SelfTest
 %Hn {pin: 0 1 3 4 5 6 7 8 14 15 16 17} -- High Output
 %Ln {pin: 0 1 3 4 5 6 7 8 14 15 16 17} -- Low Output
 %?n {pin: 0 1 3 4 5 6 7 8 14 15 16 17} -- Input
 %A -- analogRead
 %D -- DAC output MAX541 (SPI2)
 %SC SCLK=12000000=12.000MHz CPOL=1 CPHA=1 -- SPI config
 %SW mosi,mosi,...mosi -- SPI write hex bytes
 ...
 ... TODO: MAX11410 specific help items will go here
 ...

Detailed Description of Hardware

The MAX11410 is a 24-bit, 1.9ksps, Delta-Sigma ADC. Connect analog inputs to the AIN0..AIN9 header pins. (The first 6 analog inputs are also connected to the standard Arduino analog pins on the external connector.) The MAX6126 provides the 2.5V analog reference voltage. The MAX8511 provides a low-dropout 3.3V supply. The MAX14931 digital isolator translates the external logic signals in the range of 1.71V to 5.5V for use with the MAX11410’s 3.3V supply. For more information on these products, please visit:

Measuring Temperature Using Thermocouple

Configure the MAX11410BOB board to measure temperature using a thermocouple as follows:

  1. Install optional series resistors at R3 and R8
  2. Install optional shunt resistor or capacitor at R2
  3. Connect the thermocouple wires to the board at the TC header site. The square marks the positive lead which connects to AIN5 through optional resistor R3.
  4. For cold junction measurement, follow the instructions in Measuring Temperature Using RTD, and ensure the RTD is located close to the board. External voltage reference U4 MAX6126 provides a highly accurate +2.5V reference voltage at REF2P. The software library provides functions Configure_Thermocouple and Measure_Thermocouple. External reference provided to REF2P is compared with the voltage across the thermocouple, AIN5 - AIN6. The thermocouple voltage indicates the temperature difference between the "cold junction" (where the thermocouple wires connect to the board) and the "hot junction" (where the thermocouple wires are welded together). For best accuracy, an RTD is used to measure the temperature of the cold junction, which is then added to the thermocouple temperature difference to give the temperature at the hot junction. (Note that "cold junction" and "hot junction" are just terms of art, the hot junction does not need to be hotter than the cold junction.) <<comment>>insert formula: temperature from thermocouple voltage measurement<</comment>> <<comment>>insert example code using Configure_Thermocouple and Measure_Thermocouple<</comment>> <<comment>>insert example code using Configure_Thermocouple and Measure_Thermocouple<</comment>>

Measuring Temperature Using RTD

Configure the MAX11410BOB board to measure temperature using a resistive temperature device (RTD) as follows:

  1. Connect the RTD wires to the board at the RTD header site.
  2. Connect wire across J1 (AIN9 to REF1P) The software library provides functions Configure_RTD and Measure_RTD. The MAX11410 is configured to drive its internal current source from AIN8, through both the RTD and the high-accuracy reference resistor R1 between REF1P and REF1N. The ratio of (AIN8-AIN9)/(REF1P-REF1N) indicates the resistance ratio RRTD/R1. The value of R1 must be known to good accuracy. From the measured resistance of the RTD, the temperature is calculated. <<comment>>insert formula: temperature from RTD resistance measurement<</comment>> <<comment>>insert example code using Configure_RTD and Measure_RTD<</comment>> <<comment>>insert example code using Configure_RTD and Measure_RTD<</comment>>

Table 1. Jumper Functions

JumperStateFunction
J21-2*Analog input AIN0 connects to Arduino pin A0
J31-2*Analog input AIN1 connects to Arduino pin A1
J41-2*Analog input AIN2 connects to Arduino pin A2
J51-2*Analog input AIN3 connects to Arduino pin A3
J61-2*Analog input AIN4 connects to Arduino pin A4
J71-2*Analog input AIN5 connects to Arduino pin A5
JREF2P1-2*Analog reference input REF2P is driven by on-board +2.5V reference (MAX6126)
J81-2*VDDREG supply is provided by on-board +3.3V regulator (MAX8511)
J131-2*AVDD supply is provided by on-board +3.3V regulator (MAX8511)
J151-2*VDDIO supply is provided by on-board +3.3V regulator (MAX8511)
J141-2*2.5V reference force/sense connection point
J171-2*MAX14931 GNDA-GNDB connection point
JREF1N1-2*Analog reference input REF1N ground reference
JREF2N1-2*Analog reference input REF2N ground reference
J1OpenAIN9 voltage measurement independent of REF1P reference resistor
1-2RTD sensor current flows from AIN9 into REF1P, for ratiometric measurement
TCOpenConnection point for optional Thermocouple temperature sensor
RTDOpenConnection point for optional Resistive Temperature Device sensor

*Default

Ordering Information

PARTTYPE
MAX11410BOB#Breakout Board

#Denotes RoHS compliant.


You need to log in to post a discussion