Udoox86 bricks sensors'Manual or Howto

Discussion in 'UDOO X86' started by stecolumna, Jul 31, 2017.

  1. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    I bought the 3 Udoox86 bricks sensors but I did not understand if you can only use "Arduino side" or also "Intel side". Does anyone know a Udoox86 bricks sensors installation and use manual or howto ? I prefer to use Debian 9.1 Stretch xfce4 if possible.

    Thanks in advance
     
  2. jas-mx

    jas-mx Active Member

    Joined:
    Dec 31, 2013
    Messages:
    407
    Likes Received:
    118
    Its for the "Arduino side" see this link.
     
    stecolumna likes this.
  3. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    dear js-mx

    I'm sorry but my question has not been clearly formulated.

    I had seen link you cited in Udoox86 documentation and I have understood that the Udoox86 bricks sensors run under Arduino side but I have not understood if it's possible to use it ALSO by Intel side with adaptors, libraries or other things.

    Thanks in advance.
     
  4. jas-mx

    jas-mx Active Member

    Joined:
    Dec 31, 2013
    Messages:
    407
    Likes Received:
    118
    If brick sensor has an i2c interface then it may be possible to use it from the x86 side. Firstly you would need a 1.8v to 3.3v logic shifter as the Braswell pins are only 1.8v tolerant see here. Secondly enable i2c port in UEFI Bios. Lastly check if the kernel detects the bus and make the device available. Warning you may damage the Braswell cpu if you incorrectly wire the logic shifter.
     
    stecolumna likes this.
  5. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    Dear jas-mx

    thanks for your detailed and informed answer. I will wait to activate the Udoox86 bricks sensors by Intel side when I will have more specific technical ability to not damage the SBC. Now I'm using and testing the UdooX86 Ultra as a PC replacement and I'm very satisfied.

    Thanks again
     
  6. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    Dear jas-mx

    Excuse for my ignorance. I want to install Arduino IDE 1.8.3 in Debian Stretch 9.1 - 64 bit and I haven't understood if I have to use the Arduino 32bit, 64bit or ARM. I have installed the Arduino IDE 1.8.3 - linux 32bit version but don't start.

    SOLVED: I have installed the 64bit version and works fine. Excuse me for disturb.

    Thanks in advance.
     
    Last edited: Aug 4, 2017
  7. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    dear js-mx

    i have installed the Arduino 101 TSL2561 Library for the Light sensor but I don't know the ID for the gesture and humidity UdooX86 bricks sensors. Can you help me please ?

    Thanks in advance
     
  8. jas-mx

    jas-mx Active Member

    Joined:
    Dec 31, 2013
    Messages:
    407
    Likes Received:
    118
    The humidity (SI7006-A20) sensor i2c address should be 0x40 and gesture (PAJ7620U2) should be 0x73. I'd recommend reading the datasheets.
     
    stecolumna likes this.
  9. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    ok thank you very much
     
  10. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    Dear jas-mx

    The I2C scanner found this 2 address:

    <code>
    I2C scanner. Scanning ...
    Found address: 41 (0x29)
    Found address: 115 (0x73)
    Done.
    Found 2 device(s).
    </code>

    but I have the 3 devices descripted in the precedent my post.
    Then I think that I2C are conflicting but I don't know how to reassign the address.

    Thanks in advance
     
  11. stecolumna

    stecolumna UDOOer

    Joined:
    May 20, 2016
    Messages:
    159
    Likes Received:
    38
    The problem has been solved for the temperature/humidity sensors in this post by waltervl

    UDOO Brick not found

    The ino code that I have found for the gesture and light sensors have generated some errors.
     

Share This Page