Lego NXT 2.0 compatibility

Hello,

I want to use the openmv cam with a lego NXT 2.0. I want to know if it can be used as an I2C slave ? And if it as the pullup resistance on the I2C wire ?

Regards,

Thibaud

Um, the OpenMV Cam does not have pull ups on it’s input lines. As for using it as an I2C slave see this thread. I made a script to do that already: http://forums.openmv.io/viewtopic.php?f=5&t=178#p971

You just have to pull the I2C lines up and you’ll be good to go.

… Now, I don’t know what the Lego NXT 2.0 protocol looks like. So, you’re on your own with that. But, the code I linked to solves the I2C interfacing issue atleast.

thank you for your answer :slight_smile:
I will try with your sample code and implement the lego nxt protocol :slight_smile: