TSL2561 no value


#1

Thank you for taking the time to submit your bug/issue! Please use the points below as a guide when submitting.

  • Device & model you are using (Ex: Pi 2 Model B or Arduino Uno with W5100 ethernet shield)

Raspbian on Pi 3

  • What dashboard are you using? (Web, iOS, Android)

Web and Android

  • Please describe the bug / issue as detailed as possible. Attaching the code and any relevant screenshots would be very helpful!

Bonjour tout le monde !

Voilà je viens vers vous car a l’installation de mon TLS2561 tout ce passe bien, mais je n’ai aucune valeur sur le widget…

Si quelqu’un connait le moyen d’arranger ca qu’il m’en fasse part !

Merci tout le monde (:slight_smile:

Here I come to you because the installation of my TLS2561 everything goes well, but I have no value on the widget …

If anyone knows how to fix it, let me know!

Thank you everyone (:slight_smile:


#2

Can you follow through the tutorial below and let us know if you are getting any data at all? This will let us know if you are having an issue with wiring or the sensor or if it’s a Cayenne issue.


#3

Ho, Adafruit isn’t include with cayenne ?

I try this and i say you if it work


#4

I’m not sure what library Cayenne uses, but I do not think it is the Adafruit one. You will have to follow through and install the library.


#5

The TSL2561 is added automatically on the dashboard. I don’t know which library is used.

These are the settings of mine:


#6

I’m sorry, I sent you a link to the Arduino library. Here is the python library https://pypi.python.org/pypi/tsl2561/3.3


#7

So it’s same, for me all libraries come with cayenne installation, like lot of driver…
I install

Sorry if i don’t talk correctly, i’m french


#8

Now i have driver for tsl2561 3.3 ! But it’s more big problem it say i have bad chanel/slave…
Maybe you know command for see if raspberry find it

It’s really difficult for me to learn this, all tuto it’s not on french, and lot of word it’s reserve for this field…
When it’s only hobby to work with cayenne it’s hard ! that why i hope one day is french cayenne community


#9

These commands will scan your i2c bus:

sudo apt-get install python-smbus
sudo apt-get install i2c-tools
sudo i2cdetect -y 1

https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/configuring-your-pi-for-i2c


#10

TLS is on address 00x39


#11

Nothing work, before install last driver for tsl2561 it work and now nothing !

i have this return when i want install pyhton sms-bus

root@raspberrypi:~# apt-get install python-smbus
Lecture des listes de paquets... Fait    
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
python-smbus is already the newest version (3.1.2-3).
Vous pouvez lancer « apt --fix-broken install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
expect : Dépend: tcl8.5 (>= 8.5.0) mais ne sera pas installé
libiw-dev : Dépend: libiw30 (= 30~pre9-8) mais 30~pre9-12 devra être installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet
 (ou indiquez une solution).
root@raspberrypi:~#

#12

and my tls2561 it’s hot, maybe it’s normal ^^


#13

Have you tried apt --fix-broken install and attempting to run apt-get install python-smbus again?


#14

yes now update ok, i try lot of time because i have problem with connexion !

but i didn’t detect my sensor…


#15

When you show me this, i do but i dond’t understand what i have to do on example…
I do pip install tsl2561 and after it’s all ?

https://pypi.python.org/pypi/tsl2561/3.3


#16

or maybe it’s my sensor was dead with time… Somebody have some solution for test driver without sensor ?

Like this i will know if is broke


#17

use the command sudo i2cdetect -y 1 If you don’t see a 39 listed then your sensor is bad or hooked up incorrectly.


#18

i think i command an another and i see ! thanks all !

i come back on this post if i need more help !

have good day !


#19

Hey @adrien.testas I burned two sensors because I was mistake the wires. They become really really hot, so when I put the finger on the chip I burned myself. There were no other visual traces of burning! Be careful. If you can detect the sensor, maybe it is working so you have to deal with the software implementation! :slight_smile: