Blog Post

Change I2C Device Address

Change I2C Device Address

10954

Address Change for NXT-G:

 

  1. Download the change address program here.
  2. Open the NXT-G software and start a new program.
  3. Click the NXT Window.
  4. Make sure your NXT brick is connected and click the memory tab.
  5. Click Download, select changeaddr.rxe, and click OK.
  6. Attach your I2C device to sensor port 1.
  7. Run the program.
  8. The current I2C address of the device should show on the screen.
  9. Follow the onscreen instructions to select the new I2C address.

 

Address Change for EV3:

 

  1. Download the Mindsensors Change I2C address block.
  2. Install them into your EV3 programming environment using the instructions found here.
  3. Download the Change Address program here.
  4. Open the program in your EV3 programming environment.
  5. Attach your I2C device to sensor port 1.
  6. Type the current I2C address into the I2C address parameter.
  7. Type the desired I2C address into the new I2C address parameter.
  8. Run the program on your EV3 or NXT brick.
  9. The address will change the new address.
  10. Restart your EV3 brick to re-establish I2C communication on the new address.

Comments (0)

No comments at this moment
Please Login to add your comments

Featured Posts

The mindsensors Grove Sensor Adapter makes it easy to use a variety of unique Grove sensors with the...

Read more

The mindsensors Grove Sensor Adapter makes it easy to use a variety of unique Grove sensors with the...

Read more

Poll

  • What do you use to program your FRC Robot?
    Total: