GainAMP 3 Click Board
GainAMP 3 Click Board
Overview
The GainAMP 3 Click Board™ is a compact add-on board that contains a 4-channel programmable gain amplifier. This board features the ADA4254, a zero drift, high voltage, programmable gain instrumentation amplifier from Analog Devices. It features 12 binary weighted gains and three scaling gain options resulting in 36 possible gain settings. It comes with an input multiplexer providing ±60V protection to the high impedance inputs of the amplifier and an excitation current source output available to bias sensors such as resistance temperature detectors (RTDs). The ADA4254 zero-drift amplifier topology self-calibrates DC errors and low-frequency noise, achieving excellent DC precision over the entire specified temperature range, maximizing dynamic range, and significantly reducing calibration requirements in many applications.
The GainAMP 3 Click Board™ represents a perfect choice for industrial systems and process control that demand precision, robustness, and low power, thanks to its low power consumption.
How Does The GainAMP 3 Click Board™ Work?
The GainAMP 3 Click Board™ as its foundation uses the ADA4254, a zero drift, high voltage, programmable gain instrumentation amplifier (PGIA) designed for process control and industrial applications from Analog Devices. It accurately measures sensors, voltages, and currents with wide dynamic ranges and provides safety information about what is being measured. It features 12 binary weighted gains ranging from 1/16V/V to 128V/V and three scaling gain options of 1V/V, 1.25V/V, and 1.375V/V, resulting in 36 possible gain settings. Its zero-drift amplifier topology self-calibrates DC errors and low-frequency noise, achieving excellent DC precision over the entire specified temperature range, maximizing dynamic range, and significantly reducing calibration requirements in many applications.
The ADA4254 communicates with MCU using the standard SPI serial interface with a maximum frequency of 5MHz, supporting the most common SPI mode, SPI Mode 0. It comes with a 4-channel input multiplexer providing ±60V protection to the high impedance inputs of the amplifier and an excitation current source output available to bias sensors such as resistance temperature detectors (RTDs). In addition to these channels located on the onboard 9-pole connector, the ADA4254 also has a differential output stage and output excitation current channels.
A differential output stage allows the device to be directly connected to high-precision ADCs. When making such a connection, it is recommended to use a low-pass filter before a connection to the ADCs to minimize noise and aliasing. A software configurable excitation current outputs can be used to excite external circuitry, such as resistive bridges or RTD sensors, and be programmed to a value from 100μA to 1.5mA in increments of 100μA.
The GainAMP 3 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. In addition to choosing the logic voltage level using jumper labelled as DIGI, it is also possible to select the supply voltage of the amplifier using the AN jumper by positioning SMD jumpers to an appropriate position. This way, it is allowed for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Specifications
Type | Amplifier |
Applications | Can be used for industrial systems and process control that demand precision, robustness, and low power, thanks to its low power consumption |
On-board modules | ADA4254 - zero drift, high voltage, programmable gain instrumentation amplifier (PGIA) designed for process control and industrial applications from Analog Devices |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V, External |
Pinout Diagram
This table shows how the pinout on the GainAMP 3 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
Onboard Settings and Indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL-DIGI | Left | Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VCC SEL-AN | Left | Amplifier Supply Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
GainAMP 3 Click Board™ Electrical Specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage VCC | 3.3 | - | 5 | V |
External Supply Voltage VDDH − VSSH | 10(±5) | - | 56(±28) | V |
Gain Steps | 1/16 | - | 128 | V/V |
Operating Temperature Range | -40 | +25 | +125 | °C |
Software Support
We provide a library for the GainAMP 3 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Library Description
This library contains an API for the GainAMP 3 Click Board™.
Key Functions
gainamp3_write_register
- This function writes a data byte to the selected register by using SPI serial interface.gainamp3_set_amplifier_gain
- This function sets the amplifier gain level.gainamp3_set_input_channel
- This function sets the input channel.
Example Description
This example demonstrates the use of the GainAMP 3 Click Board™.
void application_task ( void ) { for ( uint8_t cnt = GAINAMP3_GAIN_1_OVER_16; cnt <= GAINAMP3_GAIN_128; cnt++ ) { gainamp3_set_amplifier_gain ( &gainamp3, cnt ); log_printf( &logger, " Amplifier gain set to " ); float gain = ( 1 << cnt ) / 16.0; if ( gain < 1.0 ) { log_printf( &logger, "1/%urn", ( uint16_t ) ( 1.0 / gain ) ); } else { log_printf( &logger, "%urn", ( uint16_t ) gain ); } Delay_ms( 3000 ); } }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.GainAMP3
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The GainAMP 3 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the GainAMP 3 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Library Description
This library contains an API for the GainAMP 3 Click Board™.
Key Functions
gainamp3_write_register
- This function writes a data byte to the selected register by using SPI serial interface.gainamp3_set_amplifier_gain
- This function sets the amplifier gain level.gainamp3_set_input_channel
- This function sets the input channel.
Example Description
This example demonstrates the use of the GainAMP 3 Click Board™.
void application_task ( void ) { for ( uint8_t cnt = GAINAMP3_GAIN_1_OVER_16; cnt <= GAINAMP3_GAIN_128; cnt++ ) { gainamp3_set_amplifier_gain ( &gainamp3, cnt ); log_printf( &logger, " Amplifier gain set to " ); float gain = ( 1 << cnt ) / 16.0; if ( gain < 1.0 ) { log_printf( &logger, "1/%urn", ( uint16_t ) ( 1.0 / gain ) ); } else { log_printf( &logger, "%urn", ( uint16_t ) gain ); } Delay_ms( 3000 ); } }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.GainAMP3
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The GainAMP 3 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
GainAMP 3 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.