Warning about faulty cable supplied with Keys BH1750 light sensor modules.

Recently purchased this Keys BH1750 light sensor from an eBay supplier:


As you can see, the supplied cable will only fit one way. The Vcc wire, which connects to pin 1, is coloured red and the Gnd wire is black. All as you would expect. But look at this other picture from the eBay page:

In this picture, the wire colour sequence is different from the first picture. This time, brown is Gnd.
And here is the one I received:
2019-04-13-120831.jpg
As you can see, the wire has been manufactured incorrectly and colours are reversed, compared to the first picture above. Vcc is the yellow wire and Gnd is brown. Red wire is Addr and black wire is SCL.

I did not notice this at first, and initially thought my sensor was faulty because it was not responding to i2c scanner sketch. Then I noticed that the board was hot!

Once I had figured this out and connected the wires correctly, the sensor seems to have survived and works OK. But another minute could have killed it.

Hmm, not very friendly that... You may be able to extract the crimp pins from that connector and rearrange, given
the right tool (sometimes a small jeweller's screwdriver can serve), then the colours will make sense
again.

I once got 1088AS LED 8x8 matrices that were labeled 1088BS.
The stuff being sold on eBay is buyer beware.
I buy them but do not trust them.

/

ieee488:
The stuff being sold on eBay is buyer beware.

I know, I know... just wanted to warn the community.