# Hall sensor time out calculation

#### electronicsLearner77

Jul 2, 2015
256
I want to measure the speed using the hall sensor, one part of it is to detect hall sensor time out. I want to set around 150ms as hall timeout, that is there is no hall transition for 150ms. So, i wanted to confirm 150ms corresponds to 1000/150Hz = 6.6 Hz? Am i correct or any other factor to be considered? Please advise.

#### Harald Kapp

##### Moderator
Moderator
Nov 17, 2011
13,073
hall sensor time out.
What do you mean by "hall sensor timeout"?
If you want to detect when there has been no transistion from the hall sensor's output within a timespan of 150 ms, a suitably set monoflop (monostable multivibrator) can be used. Here's an example.
No need to convert to frequency.
i wanted to confirm 150ms corresponds to 1000/150Hz = 6.6 Hz?
If a signal repeats at 150 ms intervals, that's equivalent to 6.66666 Hz (6.7 Hz after rounding). If the sensor's output changes more often, the frequency is higher.

#### bidrohini

Feb 1, 2023
51
What do you mean by "hall sensor timeout"?
I think he/she is referring to the time interval during which the system waits for a valid signal from the hall sensor.

#### electronicsLearner77

Jul 2, 2015
256

Hall time out is no hall signal from Hall sensor connected to the motor. So, I want to consider if there is no signal (low or high) for 150ms then hall is disconnected.

#### bertus

Moderator
Nov 8, 2019
2,854
Hello,

Do you have a document to share where this signal is given?

Bertus

#### electronicsLearner77

Jul 2, 2015
256
It is connected to the micro input pin. I configured it as input capture in software.

#### Harald Kapp

##### Moderator
Moderator
Nov 17, 2011
13,073
I want to consider if there is no signal (low or high) for 150ms

Replies
7
Views
635
Replies
3
Views
2K
Replies
5
Views
4K
Replies
5
Views
1K
Replies
6
Views
1K