The following warnings occurred:
Warning [2] Undefined array key 247196 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247199 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247219 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247256 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247285 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247292 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247305 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247334 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247340 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247576 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247653 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247703 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247712 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247285 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247712 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 247576 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





capacitors for wp34s crystal hack



#13

This thread says that you need 15pF capacitors, but the manual says 18pF.

So, which is correct value (correctest, in case both are)? And could you please explain the difference, what it will affect? Rate? Accuracy?

Also, there are 2 kind of 32768Hz crystals on digikey, one with 30kOhm internal resistance and another with 35kOhm. What difference does that make?


#14

The exact value doesn't really matter as long as you are in the right range. I use 18 pF.

I'm not familiar with the Digikey parts on the crystal, but I use the Citizen CMR200T-32.768KZDF-UT from Mouser.

Eric


#15

Actually the capacitors make a big difference to the 32Khz oscillator accuracy. You should use the exact capacitor value that is specified for the particular crystal you use in order to be within the specified crystal accuracy, typically 20 to 50ppm. If you want better accuracy you need to use a trimmer capacitor in place of one of the fixed capacitors; take a look here.


#16

Very true, Katie. However, the crystal's specified capacitance would include the circuit board trace capacitance, the capacitance of the processor's oscillator pins and so on as well as the actual capacitors that are added. Since the processor pin capacitance is not tightly constrained, accounting for it is always an approximation. Thus the desire to add a variable cap to tweak to perfection.

All that said, many inexpensive watches gave up having a variable decades ago and still keep time sufficiently well. My '34S definitely drifts without having one but not enough to be a problem - my Casio wristwatch is there for accuracy.


#17

Yeah, they got rid of trimmer caps and went to laser trimmed resistors in almost all watch oscillator modules and are able to get within a few ppm even in watches that sell for $10. Maxim sells 0.5ppm TCXO 32Khz oscillators for just a few dollars (in quantity). But why bother with that, I'll bet that you'll see GPS synced watches for under $20 in the not too distant future

#18

Now I am confused.

The datasheet for crystal says 12.5pF, but the design calls for 2 x 18pF (or 2 x 15 pF, depending where I look). Is it "close enough"? Or is it accounting for all those stray capacitances that should be taken care of?

I have another question aboout capacitors. When I ordered from digikey, I typed in "0603 capacitors", it gave off million pages of results, I clicked on first that seem to fit,
445-1777-1-ND

I assume that 0603 is the size factor that is used in calculator in other places. However, when the package arrived, the capacitors were like 10 times smaller. They are so small, one actually fits in the gap between 2 pads. so I, probably got the wring size.

Now, I wonder, if 0603 is the right size? Or did they sent me wrong size capacitors? What is the example part number for the right form factor capacitors?


#19

18 pf will probably work but give you a slowish clock speed. If you're going to order the correct size capacitors get ones close to the value specified by the crystal manufacturer, 12.5pf.

As far as the size goes, you need 0603 (imperial), that's 1.6mm x 0.8mm. What you got was 0603 (metric) which is the same as 0201 (imperial) -- really tiny! It's confusing that there are two systems for this, but Digikey usually specifies both imperial and metric.

I don't see any 12.5pf ceramic 0603 (1.6mm x 0.8mm) caps at Digigkey but here's the part number for some 13pf ones: 490-1406-1-ND.


#20

Katie, thank you for explanation. It seems that i did order 0603 metric. Live and learn. I guess.

About the capacitor: since there are 2 of them in series, shouldn't I be getting 2 x 25 pF caps to get resulting 12.5 pF?


#21

The capacitors on the board are not in series, the are the legs of a pi-network with the crystal. While you could try to fit two 25pf caps in series to get 12.5pf it's useless to do so. These particular caps have a 5% tolerance so a nominal value of 13pf might in fact measure 12.5pf. On top of that the stray capacitance from the board will likely be several pf. So go with any value form 10pf to 15 pf and you'll be just fine.

If you really need accuracy on the WP-34s clock you'll need to use a trimmer capacitor and spend some time adjusting it to the ideal value.

I suppose that you could instead use an external, calibrated 32khz oscillator chip like this one. I haven't tried that and the processor in the calculator might not like an external 32khz clock, but I think it will work. However it's fairly low power (there might be lower power ones available), temperature compensated and extremely accurate (1 minute per year) without having to do any adjustment.


#22

The goal is to provide the capacitance that the crystal wants to "see" across it. This is the total of the 2 capacitors in series plus the stray capacitance of the holder/package.

Two 18pF capacitors in series equal 9pF. Add 3 to 4 pF holder/stray and you end up with 12 to 13pF which is suitable for a crystal spec'ed at 12.5pF.

That's why the 18pF are specified in the manual. You could use 20pF with little difference, the frequency is not that critical.

Randy Ott


#23

According to the schematics, they are installed in parallel (one on either side of the crystal), not in series. But then again, the schematics also say they are supposed to be 15 nF, which is obviously not right.

Eric


#24

The effective capacitance in parallel with the crystal is the total of the two capacitors in series plus the Co of the crystal plus holder and stray capacitance. This is how the load capacitance is calculated. I didn't just make this up. It is how it is specified.

See this link

Randy Ott


Edited: 3 Aug 2013, 1:06 p.m.

#25

I'm just a hacker but whenever I build time critical circuits (that don't require a trimmer) I always use the best tantalum caps I can get.


Possibly Related Threads…
Thread Author Replies Views Last Post
  OT: Reversing Sinclair's amazing 1974 calculator hack - half the ROM of the HP-35 Egan Ford 6 2,715 09-02-2013, 10:54 PM
Last Post: Thomas Klemm
  Reversing Sinclair's amazing 1974 calculator hack MikeO 4 1,834 08-31-2013, 05:48 PM
Last Post: Les Koller
  I still have wp34s crystal and cap sets David Griffith 3 1,336 11-01-2012, 05:13 PM
Last Post: Dale Reed
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 1,176 10-04-2012, 04:59 PM
Last Post: Paul Dale
  [WP-34s] Updated: How to install crystal and IR diode Alexander Oestert 2 1,468 06-17-2012, 12:19 PM
Last Post: Geoff Quickfall
  [WP-34s] Crystal frequency jerome ibanes 6 2,001 05-25-2012, 07:36 PM
Last Post: Paul Dale
  [WP-34s] How to install crystal and IR diode.pdf Alexander Oestert 27 6,451 05-04-2012, 06:21 AM
Last Post: Dominic Richens
  I still have wp34s crystal and cap sets David Griffith 0 745 05-03-2012, 07:54 PM
Last Post: David Griffith
  WP-34s: Crystal and capacitor instructions? W. Bruce Maguire II 2 1,288 05-03-2012, 02:04 PM
Last Post: W. Bruce Maguire II
  wp34s crystal kits -- don't worry David Griffith 7 2,066 04-16-2012, 04:58 PM
Last Post: Marcus von Cube, Germany

Forum Jump: