Go Down

Topic: tracking how fast a treadmill like project is moving (Read 753 times)previous topic - next topic

Ewilli22

Feb 21, 2013, 12:13 am
Hi All,
I have this project that I am doing and it involves taking the speed of 2 treadmills. The premise is that two people get on opposite treadmills and push them under their own power to play a simple game of Tetris against each other. How would I go about reading the speed of the treadmill moving? I have explored the thought of taking apart computer mice and using the optical laser, but could not find and instruction on how to interface the two together. Any help on this matter would be greatly appreciated.

Eric

Quick5pnt0

#1
Feb 21, 2013, 01:08 am
There are tons of ways to do this. One would be to glue a small magnet on one of the rollers and have a hall effect switch or reed switch nearby which is triggered each time the magnet passes by them. Then the arduino would be used to count the times the switch is triggered in a certain amount of time to calculate the speed and display it.

Ewilli22

#2
Feb 21, 2013, 04:23 am
Oh that makes sense the reed sensor would be cost effective as well. Next question would there be any way of making it where if someone stopped rapidly that it would be read by the arduino?

Quick5pnt0

#3
Feb 21, 2013, 04:26 am
Absolutely, you'd need to program it so when the speed drops to zero (the reed switch isn't triggered in a certain amount of time) it does whatever you're looking for it to do.

Ewilli22

#4
Feb 21, 2013, 04:32 am
ok so the triggering bars would have to be close together to be sensitive enough to read that. I know this is a newbie question but could you give me an example sketch so i would have to run? Or maybe steer me in the direction that I could find the examples that I could use.

Go Up

Please enter a valid email to subscribe