|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
June 19, 1997 µC-based one-shot has wide rangeYongping Xia, International Teldata Corp, Los Angeles, CA The µC-based, digitally programmable, monostable multivibrator in Figure 1 has more accurate timing than a conventional RC-based device because a 20-MHz crystal controls the µC. The PIC16C54 is a low-cost, high-speed, 18-pin µC. At a full speed of 20-MHz and using the accompanying program, this µC can generate programmable pulses of 10 µsec to 100 sec per step. (Click here to download the file from DI-SIG, #2050.) Inputs S0 through S6 control the step size (Table 1), and S7 through S9 determine the range (Table 2). When S7=S8=S9=logic 0, S0 through S6 determine the pulse width, which can range from 10 µsec to 1.27 msec with 10 µsec per step. When S7=S8=S9=logic 1, each step is equivalent to 100 sec. Thus, the maximum pulse width is 3 hours, 31 minutes, and 40 sec. (DI #2050) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EDN Access | Feedback | Table of Contents | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright © 1997 EDN Magazine, EDN Access. EDN is a registered trademark of Reed Properties Inc, used under license. EDN is published by Cahners Publishing Company, a unit of Reed Elsevier Inc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||