Combining UDOO Brick with other I2C sensors

Discussion in 'UDOO X86' started by DoFrey, May 9, 2018.

  1. DoFrey

    DoFrey New Member

    Joined:
    May 9, 2018
    Messages:
    5
    Likes Received:
    0
    Hi,
    Is it possible to connect other I2C sensors (in my case a BME280 from Adafruit) to the I2C of the brick? Is there somewhere a description what the five cables are, that lead into the brick? Are these also SCK and SDI connectors?

    Thanks for your help!
     
  2. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    155
    Refer to page 35 of the manual for pin information: http://download.udoo.org/files/UDOO_X86/Doc/UDOO_X86_MANUAL.pdf

    The mating connector is also explained on that page if you would like to connect to the Brick socket on the board. The other option is to connect the wires to the I2C pins on the standard I/O header
     
    DoFrey likes this.
  3. DoFrey

    DoFrey New Member

    Joined:
    May 9, 2018
    Messages:
    5
    Likes Received:
    0
    Thanks for your fast help. I will connect it over the I/O headers. I just needed to know the pinout. Thanks!
     
  4. DoFrey

    DoFrey New Member

    Joined:
    May 9, 2018
    Messages:
    5
    Likes Received:
    0
    Can I connect 5V to the brick or is it only accepting 3.3V?
     
  5. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    155
    The Bricks are 3.3V. Do not connect them to a 5V source.

    If the BME280 from Adafruit module you mentioned is this one https://www.adafruit.com/product/2652, it can be connected to the 3.3V power and I2C bus.
     
  6. DoFrey

    DoFrey New Member

    Joined:
    May 9, 2018
    Messages:
    5
    Likes Received:
    0
    Yes I know that the BME280 can handle 3.3V and 5V. Unfortunately I want to attach on the same power supply an anemometer that requires 5V. So I will see that I can transform the 5V before the brick sensor to 3.3 V. Thanks for your help!
     
  7. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    413
    Likes Received:
    157
    Get a PCA9306 based I2C voltage-level translator board.
     
    LDighera likes this.
  8. DoFrey

    DoFrey New Member

    Joined:
    May 9, 2018
    Messages:
    5
    Likes Received:
    0
    Thanks for all your replies. I realized that the BME280 from Adafruit can have 3.3V or 5V input and also, that it has a 3.3V output. This solves my problem properly.
     

Share This Page