Shop OBEX P1 Docs P2 Docs Learn Events
RCTime question... — Parallax Forums

RCTime question...

ArchiverArchiver Posts: 46,084
edited 2000-06-10 17:43 in General Discussion
Hi all! I am using RCtime to scan 9 I/O lines (each attached to a CdS
cell/capacitor combo). I understand the I/O lines to be grouped in two buses
of 8 I/O lines each, so 1 of the lines that I will be using will be on the
second bus. OK, enough of that... The time in which the Stamp can cycle
through all 9 lines is a major issue, so... (My Question)... Will the one
line being on a separate bus cause an extra delay in the execution time? If
so, by how much? Also, in addition to the charge/discharge time of the
capacitor, how long does it take to execute a single RCtime command? How long
in-between RCtime commands?



Thanks in advance,
Edward Kindler

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-06-10 17:43
    >Hi all! I am using RCtime to scan 9 I/O lines (each attached to a CdS
    >cell/capacitor combo). I understand the I/O lines to be grouped in two
    buses
    >of 8 I/O lines each, so 1 of the lines that I will be using will be on the

    >second bus. OK, enough of that... The time in which the Stamp can cycle
    >through all 9 lines is a major issue, so... (My Question)... Will the one
    >line being on a separate bus cause an extra delay in the execution time?
    If
    >so, by how much? Also, in addition to the charge/discharge time of the
    >capacitor, how long does it take to execute a single RCtime command? How
    long
    >in-between RCtime commands?

    It takes 220 microseconds in between each RCtime command. Plus the time
    for the command itself, in 2 microsecond units. To make the execution as
    fast as possible, make the capacitor as smallas possible consistent with
    the resolution you need for your application. The 9 lines all work the
    same for RCtime--it doesn't matter which pins you use.

    -- Tracy Allen
    Electronically Monitored Ecosystems
    http://www.emesystems.com
Sign In or Register to comment.