TSL2591 not working

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
forrest_m
 
Posts: 25
Joined: Thu Jul 02, 2015 7:35 pm

TSL2591 not working

Post by forrest_m »

Got a bunch of TSL2591's. I managed to get one working, but some just aren't. The program hangs at the "Starting Adafruit TSL2591 Test!" print statement. I don't see either of the next prints. It seems to me like this would indicate some kind of problem with the if (tsl.begin()) bit of the code. Both TSL2591 and Adafruit Unified Sensor libraries are in their proper place and appear in Sketch > Import Library

Wired up as shown:
20150706_073005.jpg
20150706_073005.jpg (813.25 KiB) Viewed 457 times

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: TSL2591 not working

Post by Franklin97355 »

How many is a bunch? How many work and how many do not? Are you running the test code unaltered? Could you post a picture with a more straight on shot of the board? Thanks.

User avatar
forrest_m
 
Posts: 25
Joined: Thu Jul 02, 2015 7:35 pm

Re: TSL2591 not working

Post by forrest_m »

I could only get one out of ten to work. Running example code unmodified.

Tried to get a better shot.
20150706_094437.jpg
20150706_094437.jpg (932.13 KiB) Viewed 440 times

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: TSL2591 not working

Post by adafruit_support_bill »

It looks like you have some cold-solder joints there. This guide has some tips on repairing those.
https://learn.adafruit.com/adafruit-gui ... n-problems

User avatar
forrest_m
 
Posts: 25
Joined: Thu Jul 02, 2015 7:35 pm

Re: TSL2591 not working

Post by forrest_m »

20150706_112652.jpg
20150706_112652.jpg (778.95 KiB) Viewed 430 times
These look better right? Same thing is happening, though.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: TSL2591 not working

Post by adafruit_support_bill »

That looks better. Hanging on initialization is a common symptom of a dodgy i2c connection. Try re-building the circuit in a different area of the breadboard. Make sure that the jumper pins are gripped firmly in the breadboard contacts.

User avatar
forrest_m
 
Posts: 25
Joined: Thu Jul 02, 2015 7:35 pm

Re: TSL2591 not working

Post by forrest_m »

adafruit_support_bill wrote:That looks better. Hanging on initialization is a common symptom of a dodgy i2c connection. Try re-building the circuit in a different area of the breadboard. Make sure that the jumper pins are gripped firmly in the breadboard contacts.
I used a different breadboard altogether and that fixed this issue.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: TSL2591 not working

Post by adafruit_support_bill »

Great! Breadboards are handy devices for prototyping, but they do have their downsides.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”