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 ...
Adafruit TPL5110 not working
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mgale31
- Posts: 16
- Joined: Fri Feb 09, 2018 5:51 pm
Adafruit TPL5110 not working
- Attachments
-
- wiring.png (66.89 KiB) Viewed 88 times
-
- pcb.png (71.75 KiB) Viewed 88 times
-
- 20221002_130545.jpg (906.6 KiB) Viewed 88 times
- dastels
- Posts: 15820
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Adafruit TPL5110 not working
How/when are you configuring D13?
Dave
Dave
- mgale31
- Posts: 16
- Joined: Fri Feb 09, 2018 5:51 pm
Re: Adafruit TPL5110 not working
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.
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);
}
- dastels
- Posts: 15820
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Adafruit TPL5110 not working
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
Dave
- mgale31
- Posts: 16
- Joined: Fri Feb 09, 2018 5:51 pm
Re: Adafruit TPL5110 not working
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.
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.
- dastels
- Posts: 15820
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Adafruit TPL5110 not working
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
Dave
- mgale31
- Posts: 16
- Joined: Fri Feb 09, 2018 5:51 pm
Re: Adafruit TPL5110 not working
Awesome, Thanks @dastels !
The capacitor did the trick.
Much appreciated!
The capacitor did the trick.
Much appreciated!
- dastels
- Posts: 15820
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Adafruit TPL5110 not working
Awesome!
Dave
Dave
Please be positive and constructive with your questions and comments.