(Ice Tube Clock) Time not being kept while powered under battery backup

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

(Ice Tube Clock) Time not being kept while powered under battery backup

Postby rgollub » Tue Jun 05, 2012 3:17 pm

Have built kit thru completion and ALL works as advertised with a minor exception as per the topic title.

So far what I did was to confirm that:
a. battery voltage is sound (it is; measured in the range 2.9-3.0 V while inserted)
b. processor clock is running (it is as per oscilloscope)
c. voltage of "batt sense" pin is as designed (it is; approx 1.2 V on external power; approx 0.7 V on battery).

The description is straightforward: when powering the clock back onto the 9 V source, the time displayed back starts off exactly from the time it was when the external power was removed! In other words, time "was not kept" while under battery power.

It could be either a hardware (faulty/marginal processor IC) or a software problem (untriggerred interrupt?). Unsure as yet.

Would appreciate any instructions and hints as to how I should proceed from here in order to troubleshoot my clock, which otherwise is superb.

Thanks in advance for attention.
rgollub
 
Posts: 6
Joined: Tue Jun 05, 2012 2:53 pm

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby adafruit_support_bill » Tue Jun 05, 2012 3:40 pm

b. processor clock is running (it is as per oscilloscope)

Is it still running when the 9v supply is removed?
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby rgollub » Tue Jun 05, 2012 5:35 pm

Tks for quick reply.

I wasn't clear enough in my point (b).

What I should have made unambiguous is that "the processor oscillator is orderly running while also under battery power".

Hence, replying to the query objectively: Yes, once the external power is removed, the oscillator continues to operate. I checked by observing the pin waveform with an oscilloscope. Didn't bother checking frequency, as I just wanted to make sure that the processor was still alive under the voltage supplied by the battery. Thus, as far as the oscillator is concerned, _it_ was "alive". However, if other areas of the processor weren't, that still remains to be tested.

Hope now the whole scenario is complete.

TIA for attn.
rgollub
 
Posts: 6
Joined: Tue Jun 05, 2012 2:53 pm

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby adafruit_support_bill » Wed Jun 06, 2012 7:36 am

That is unusual. If the oscillator is running, it should still update the time while in sleep mode. Check the oscillator frequency. Is the time exactly the same as when the power is removed, or is it possibly just running very slowly?
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby rgollub » Wed Jun 06, 2012 10:05 am

adafruit_support wrote:That is unusual.


Yes, I know... That's why I am consulting you.

adafruit_support wrote:If the oscillator is running, it should still update the time while in sleep mode.


Exactly. But, as it isn't updating then what must be assessed is whether "while in sleep mode" is true. Or, more to the point, "in what state the processor actually is after ext power is removed?".

adafruit_support wrote:Check the oscillator frequency.


Will do, but the probability that it is running at the crystal frequency is very close to 100%. See following comment.

adafruit_support wrote:Is the time exactly the same as when the power is removed, or is it possibly just running very slowly?


One experiment I have executed was to record the time being displayed at the time of removing the power. Then, roughly one hour later I checked what had happened to the internal time once I reinstated the external power. Needless to say that time started off from the recorded value (give or take a few seconds due to measurement imprecision). Had it running been slow, I imagine I would see a significant discernible difference: unfortunately that was not the case.

(For the record, this type of experiment was conducted at least thrice. The last one it is reported hereinbefore. Surely the outcome is reproducible as many times as required.)

Hope you are now convinced that the condition requires a strategy of attack, as, I am almost sure, the answer to the riddle won't be trivial, and I count on you to help me out. TIA.
rgollub
 
Posts: 6
Joined: Tue Jun 05, 2012 2:53 pm


Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby rgollub » Wed Jun 06, 2012 12:58 pm

adafruit wrote:can you post a clear photo of your main pcb?


Sure. No problem. Will revert in due course, probably tomorrow.

For my guidance, could you explain me your rationale behind the request? Maybe I could enhance your thinking with my own... :)

TIA.
rgollub
 
Posts: 6
Joined: Tue Jun 05, 2012 2:53 pm

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby rgollub » Thu Jun 07, 2012 11:06 am

rgollub wrote:
adafruit_support wrote:Check the oscillator frequency.

Will do, but the probability that it is running at the crystal frequency is very close to 100%. See following comment.


OK, here is the data regarding the oscillator:
Attached picture shows waveform, measured at pin 10 (resolution of V=.5 V/div and H=20 usec/div) giving a roughly period of 30 usec, or, roughly 33 kHz for the oscillator frequency.

Amplitude of roughly 1 Vpp with battery voltage of 2.82 V, which delivers (after diode) 2.66 V as VCC.

Finally, voltage at pin 13 (BATTSENS) is 0.70 V, or roughly 26% of VCC.

Oscillator_pin_10.JPG
Waveform at pin 10
Oscillator_pin_10.JPG (51.66 KiB) Viewed 1368 times


rgollub wrote:
adafruit wrote:can you post a clear photo of your main pcb?

Sure. No problem. Will revert in due course, probably tomorrow.


I have the picture but, due to its high resolution, your restriction of 1 MB per attachment disallows me from attaching to this post. Please instruct how/where I should send it to and thus have it reach you.

rgollub wrote:For my guidance, could you explain me your rationale behind the request? Maybe I could enhance your thinking with my own... :)


Your eloquent silence is well understood: you didn't want to hurt my feelings... :lol: :wink:
rgollub
 
Posts: 6
Joined: Tue Jun 05, 2012 2:53 pm

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby adafruit_support_bill » Thu Jun 07, 2012 11:14 am

I have the picture but, due to its high resolution, your restriction of 1 MB per attachment disallows me from attaching to this post. Please instruct how/where I should send it to and thus have it reach you.

You can re-size it (800x600 should be fine). Or you can put it up on one of the many photo sites and post a link here.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby rgollub » Thu Jun 07, 2012 11:37 am

adafruit_support wrote:You can re-size it (800x600 should be fine). Or you can put it up on one of the many photo sites and post a link here.


OK. Re-sized pictured to within allowed limit.

Overview-cropped.jpg
Overview-cropped.jpg (570.75 KiB) Viewed 1366 times


PCB-cropped.JPG
PCB-cropped.JPG (749.79 KiB) Viewed 1366 times
rgollub
 
Posts: 6
Joined: Tue Jun 05, 2012 2:53 pm

Re: (Ice Tube Clock) Time not being kept while powered under battery backup

Postby adafruit_support_bill » Sat Jun 09, 2012 5:31 am

That looks like a good clean build. Not sure what would cause the loss of time other than a malfunctioning processor. We can try replacing it.
Contact support@adafruit.com with a link to this thread and ask for a replacement Ice Tube processor.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am


Return to Clocks

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]