1 current click - robotshop · 2014-10-14 · the examples for mikroc, mikrobasic and mikropascal...

2
1. Introduction Once you have soldered the headers your board is ready to be placed into desired mikroBUS™ socket. Make sure to align the cut in the lower-right part of the board with the markings on the silkscreen at the mikroBUS™ socket. If all of the pins are aligned correctly, push the board all the way into the socket. 3. Plugging the board in 2 3 2. Soldering the headers 1 4. Essential features Turn the board upward again. Make sure to align the headers so that they are perpendicular to the board, then solder the pins carefully. Turn the board upside down so that bottom side is facing you upwards. Place shorter parts of the header pins in both soldering pad locations. Before using your click board™, make sure to solder 1x8 male headers to both left and right side of the board. Two 1x8 male headers are included with the board in the package. click BOARD www.mikroe.com Current click Manual ver. 1.01 0 100000 023518 Current Click™ is an add-on board in mikroBUSform factor. It’s a compact and easy solution for adding current measurement in your design. It features INA196 current shunt monitor, MCP3201 12-bit ADC, MAX6106 voltage reference as well as two screw terminals. Current Click™ communicates with target board microcontroller via mikroBUSSPI (SDO, SCK, CS) and AN lines. The board is designed to use either 3.3V or 5V power supply. LED diode indicates the presence of power supply. click Current Current Click™ board serves as the current measurement device. It receives current from output circuit connected to IN(+) and OUT(-) pins of the first screw terminal and via INA196 IC converts it into a voltage value. Second screw terminal is used for external shunt. In order to measure values of current in various bands, you need to screw-on the shunt with appropriate value. Four shunts with different values are provided in the package.

Upload: others

Post on 11-Apr-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Current click - RobotShop · 2014-10-14 · the examples for mikroC, mikroBasic and mikroPascal compilers on our Libstock website. Just download them and you are ready to start

1. Introduction

Once you have soldered the headers your

board is ready to be placed into desired

mikroBUS™ socket. Make sure to align the

cut in the lower-right part of the board

with the markings on the silkscreen at the

mikroBUS™ socket. If all of the pins are

aligned correctly, push the board all

the way into the socket.

3. Plugging the board in

2 3

2. Soldering the headers

1

4. Essential features

Turn the board upward again. Make sure

to align the headers so that they are

perpendicular to the board, then solder the

pins carefully.

Turn the board upside down so that

bottom side is facing you upwards. Place

shorter parts of the header pins in both

soldering pad locations.

Before using your click board™, make sure

to solder 1x8 male headers to both left

and right side of the board. Two 1x8 male

headers are included with the board in

the package.

clickBOARDwww.mikroe.com

Current click Manualver. 1.01

0 100000 023518

Current Click™ is an add-on board in

mikroBUS™ form factor. It’s a compact and

easy solution for adding current measurement

in your design. It features INA196 current

shunt monitor, MCP3201 12-bit ADC,

MAX6106 voltage reference as well as two

screw terminals. Current Click™ communicates

with target board microcontroller via

mikroBUS™ SPI (SDO, SCK, CS) and AN lines.

The board is designed to use either 3.3V or

5V power supply. LED diode indicates the

presence of power supply.

clickCurrent

Current Click™ board serves as the current

measurement device. It receives current from

output circuit connected to IN(+) and OUT(-)

pins of the first screw terminal and via INA196 IC converts it into a voltage value. Second

screw terminal is used for external shunt. In

order to measure values of current in various

bands, you need to screw-on the shunt with

appropriate value. Four shunts with different

values are provided in the package.

Page 2: 1 Current click - RobotShop · 2014-10-14 · the examples for mikroC, mikroBasic and mikroPascal compilers on our Libstock website. Just download them and you are ready to start

8. Support

MikroElektronika offers Free Tech Support (www.mikroe.com/esupport) until the

end of product lifetime, so if something goes

wrong, we are ready and willing to help!

7. Code Examples

.com

Once you have done all the necessary

preparations, it’s time to get your click

board up and running. We have provided

the examples for mikroC, mikroBasic and

mikroPascal compilers on our Libstock

website. Just download them and you are

ready to start.

5. Current Click™ Board Schematic

VCC

VCC

R12K2

LD1

C1 100nF

ANRSTCSSCK

MOSIMISO

+3.3VGND

PWMINT

RXTX

SCLSDA+5VGND

J1

PWR SEL

CN1

OUT VIN-

VIN+

CS#SCKSDO1

2

3

OUT

GND

VIN- 5

4V+ VIN+

U1

INA196

C2100nF

VCC VCC

CN2

VIN+

VIN-

1

23VIN

VOUTVSS

REF1

MAX6106EUR+T

VCC

REF

R SHUNT

IN

C3100nF

ADC123

54678Vref

IN+IN-Vss CS

DoutCLKVdd

U2

MCP3201

VCC

R710K

SDOCS#

SCKREF

VCC

VCC VCC

VIN+

VIN-

C4100nF

C51uF

C61uF

J2

OUTADC

AN

AN

MIKROBUS DEVICE CONN.

MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document. Specification and information contained in the present schematic are subject to change at any time without notice. Copyright © 2013 MikroElektronika. All rights reserved.

6. SMD Jumpers

The current Click™ board communicates with

the main board microcontroller via SPI interface

(using ADC) or via AN line (directly connected

to the microcontroller AN pin) depending on

the position of the J1 SMD jumper. This jumper

is soldered in ADC position. There is one zero-ohm SMD jumper J1 used to select whether 3.3V or 5V power supply is used. Jumper J1 is soldered in 3.3V position by default.

R1234

shunt

0.05

0.2

1

10

2048

512

102

10

400

100

20

2

[Ω] Imax [mA]Imin [mA] *

*

Rshunt

Imax

Imin

The values of shunt resistor which are provided in the package

The values of maximal current that can be measured

-

-

- The values of minimal current where the range is linear

The measured values can vary because of the screw terminal resistance (≈ 0.0035Ω) and shunt resistors tolerance (±1%)