Arduino and Ruby code to count open-close cycles of a target object.
Other Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
UltrasonicCycleCounter
README.md
client.rb

README.md

ultrasoniccyclecounter

Arduino and Ruby code to count open-close cycles of a target object using an ultrasonic range sensor.

The Arduino code is housed within the UltrasonicCycleCounter directory. client.rb is the CLI Ruby client for the Arduino.

Usage: ruby client.rb [serial_port] [inches_to_target]

Example: ruby client.rb /dev/ttyACM0 40

See the Innovations Technology Solutions blog for more details on this project. http://innovationsts.com/?p=4458