0

TPL 5110 , timer not triggering ?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TPL 5110 , timer not triggering ?

by alexander145 on Fri Oct 27, 2017 11:04 am

First time using the TPL 5110 breakout board. Powering an ESP8266 for an IOT application, wanting to get a sensor reading every hour. When I press the momentary switch I get the LED on, my project does its thing and sets the done signal, the led goes out as expected. Trouble is the LED never comes back on and the project is never repowered. Position of the pot doesnt seem to matter. Waited several hours and nothing happens unless I press the momentary. Have I misread the usage ? Any suggestions ? Powered from 4xAA rechargeables.

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by adafruit_support_mike on Sat Oct 28, 2017 11:56 pm

For the sake of testing, disconnect the TPL5110 from the rest of the circuit (including power), turn the onboard pot all the way clockwise to get the shortest timing interval, then reconnect power. You should see the onboard LED blink at about 10Hz.

Turning the pot after you connect power doesn't have any effect. The TPL5110 only measures the pull-down resistance for the first 100ms after it powers up. Then the pin goes into high-impedance input mode and watches the pin for button presses.

adafruit_support_mike
 
Posts: 45751
Joined: Thu Feb 11, 2010 2:51 pm

Re: TPL 5110 , timer not triggering ?

by alexander145 on Sun Oct 29, 2017 1:04 pm

Good suggestion to test in isolation.
Aha ! turning the pot clockwise does result in the 10Hz flash at poweron. Is that consistent with the product description saying "all the way to the left" gives the shortest time ?
O well, on to the next debug step .... Im getting the low level flashing now .... using the the ESP8266-12E , Ive read there's some poweron and noise issues.... I'll report what I find....now where are those capacitors and resistors ?

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by alexander145 on Mon Nov 06, 2017 11:56 pm

Well well well .... despite resistors for pulling up and down, and capacitors tacked on pins and even RC networks on the lines I couldnt get rid of the blinky power led at TPL5110 poweron.
Expected behaviour only returned when the DONE signal from my ESP8266-12E was disconnected before applying power. Only when I moved the signal to D1 rather than D3 or D5 did the TPL5110 start triggering as expected, ie DONE being LOW at poweron and staying LOW until my software set it HI for DONE. Apparently the ESP8266's GPIOs do not behave well at poweron, some weird glitches and behaviour, as observed by Steven Warren at http://rabbithole.wwwdotorg.org/2017/03 ... -gpio.html. Now that was a grand waste of time, but my project looks like its low power measurement reporting is working (only powered for 10secs per hour). Now to see if it really will last a year on a rechargeable battery pack !

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by adafruit_support_mike on Tue Nov 07, 2017 3:00 am

When I was testing the raw TPL51xx timers on my own, I used a 10uF capacitor as the power source and tracked the discharge rate with a high-impedance voltage buffer (5pA leakage). With the capacitor charged to 5v at the beginning of the test, the timers would blink an (externally powered) LED for 5 to 10 minutes. My estimates for the current consumption were between 50nA and 85nA.

adafruit_support_mike
 
Posts: 45751
Joined: Thu Feb 11, 2010 2:51 pm

Re: TPL 5110 , timer not triggering ?

by alexander145 on Sun Nov 19, 2017 2:07 pm

BTW I measured TPL5110 power draw at 37mA during ON and DONE/counting states when being supplied ~5V from AA rechargeables.
Significant for really low power applications..... I measured my ESP8266-12 with sensors switched off by GPIOs at 2.2mA in its deepsleep mode, so this project should get longer life without the TPL5110.
Wish I realized my meter needed a replacement fuze earlier !

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by adafruit_support_mike on Mon Nov 20, 2017 1:30 am

Getting 37mA while the TPL5110 has turned on the mosfet isn't surprising.. the output is good for up to 500mA.

If you got enough current to measure with anything less than a good bench meter while the mosfet was shut off, something is seriously wrong. The only device I have that can even measure the idle current is a Keithley 6-1/2 digit bench unit.

adafruit_support_mike
 
Posts: 45751
Joined: Thu Feb 11, 2010 2:51 pm

Re: TPL 5110 , timer not triggering ?

by alexander145 on Mon Nov 20, 2017 7:38 pm

Well I repeated the test using a bench power supply at 4.8V and no other connections and got the same result, 35mA on startup and after Done going Hi. The power supply confirmed the 0.04A current. I cut the LED drive trace and made no difference.
Maybe I damaged it somehow with my noob electronic handling/hookups.
I bought 10 of these so Im wondering what to do now, I can send the one back for you to confirm or test another or send them all back.
If it really should be 0.050mA while counting that means my expected runtime would be ~25X so it might be worth the additional cost.

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by adafruit_support_mike on Tue Nov 21, 2017 3:24 am

Post a photo showing your hardware and the connections you used to do the test please. 800x600 images usually work best.

adafruit_support_mike
 
Posts: 45751
Joined: Thu Feb 11, 2010 2:51 pm

Re: TPL 5110 , timer not triggering ?

by alexander145 on Tue Nov 21, 2017 7:49 pm

Power Supply +ve to test lead black. Red test lead to VDD. Power supply shows 4.7V 0.03A.
Extech meter in 400mA range shows 34.6 mA from poweron.

My project connected shows 115mA for 12s then back to 34.
Attachments
20171121_183355.jpg
20171121_183355.jpg (348.79 KiB) Viewed 96 times

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by zener on Tue Nov 21, 2017 8:42 pm

Here is the schematic:

https://cdn-learn.adafruit.com/assets/assets/000/039/783/original/adafruit_products_schem.png?1488404279

The only device drawing power should be the IC itself. It could possibly have suffered ESD damage. Just guessing.

I would try another one and compare.

zener
 
Posts: 4008
Joined: Sat Feb 21, 2009 2:38 am

Re: TPL 5110 , timer not triggering ?

by alexander145 on Tue Nov 21, 2017 9:46 pm

OK, glad we persevered. A fresh TPL5110 gave 2.5mA when the LED on and so-low-not measureable for the counting/OFF period.
Guess I will include it in my low power IOT design !

alexander145
 
Posts: 8
Joined: Sat Mar 23, 2013 10:24 am

Re: TPL 5110 , timer not triggering ?

by adafruit_support_mike on Wed Nov 22, 2017 12:22 am

Sounds like the first one did get fried somehow. The second one seems to be performing according to its specs though.

adafruit_support_mike
 
Posts: 45751
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.