11-01-2012 08:14 AM
Hi,
I have got a battery charger IC in which I want to control the charge rate, current limit and different charging modes etc using I2C. It has got SDA, SCL pins. I wanted to program using LabVIEW. Please enlighten me what I should need to do? What extra hardware I need to program and how can I program? I am least knowledged n this aspect. Will be very gratefull to you if anybody can help me in this regard...Thanks
11-01-2012 09:05 AM
USB 8451
11-01-2012 09:10 AM
As am very new to this its better if you can summarize the solution please?
11-01-2012 09:27 AM
Please read this: http://www.ni.com/white-paper/5767/en
11-01-2012 11:49 AM - edited 11-01-2012 11:50 AM
Hi,
As .aCe. has said, you'll need a piece of hardware in order to communicate with your IC.
However, I'd say that you don't need to spend out for the 8451 just yet, in fact an arduino would work just as well. You can download the Arduino for LabVIEW toolkit at the community page and it's very easy to program I2C with it.
When you've got whichever hardware you choose you will need to connect the SDA and SCL lines of your IC (which battery charger IC is it by the way?) to the lines of your hardware.
Bear in mind that you will need to connect the lines to 5V though pull-up resistors (search google for this) in order to get communications to work.
When you've got your hardware sorted, look though some I2C examples (for arduino or the 8451 etc.) and have a go at talking to the chip. If you run into some specific problems then feel free to post back and we'll be ready to help you.
Good luck
-CC
04-15-2013 11:01 PM
I am also having the problem of talking to I2C.
I have an Arduino but there are no examples.
Can you post a simple example ( such as reading temperature sent by a LM73)
_B
07-03-2014 05:10 AM
Is there any NI modules which contains analog measurements and digital measurements and frequency and also main I2C communication in one module???
Please give a suggesion if any third party modules also including above parameters.
07-03-2014 06:03 AM
Hi vam,
no need to restart old threads with an unrelated question - more than once!
- Start your own thread for a new question!
- Just call your local NI office to discuss such questions!