NXT + ARDUINO

Discussion specific to the intelligent brick, sensors, motors, and more.
Post Reply
cyragia
Posts: 8
Joined: 11 Jan 2012, 12:57

NXT + ARDUINO

Post 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 ?
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: NXT + ARDUINO

Post by mattallen37 »

It most certainly is possible!

Just about a week ago I published such code. See this page for details.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests