Communicate with I2C sensor

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

User avatar
leJOS Team Member
Posts: 5969
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: Communicate with I2C sensor

Postby gloomyandy » Thu Jun 12, 2014 10:37 pm

As I said I think you may need a 68K pull up resistor, not 41K. What voltage does your sensor operate at, and what voltage are you connecting the pull up resistors to?

There is only a single ground connection on an EV3 sensor port. The NXT had two ground pins Pin 2 and Pin3. However on the EV3 Pin2 is used as part of the sensor type detection process. You can see that Pin 2 is not connected to ground in the schematics available from here: ... available/
You can see the rules for the automatic detection logic here: ... d_analog.c
as you can see from: ... log.c#l129
to be identified as an i2c sensor pin 2 needs to be pulled low and pins 5 and 6 both need to be high (hence one reason for needing the pull up resistors).

There is no NXC for the EV3. However you may be able to use the dexter blocks with the standard Lego software. Please see: ... 3-arduino/

Please note that all of the above information is publicly available, you just need to dig a little for it...

Return to “EV3 Software”

Who is online

Users browsing this forum: No registered users and 3 guests