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

DAC tutorial question.

kevinjkevinj Posts: 9
edited 2005-08-15 05:32 in BASIC Stamp
I was reading the DAC tutorial, and came across,
The typical method for choosing how many cycles to charge is: cycles = 4

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-08-15 03:52
    When I went to tech school I was taught 5 TCs (time constants) are required to charge (or discharge a capacitor). During each TC, the cap charages to 63% of the available span (between where it is and where it's going). For five volts, for example:

    0: 0.00
    1: 3.15
    2: 4.32
    3: 4.75
    4: 4.91
    5: 4.97 <-- considered full charge at 5 TC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • KenMKenM Posts: 657
    edited 2005-08-15 05:32
    For what it is worth, I was taught the same 5 TC's in school.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken
Sign In or Register to comment.