Adafruit TPL5110 not working

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mgale31
 
Posts: 16
Joined: Fri Feb 09, 2018 5:51 pm

Adafruit TPL5110 not working

Post by mgale31 »

I can't seem to figure out what I have done wrong, but when I have the circuit below connected with NO adafruit Huzzah connected, the timer works as intended.
But when I connect the battery harness to the huzzah the timer led just dimly flashes super quickly, and the huzzah gets 1.2V at the battery in connection.
There is 4.1V at the VDD pin, but 1.2 V at the drive pin... Any ideas?

The huzzah will turn on and work as expected if I short the VDD and Drive pin.
Pushing and holding the button does nothing on the TPL ...
Attachments
wiring.png
wiring.png (66.89 KiB) Viewed 83 times
pcb.png
pcb.png (71.75 KiB) Viewed 83 times
20221002_130545.jpg
20221002_130545.jpg (906.6 KiB) Viewed 83 times

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit TPL5110 not working

Post by dastels »

How/when are you configuring D13?

Dave

User avatar
mgale31
 
Posts: 16
Joined: Fri Feb 09, 2018 5:51 pm

Re: Adafruit TPL5110 not working

Post by mgale31 »

I am running this simple script. I program it before I plug it into the power or the board.
The blink sketch works fine, and pin 13 is pulled low. Once it is connected to the board, the onboard leds will flash momentarily, then no function.

Code: Select all

void setup() {
  pinMode(0, OUTPUT);
  pinMode(13, OUTPUT);
  digitalWrite(13, LOW);
}

void loop() {
  digitalWrite(0, HIGH);
  delay(500);
  digitalWrite(0, LOW);
  delay(500);
}

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit TPL5110 not working

Post by dastels »

I'm not clear on this... What is that sketch supposed to do? What's D0? I don't see it on your diagrams. What is the DELAY trim-pot set to?

Dave

User avatar
mgale31
 
Posts: 16
Joined: Fri Feb 09, 2018 5:51 pm

Re: Adafruit TPL5110 not working

Post by mgale31 »

Sorry, D0 is the onboard LED for the huzzah, so it's simply a "blink" sketch to indicate if the sketch is running or not.

The trim pot is set in the center.

When the huzzah is not connected, the LED on the timer is bright, and I can measure 4.1 Volts at the JST connection that connects to the huzzah battery input. As soon as I plug this JST connection in (battery input on huzzah that you can see in the image is disconnected) the onboard leds on the huzzah flash momentarily then turn off. The Timer LED is dim and flashing very quickly, you can barely see that it is even illuminating.

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit TPL5110 not working

Post by dastels »

Hmm. I've seen this behavior before in cases where the DONE pin wasn't being initialized to LOW soon enough. That was with CircuitPython (which has a longer startup time) but I've never had it with C++ code. My solution was to add a small capacitor between DONE and ground as described here: https://learn.adafruit.com/humidity-and ... y/hardware.

Dave

User avatar
mgale31
 
Posts: 16
Joined: Fri Feb 09, 2018 5:51 pm

Re: Adafruit TPL5110 not working

Post by mgale31 »

Awesome, Thanks @dastels !
The capacitor did the trick.

Much appreciated!

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit TPL5110 not working

Post by dastels »

Awesome!

Dave

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

Return to “General Project help”