LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i2C

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

0 Kudos
Message 1 of 8
(4,249 Views)

USB 8451

http://sine.ni.com/psp/app/doc/p/id/psp-318/lang/en


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 2 of 8
(4,244 Views)

As am very new to this its better if you can summarize the solution please?

0 Kudos
Message 3 of 8
(4,242 Views)

Please read this: http://www.ni.com/white-paper/5767/en


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 8
(4,238 Views)

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 Smiley Happy

 

-CC

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


Message 5 of 8
(4,226 Views)

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

0 Kudos
Message 6 of 8
(4,136 Views)

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.

0 Kudos
Message 7 of 8
(4,056 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 8
(4,048 Views)