1 2 Previous Next 15 Replies Latest reply on Sep 9, 2015 3:59 PM by CMata_Intel

    Galileo gen2 and LCD display lcm1602

    Laurentg91

      Dear all,

       

      I try to connect the 16*2 LCD display with the integrated shield with a Galileo Gen 2 board.

       

      i did connect the shield pins SDA and SCL to galileo gen2 sda and SCL, same for ground and Vcc.

       

      I will need to control this LCD from java code.

       

      1/ Is there a java libray i can use ?

       

      2/ The commands below ( i2cdump) doesnt seem to recognize the LCD display

       

      3/ I also tried some python command, but it fails saying that there is no module named smbus.

       

      Did i miss something ?

       

      Thanks in advance for your support

       

       

      Using shell command, i get:

      #  i2cdetect -l

      i2c-0   i2c             intel_qrk_gip_i2c                       I2C adapter

      #  i2cdetect -y -r 0

           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

      00:          -- -- -- -- -- -- -- -- -- -- -- -- --

      10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      20: -- -- -- -- -- UU UU UU -- -- -- -- -- -- -- --

      30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      40: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- --

      50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- --

      60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

      70: 70 -- -- -- -- -- -- --

       

       

      i2cdump -y 0 0x70

      No size specified (using byte-data access)

           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef

      00: 01 04 e2 e4 e8 e0 00 00 00 00 00 00 00 10 00 00    ??????.......?..

      10: 00 00 00 00 00 10 00 00 00 00 00 00 00 10 00 00    .....?.......?..

      20: 00 00 00 00 00 10 00 00 00 00 00 00 00 10 00 00    .....?.......?..

      30: 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 10    .....?.........?

      40: 00 00 00 10 00 00 XX XX XX XX XX XX XX XX XX XX    ...?..XXXXXXXXXX

      50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX

      f0: XX XX XX XX XX XX XX XX XX XX 00 00 00 00 1e 00    XXXXXXXXXX....?.

        1 2 Previous Next