Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6857

MAX30105 I2C problems

$
0
0

@Mike_Crimlis wrote:

Hello.
First post and not a happy one.
I bought the MAX30105 PCB, hooked it up by guesswork because the instructions, well, there aren’t any. I think I have it right being connected to the 3.3v supply of the top left pin (looking at the Pi with the USB at the bottom) GND picks up with the GND pin 4 places below that and the SDA,SCL and INT pins to the corresponding (GPIO2,3,4) pins in between. I guess this must be right as no other 3.3/5v and 0v pins line up so I’ve not tried any other connection.
I ran “sudo pip install max30105”
I enabled I2C in raspi-config
I opened “graph-heartbeat.py” using a sudo IDLE
Then I got this:

Traceback (most recent call last):

  • File “/home/pi/Downloads/max30105-python-master/examples/graph-heartbeat.py”, line 10, in *
  • max30105.setup(leds_enable=2)*
  • File “/usr/local/lib/python2.7/dist-packages/max30105/init.py”, line 316, in setup*
  • self.soft_reset()*
  • File “/usr/local/lib/python2.7/dist-packages/max30105/init.py”, line 358, in soft_reset*
  • self._max30105.MODE_CONFIG.set_reset(True)*
  • File “/usr/local/lib/python2.7/dist-packages/i2cdevice/init.py”, line 92, in *
  • return lambda value: self.device.set_field(self.register.name, name, value)*
  • File “/usr/local/lib/python2.7/dist-packages/i2cdevice/init.py”, line 221, in set_field*
  • self.read_register(register.name)*
  • File “/usr/local/lib/python2.7/dist-packages/i2cdevice/init.py”, line 174, in read_register*
  • self.values[register.name] = self._i2c_read(register.address, register.bit_width)*
  • File “/usr/local/lib/python2.7/dist-packages/i2cdevice/init.py”, line 246, in _i2c_read*
  • for x in self._i2c.read_i2c_block_data(self._i2c_address, register, bit_width // self._bit_width):*
    IOError: [Errno 121] Remote I/O error

Does anyone have any suggestions why I’m having this problem?
Pi and MAX30105 are both new from Pimoroni.

Thanks.

Mike.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6857

Trending Articles