LEM click
PID: MIKROE-2553
Weight: 38 g
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.
ON!
DO NOT TOUCH THE BOARD WHILE THE EXTERNAL POWER SUPPLY IS
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 features
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.
How it works
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.
MCP3201 A/D converter
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.
Key features
•
LTS 6-NP current transducer
o
Unipolar voltage supply
o
Incorporated measuring resistance
o
Low temperature drift
o
Optimized response time
•
MCP3201 ADC converter
•
SPI interface
•
3.3V or 5V power supply
Specification
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 Benefits
The click can measure AC and DC current with exceptional
speed, up to 200 KHz.
Interface
SPI
Peripherals include
Onboard screw terminal
Input Voltage
3.3V or 5V
Compatibility
mikroBUS
Click board size
L (57.15 x 25.4 mm)
Pinout diagram
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).
Notes
Pin
Pin
Notes
mikroBUStm
Analog output
AN
1
AN
PWM
16
NC
Not connected
Not connected
NC
2
RST
INT
15
NC
Not connected
Chip select
CS
3
CS
TX
14
NC
Not connected
SPI Clock
SCK
4
SCK
RX
13
NC
Not connected
MISO
5
MISO
SCL
12
NC
Not connected
Not connected
NC
6
MOSI
SDA
11
NC
Not connected
Power supply
+3.3V
7
3.3V
5V
10
+5V
Power supply
GND
8
GND
GND
9
GND
Ground
SPI Master Input Slave Output
Ground
Jumpers and settings
Designator
JP1
Default
Position
Name
PWR.SEL.
Left
Default
Option
3V3
Description
Power Supply Voltage Selection 3V3/5V,
left position 3V3, right position 5V
LEDs and buttons
Designator
TB1
Name
Type
Description
SCREW TERMINAL
Current input to sensor
Programming
Code examples for LEM click, written for MikroElektronika hardware and compilers are
available on Libstock.
Code snippet
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
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
static void systemInit( void )
{
LEM_init();
}
void main()
{
float currentRead;
char txt[10];
char oldTxt[10];
char lab[10] = {0};
char res;
/**< Read value */
/**< Read value as string */
/**< Old read value */
/**< Current label text */
/**< Comparing of old and new value */
systemInit();
displayInit();
while(1)
{
currentRead = getCurrent_A();
sprintf(txt, "%2.3fA", currentRead);
res = strcmp(txt,oldTxt);
if(res != 0)
{
updateLabel(txt, 180, 140, lab);
strcpy(oldTxt,txt);
}
delay_ms(250);
}
}
Downloads
mikroBUS™ Standard specification
LTS 6-NP datasheet
LibStock: LEM click library
LEM click schematic
https://www.mikroe.com/lem-click 3-8-18
很抱歉,暂时无法提供与“MIKROE-2553”相匹配的价格&库存,您可以联系我们找货
免费人工找货