LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C access in NXT-G

Hello All,
 
I have been using labview since version 4, and I am very excited about the NXT platform from NI and Lego.  Being more on the software side of things, embedded programming has always been intimidating.  Yet, with tne NXT platform, one can deploy embedded applications with relative ease.
 
Of the NXT-G improvements, I am most interested in a I2C block for the NXT programming enviroment.  This will allow anyone to dangle custom hardware at the input ports.  I can see tremendous utility for such a function.
 
Is there a way for one to access the I2C in the NXT-G enviroment?  For example, to dangle a PCF5274 chip for I2C IO expansion (8bit)?  What are your thoughts?
 
 
Larry
Message 1 of 3
(9,014 Views)
Hi Larry, with teh new LabVIEW toolkit for NXT you can access to the I2C Bus.
You can find documentations here http://ftp.ni.com/evaluation/mindstorms/LabVIEW_for_NXT_Advanced_Programming_Guide.pdf
Here a simple experiment for how to adding some I\O to NXT and control it via I2C

Enjoy!

Ciao,
Alessandro Ricco
Message 2 of 3
(8,759 Views)

Larry,

Sivan Toledo described exactly this application using PCF8574 chip, see here:

http://www.tau.ac.il/~stoledo/lego/i2c-8574/

Also, the coming Prototyping Board from HiTechnic.com will also have 5 DIOs.

Message 3 of 3
(8,724 Views)