OFF
MIKROE-2553
33 g
Status:
LEM click carries the LTS 6-NP current transducer and MCP3201 ADC converter. The click can measure AC and DC current with exceptional speed, up to 200 KHz. LEM click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI interface, or directly with analog output.
This product is no longer in stock
Availability date:
LEM click carries the LTS 6-NP current transducer and MCP3201 ADC converter. The click can measure AC and DC current with exceptional speed, up to 200 KHz. LEM click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI interface, or directly with analog output.
DO NOT TOUCH THE BOARD WHILE THE EXTERNAL POWER SUPPLY IS ON!
Note: LEM click has exposed pins/pads. To stay safe take precaution when applying high voltage to the click. The click is to be used by trained personnel only when applying high voltage.
LTS 6-NP is a closed loop (compensated) multi-range current transducer using the Hall effect.
Intended for electronic measurement of currents: DC, AC, pulsed, mixed with galvanic separation between the primary circuit and the secondary circuit.
The conductor can be placed through the hole on the sensor:
There is on board ADC to read out the analog output value of the sensor, or it can be read from the AN pin.
The MCP3201 is a 12-bit Analog-to-Digital (A/D) Converter with on-board sample and hold circuitry. The device provides a single pseudo-differential input.
The MCP3201 is capable of sample rates of up to 100 ksps at a clock rate of 1.6 MHz.
Type | Measurements |
Applications | LEM click can be used for AC variable drives, Servo motor control, Power supplies, etc. |
On-board modules | LTS 6-NP current transducer, MCP3201 A/D converter |
Key Features | LTS 6-NP is a closed loop (compensated) multi-range current transducer using the Hall effec |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
This table shows how the pinout on LEM click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Designator | Name | Default Position | Default Option | Description |
---|---|---|---|---|
JP1 | PWR.SEL. | Left | 3V3 | Power Supply Voltage Selection 3V3/5V, left position 3V3, right position 5V |
Designator | Name | Type | Description |
---|---|---|---|
TB1 | SCREW TERMINAL | Current input to sensor |
Code examples for LEM click, written for MikroElektronika hardware and compilers are available on Libstock.
The following code snippet shows the example for LEM click, which calls functions that will initialize both the click and the display, and then show measured data.
01 static void systemInit( void ) 02 { 03 LEM_init(); 04 } 05 06 void main() 07 { 08 float currentRead; /**< Read value */ 09 char txt[10]; /**< Read value as string */ 10 char oldTxt[10]; /**< Old read value */ 11 char lab[10] = {0}; /**< Current label text */ 12 char res; /**< Comparing of old and new value */ 13 14 systemInit(); 15 displayInit(); 16 17 18 while(1) 19 { 20 currentRead = getCurrent_A(); 21 sprintf(txt, "%2.3fA", currentRead); 22 res = strcmp(txt,oldTxt); 23 if(res != 0) 24 { 25 updateLabel(txt, 180, 140, lab); 26 strcpy(oldTxt,txt); 27 } 28 delay_ms(250); 29 } 30 31 }