0

ICE tube clock (OTH RSET)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ICE tube clock (OTH RSET)

by jeanpierre7 on Mon Dec 11, 2017 6:08 pm

Good afternoon all,

I just recently purchased the ICE tube clock kit for my wife as a Christmas present and started to assemble everything to get it ready for wrapping. However, the clock constantly resets and displays OTH RSET. after investigating i have fund that John Archie commented on the reset saying " oth rset (other reset): If no flags were set in MCUSR to indicate the cause of the reset, the display will flash "oth rest". Intheory, this should never happen." I really do not know how to resolve this problem and have tested the following.

C10- Soldered in fine
R1- Soldered in fine
R2- soldered in fine
pin 8 GND to pin 13 -> stable 1.249 V with no dips during reset

7805 regulator -soldered in fine
GND to pin 1-> 8.62 V
GND to pin 3 -> 5.02 V

It seems that this issue is related to the MCU or even firmware?

jeanpierre7
 
Posts: 5
Joined: Mon Dec 11, 2017 5:51 pm

Re: ICE tube clock (OTH RSET)

by jeanpierre7 on Mon Dec 11, 2017 6:22 pm

Here are the Pictures of the board
Attachments
Optimized-IMG_20171211_170354.jpg
Optimized-IMG_20171211_170354.jpg (453.94 KiB) Viewed 888 times
Optimized-IMG_20171211_170306.jpg
Optimized-IMG_20171211_170306.jpg (340.98 KiB) Viewed 888 times
Optimized-IMG_20171211_170345.jpg
Optimized-IMG_20171211_170345.jpg (416.49 KiB) Viewed 888 times

jeanpierre7
 
Posts: 5
Joined: Mon Dec 11, 2017 5:51 pm

Re: ICE tube clock (OTH RSET)

by adafruit_support_bill on Mon Dec 11, 2017 7:50 pm

Are you using the original firmware or John Archie's firmware?

adafruit_support_bill
 
Posts: 69809
Joined: Sat Feb 07, 2009 10:11 am

Re: ICE tube clock (OTH RSET)

by jeanpierre7 on Tue Dec 12, 2017 10:34 am

Good morning,

Thank you for the quick response the firmware loaded is John Archie's Xmas

jeanpierre7
 
Posts: 5
Joined: Mon Dec 11, 2017 5:51 pm

Re: ICE tube clock (OTH RSET)

by adafruit_support_bill on Tue Dec 12, 2017 10:42 am

OK. I'm not familiar with the internals of that firmware. I will see if I can contact John Archie.

adafruit_support_bill
 
Posts: 69809
Joined: Sat Feb 07, 2009 10:11 am

Re: ICE tube clock (OTH RSET)

by jeanpierre7 on Tue Dec 12, 2017 11:12 am

Thank you so much I looked into Archie's document and it says that OTH reset should never happen. Unfortunately it also does not provide any debugging procedures but thank you for your help!

jeanpierre7
 
Posts: 5
Joined: Mon Dec 11, 2017 5:51 pm

Re: ICE tube clock (OTH RSET)

by jarchie on Tue Dec 12, 2017 2:01 pm

Are you sure the clock is saying "oth rset"? In the picture it appears to be displaying "wdt rset" which would indicate that the watchdog timer is resetting the clock. (I know, the "w" is a bit wonky on a seven segment display, but you'll get used to it. Think of it as a "u" with a "doubling bar" over it. Also, "m" is displayed as an "n" with a "doubling bar" over it.)

Below is an excerpt from the xmas firmware README:
firmware/README wrote::: Crystal Oscillator Problems ("wdt rset") ::

The ATmega328p is more prone to oscillator issues than the ATmega168v,
and users occasionally encounter oscillator problems after upgrading.

Oscillator problems usually result in inconsistent timekeeping; the
clock may keep accurate time one day, but not on another. When oscillator
problems are severe, the microcontroller's watchdog circuit will
detect that time is not advancing and reset the clock in an attempt to
fix the problem. After such a reset, the clock will beep and display
"wdt rset" to indicate possible time loss due to a watchdog reset.

Fixing oscillator issues requires some trial and error, but following
the procedure below will likely fix the problem.

First, excess flux or burnt flux can cause oscillator problems.
Sometimes cleaning the board thoroughly with flux cleaner--or simply
alcohol and a toothbrush--will solve the problem.

Second, the 20 pF oscillator capacitors included in the Adafruit kit
are a bit large. Replacing C8 and C9 with with 10 pF caps will
sometimes fix the oscillator. Even if the clock is functioning
normally, installing 10 pF caps will increase timekeeping accuracy.

Finally, replacing the crystal will sometimes resolve the issue. The
replacement should be another 32.768 kHz crystal with a 12.5 pF load
capacitance and equivalent series resistance of 30 kOhm or less. The
AB38T-32.768KHZ is a good choice and is available from Digi-Key or
Mouser. When installing and soldering the crystal, gently push the
crystal through the circuit board until there is 2-3 mm of space
between the bottom of the crystal and the circuit board. Leaving this
space prevents undue stress on the leads which could damage the
crystal; it also ensures solder will not make unwanted electrical
contact with the metallic crystal housing.

The following threads provide more information on oscillator issues
after upgrading to the ATmega328p:

http://forums.adafruit.com/viewtopic.ph ... 66#p189366
http://forums.adafruit.com/viewtopic.php?f=41&t=51960

jarchie
 
Posts: 546
Joined: Sun Jun 24, 2012 2:16 pm
Location: Santa Cruz, California, United States

Re: ICE tube clock (OTH RSET)

by jeanpierre7 on Tue Dec 12, 2017 3:12 pm

Thank you so much for contacting me John.

I cleaned the PCB with Isopropyl alcohol- still no luck

Changed the two caps for 10pf- still not luck

the last step is changing the crystal, the vendor will be sending me a new one.

Thanks for you help again!

jeanpierre7
 
Posts: 5
Joined: Mon Dec 11, 2017 5:51 pm

Re: ICE tube clock (OTH RSET)

by jarchie on Tue Dec 12, 2017 4:07 pm

jeanpierre7 wrote:Thank you so much for contacting me John.

You're welcome! Bill deserves credit for alerting me to this thread. I check these forums every now and then, but I'm not a regular anymore.

jeanpierre7 wrote:the last step is changing the crystal, the vendor will be sending me a new one.

About a half dozen people have contacted me about oscillator issues, and for most of them, changing the crystal was what worked. Several reported mounting the crystal very close to the board, which prompted me to add the following line to the README: "When installing and soldering the crystal, gently push the crystal through the circuit board until there is 2-3 mm of space between the bottom of the crystal and the circuit board. Leaving this space prevents undue stress on the leads which could damage the crystal; it also ensures solder will not make unwanted electrical contact with the metallic crystal housing."

I'm sure you'll have your clock up-and-running soon! :-)

Anyway, good luck and happy hacking!

jarchie
 
Posts: 546
Joined: Sun Jun 24, 2012 2:16 pm
Location: Santa Cruz, California, United States

Please be positive and constructive with your questions and comments.