Page 1 of 1

NXT + ARDUINO

Posted: 09 Mar 2012, 19:38
by cyragia
Hi all,
Is it possible to connect an arduino to a sensor port of the nxt, so they can communicate with I2C ?
This way you could program an arduino (or standalone ATMega328) to constantly read a sensor and pass the value(s) to the nxt.
You could also attach multiple sensors to the arduino using only one nxt sensor port !

for example:
I'd like to use this sensor for a linefollowing robot: http://www.pololu.com/catalog/product/961
but i can't connect it to the nxt. So i program an arduino to read it and pass the results to the nxt.

Would this be possible ?

Re: NXT + ARDUINO

Posted: 09 Mar 2012, 20:36
by mattallen37
It most certainly is possible!

Just about a week ago I published such code. See this page for details.