1

I have connected a number of I2C sensors (BME280 temperature, humidity pressure sensor, a TSL2561 light sensor and MLX90614 IR thermometer) to a Raspberry Pi 3 and they work fine. I am now trying to add a SPS30 - but without much success.

After asking here, I realised that I need a bi-directional Logic Level Converter - but this did not solve the problem. Any more suggestions?

I've attached a drawing of the circuit - unfortunately, the software does not distinguish between crossings and connections.enter image description here

> i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- 5a -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- 76 --  
> uname -a
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux

enter image description here

1
  • Photos please. What else is on the bus? Output of i2cdetect?
    – joan
    Apr 21 at 7:29
0

There are at least two problems with the level converter.

  1. It is not connected to the breadboard. It appears to be a loose fit over some header pins. It needs to be soldered to the header pins.
  2. The high and low +ve and -ve do not appear to be connected (if they are then SDA/SCL aren't connected).
1
  • I've removed the power cables for the picture to declutter - sorry. I soldered it on as well - but without success.
    – Gux
    Apr 21 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.