Git Product home page Git Product logo

tli4970-d050t4-current-sensor's Introduction

TLI4970-Current-Sensor

Build Status

Library of Infineon's TLI4970 current sensor for Arduino.

Summary

The TLI4970 is a high-precision current sensor based on Infineon's proven Hall technology. The coreless concept significantly reduces footprint compared with existing solutions. TLI4970 is an easy-to-use, fully digital solution that does not require external calibration or additional parts such as A/D converters, 0 pAmps or reference voltage. It thus significantly reduces overall implementation efforts as well as PCB space and cost.

Key Features and Benefits

  • AC & DC measurement range up to ±50A
  • Highly accurate over temperature range and lifetime (max. 1.0% (0 h),
  • 1.6% (over lifetime) of indicated value)
  • Low offset error (max. 25mA)
  • High magnetic stray field suppression
  • Fast overcurrent detection with configurable threshold
  • Galvanic isolation up to 2.5kV max. rated isolation voltage (UL1577)
  • 16 bit digital SPI output (13 bit current value)
  • Small 7 mm x 7 mm SMD package
  • GUI for free download as well as integration in Arduino IDE with this repository

Target Applications

  • Photovoltaic and general purpose inverters
  • Power supplies (SMPS)
  • Battery chargers
  • Lighting applications
  • Electrical drives

Hardware

Please find the datasheet of the TLI4970 variant here. Please ensure that you have the TLI4970-D050T4 variant of the sensor as the library has been designed for this one.

Installation

Integration of Library

Prework

Important Note This library uses the One Wire library from PaulStoffregen. Please install the One Wire library before you install or use the library for the TLI4970-D050T4 Current Sensor. You can find the One Wire library in the Library Manager in the Arduino IDE Sketch > Include Library > Manage Libraries... or directly in the official repository:

One Wire Library Repository

Installation of the Library

Please download this repository from GitHub by clicking on the following field in the latest release of this repository:

Download Library

To install the TLI4970 current sensor library in the Arduino IDE, please go now to Sketch > Include Library > Add .ZIP Library... in the Arduino IDE and navigate to the downloaded .ZIP file of this repository. The library will be installed in your Arduino sketch folder in libraries and you can select as well as include this one to your project under Sketch > Include Library > TLI4970.

Install Library

Usage

Please see the example sketches in the /examples directory in this library to learn more about the usage of the library.

Currently, there exist two separate evaluation boards:

Usage with TLI4970050 2 GO KIT

The Current Sensor 2GO is a budget-priced evaluation board equipped with the TLI4970-D050T4 current sensor combined with an ARM® Cortex™-M0 CPU. The Current Sensor 2GO has a complete set of on-board devices, including an on-board debugger. Build your own application and gadget with the Current Sensor 2GO. More information can be found here as well.

Please note that base of the Sensors 2GO is the XMC 2Go from Infineon. Therefore, please install (if not already done) also the XMC-for-Arduino implementation and choose afterwards XMC1100 XMC2Go from the Tools>Board menu in the Arduino IDE if working with this evaluation board.

Usage with TLI4970 CurrentSense Shield2Go

The TLI4970 CurrentSense Shield2Go is a standalone break out board with Infineon's Shield2Go formfactor and pin out. You can connect it easily to any microcontroller of your choice which is Arduino compatible and has 3.3V logic level (please note that the Arduino UNO has 5V logic level and cannot be used without level shifting).

  • Link to the wiki with more information

However, every Shield2Go is directly compatible with Infineon's XMC2Go and the recommended quick start is to use an XMC2Go for evaluation. Therefore, please install (if not already done) also the XMC-for-Arduino implementation and choose afterwards XMC1100 XMC2Go from the Tools>Board menu in the Arduino IDE if working with this evaluation board. To use it, please plug the TLI4970 CurrentSense Shield2Go onto the XMC2Go as shown below.

Board Information, Datasheet and Additional Information

The datasheet for the TLI4970-D050T4 can be found here TLI4970-D050T4 Datasheet while respective application notes and more documents are located here Application Notes. The product page is located here.

Please check the wiki with more information for the TLI4970 CurrentSense Shield2Go as well.

tli4970-d050t4-current-sensor's People

Contributors

arkajyotichatterjee avatar cyberschmiddi avatar ederjc avatar jaenrig-ifx avatar mhoechner avatar mhollfelder avatar pandayswarnam avatar per1234 avatar vroni99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tli4970-d050t4-current-sensor's Issues

error: prototype for 'void Tli4970::begin(SPIClass&, uint8_t, uint8_t)' does not match any in class 'Tli4970'

I tried to compile the example scetch in a freshly set up Arduino envoirement in order to upload it on a XMC2GO. Everything is installed according to the instructions on https://github.com/Infineon/XMC-for-Arduino#using-arduino-ide. The onewire libary is also installed from Github according to the instructions.
I am using Arduino 1.8.7. However, I get this error message:

C:\Users\user1\Documents\Arduino\libraries\TLI4970-D050T4-Current-Sensor-master\src\Tli4970.cpp:59:6: error: prototype for 'void Tli4970::begin(SPIClass&, uint8_t, uint8_t)' does not match any in class 'Tli4970'

 void Tli4970::begin(SPIClass &bus, uint8_t pinCS, uint8_t pinDIO)

      ^

In file included from C:\Users\user1\Documents\Arduino\libraries\TLI4970-D050T4-Current-Sensor-master\src\Tli4970.cpp:34:0:

C:\Users\user1\Documents\Arduino\libraries\TLI4970-D050T4-Current-Sensor-master\src\Tli4970.h:65:7: error: candidates are: void Tli4970::begin(SPIClass&, uint8_t, uint8_t, uint8_t)

  void begin(SPIClass &bus, uint8_t pinCS, uint8_t pinOCD, uint8_t pinDIO);

       ^

C:\Users\user1\Documents\Arduino\libraries\TLI4970-D050T4-Current-Sensor-master\src\Tli4970.cpp:50:6: error:                 void Tli4970::begin()

 void Tli4970::begin(void)

      ^

Mehrere Bibliotheken wurden für "OneWire.h" gefunden
 Benutzt: C:\Users\user1\AppData\Local\Arduino15\packages\Infineon\hardware\arm\1.2.1\libraries\OneWire
 Nicht benutzt: C:\Users\user1\Documents\Arduino\libraries\OneWire-master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.