Pulse Duration Monitor

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
Auxiliary Files
By: created: 2017-07-04 | updated: 2017-07-04

This Spin Object Monitors Normally HI (3.3V) P10 for LO (GND) Pulse and prints out the pulse duration in Clock Ticks, micro-seconds and milli-seconds on PST.

P26 is used to show when the P10 is LO.

This Object is useful for Pulse Duration detection from various modules that are available for Arduino, but for which there are no specifications, such as Tilt, Tap, Shock, Hall and Reed switch modules.

The Object can be also used to measure Pulse Duration of various mechanical switches and realys as it operates fast enough to show any switch bounce.

Therefore it can be used to evalueate various switch debounce techniques. The wiring diagram is typical of  Tap, Shock or Tilt Modules. (HXJ-Tap-Sensor-13-1.png)

Original File Upload
AttachmentSize
Binary Data PulseTimeTapA.spin3.01 KB