Skip to content

I2C error (Please check if the I2C device insert in I2C of Base Hat) #4

@fragkrag

Description

@fragkrag

Describe the bug
Error running demo provided by Seed SI1145 documentation for use with Raspberry Pi - using Raspberry Pi 4B, Seeed SI1145, with a Grove adapter board

To Reproduce
Steps to reproduce the behavior:

  1. Followed instructions to install Seeed library
  2. ls/dev/i2c* returns /dev/i2c-1, /dev/i2c-20, /dev/i2c-21
  3. Run https://wiki.seeedstudio.com/Grove-Sunlight_Sensor/#si1145---play-with-raspberry-pi script
  4. Receive OSError("Please check if the I2C device insert in I2C of Base Hat"). Previous error is in WriteByte(SI114X-REG.COMMAND, SI114X_CMD.RESET)
    Expected behavior
    Get UV, Visible, IR light data

Desktop (please complete the following information):

  • OS: Raspberry Pi OS

Additional context
Have also tried communicating to the sensor using the 115X library - no error there but the data from the sensor does not seem to change based on the light.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions