Shop OBEX P1 Docs P2 Docs Learn Events
How precise basic stamp 2 timings can be over wide range of temperatures/etc ? — Parallax Forums

How precise basic stamp 2 timings can be over wide range of temperatures/etc ?

CuriousOneCuriousOne Posts: 931
edited 2012-10-03 22:48 in BASIC Stamp
Hello. I'm building a custom studio flashlight, and want to use basic stamp 2 as the source for pulses of specific duration, to control the power going into the flash lamp. Based on architecture, used type of crystal, interpreter slowdown, temperature change, how much change of actual time in time-based commands I should expect over temperature change in range of 5-50 C ? I'm talking about BASIC STAMP 2, the simplest stamp 2 model.

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-10-03 11:46
    The duration of PULSOUT pulses is ceramic-resonator (not crystal) -controlled, so you you should get repeatability over temperature in the neighborhood of 0.5% or so.

    -Phil
  • CuriousOneCuriousOne Posts: 931
    edited 2012-10-03 22:26
    0.5% of what, microsecond or millisecond?

    Also, my software should work in loop, timing of which may be critical. How loop execution time can change with temperature change?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-10-03 22:48
    CuriousOne wrote:
    0.5% of what, microsecond or millisecond?
    Of whatever your pulse-width is.
    How loop execution time can change with temperature change?
    Same as the pulse width. All timings are proportional to the same error percentage.

    -Phil
Sign In or Register to comment.