BlueDot Sensor (BME280 + TSL2561) - no Lux [Solved]

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
oisisi
Normal user
Posts: 85
Joined: 06 Jul 2016, 13:47

BlueDot Sensor (BME280 + TSL2561) - no Lux [Solved]

#1 Post by oisisi » 17 Nov 2021, 21:00

I have a breakout board which includes a BME280 and a TSL2561 sensor. An I2C scan shows both sensors and their respective addresses (0x77 and 0x29). The BMEx280 plugin works as expected, the TSL2561 plugin shows no values. How can I trouble shoot this further?
Last edited by oisisi on 17 Nov 2021, 22:12, edited 1 time in total.

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#2 Post by Ath » 17 Nov 2021, 21:12

Have you tried setting the TSL2561 to use the Slow I2C speed (and left that Hardware setting on its default 100 kHz)?
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#3 Post by Ath » 17 Nov 2021, 21:14

Ah, the imprint on the board says TSL2591, so you'll have to use that plugin, as they TSL2561 plugin isn't compatible with the TSL2591 (but I can understand your confusion ;)). You'll need a Test_A build to have both plugins available.
/Ton (PayPal.me)

oisisi
Normal user
Posts: 85
Joined: 06 Jul 2016, 13:47

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#4 Post by oisisi » 17 Nov 2021, 21:44

Duh, thanks. I apparently had a dyslexic moment and didn't notice the upside-down '6'. :)

I guess I'll have to mix a custom image once again.

oisisi
Normal user
Posts: 85
Joined: 06 Jul 2016, 13:47

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#5 Post by oisisi » 17 Nov 2021, 21:53

I'm not alone, it seems in Custom-sample.h the necessary plugin is also mislabeled:
Code_kvk9BcfcV5.png
Code_kvk9BcfcV5.png (2.71 KiB) Viewed 6715 times

oisisi
Normal user
Posts: 85
Joined: 06 Jul 2016, 13:47

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#6 Post by oisisi » 17 Nov 2021, 22:10

Ath wrote: 17 Nov 2021, 21:14 You'll need a Test_A build to have both plugins available.
A quick compile and flash later:
firefox_qjKowGeERH.png
firefox_qjKowGeERH.png (10.13 KiB) Viewed 6713 times
Thank you Ath, once again.

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#7 Post by Ath » 17 Nov 2021, 22:22

:D We're all only human
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#8 Post by TD-er » 17 Nov 2021, 22:28

Ath wrote: 17 Nov 2021, 22:22 :D We're all only human
... /me looks at your avatar...
Sure ;)

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: BlueDot Sensor (BME280 + TSL2561) - no Lux

#9 Post by Ath » 17 Nov 2021, 22:47

TD-er wrote: 17 Nov 2021, 22:28 ... /me looks at your avatar...
Sure ;)
ROFL :lol:
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests