122-28176 Parallax Inc, 122-28176 Datasheet - Page 115

GUIDE STUDENT PROCESS CONTROL

122-28176

Manufacturer Part Number
122-28176
Description
GUIDE STUDENT PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-28176

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
program count every sample if a low level is sensed, as depicted by the partial flowchart
in Figure 4-15 (a)?
"Sample Time" is how frequently a program reads a value. If the sample time were
100 ms and the box was present for 2 seconds, how many counts would have occurred?
The algorithm would have counted 20 boxes! So the count cannot be based on whether
the object is detected or not. The count needs to occur only once: either at the first
detection of a box or when the box passes. A count needs to occur on the transition from
HIGH to LOW or LOW to HIGH. In digital terms, this is known as "Edge Triggering".
Figure 4-15 Detection and Counting Algorithms
a.
c.
b.

Related parts for 122-28176