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:
TSL2591 not working
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: TSL2591 not working
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.
- forrest_m
- Posts: 25
- Joined: Thu Jul 02, 2015 7:35 pm
Re: TSL2591 not working
I could only get one out of ten to work. Running example code unmodified.
Tried to get a better shot.
Tried to get a better shot.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: TSL2591 not working
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
https://learn.adafruit.com/adafruit-gui ... n-problems
- forrest_m
- Posts: 25
- Joined: Thu Jul 02, 2015 7:35 pm
Re: TSL2591 not working
These look better right? Same thing is happening, though.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: TSL2591 not working
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.
- forrest_m
- Posts: 25
- Joined: Thu Jul 02, 2015 7:35 pm
Re: TSL2591 not working
I used a different breadboard altogether and that fixed this issue.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.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: TSL2591 not working
Great! Breadboards are handy devices for prototyping, but they do have their downsides.
Please be positive and constructive with your questions and comments.