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
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: Camera interfacing using I2C - Project Discussion - OpenMV Forums
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
I will try with your sample code and implement the lego nxt protocol