Hello,
I have a teensy ++ 2.0 and I would like to use it to measure the number of times a wheel turns, by means of a hal-effect probe (coming from a bike velocimeter), and send the measurement to a computer, where it will be used by an application I am programming.
I know very little about electronics so I am writing to seek guidance on how to begin, whether my intended approach will work or I should choose other components, what to read on, ...
If possible I would like to connect the probe directly to the teensy, avoiding any other component. I don't know about the voltage the probe will deliver or the shape of the signal, so I was planning to measure it using an osciloscope I have access to.
The wheel will be turning at a maximum of 25 revolutions per second and taking into account the size and position of the magnet and the probe I estimate a minimum "high signal time" of 0.4 ms, with the entire turn taking 40 ms.
I have been learning with the arduino IDE/teensyduino and that's the language I would like to use (I have no experience with C and I prefer learning about electronics than spending my time learning C).
So, the questions I have are:
- For measuring the signal from the probe, would I just connect it directly to the osciloscope or should I add some elements in between the two?
- I can imagine the probe will deliver a very low voltage. Will the teensy be able to detect the changes of that signal? If I understand the analog input correctly, it can roughly detect a 5 mV change, am I right?
- Is it safe/adequate to connect the probe directly to the teensy without any other element for this use?
- Any advice on how to do this or what to read on?
I have some doubts on the software side too, but I need to do some further reading and testing before posting those.
Thank you all in advance,
Pixe
I have a teensy ++ 2.0 and I would like to use it to measure the number of times a wheel turns, by means of a hal-effect probe (coming from a bike velocimeter), and send the measurement to a computer, where it will be used by an application I am programming.
I know very little about electronics so I am writing to seek guidance on how to begin, whether my intended approach will work or I should choose other components, what to read on, ...
If possible I would like to connect the probe directly to the teensy, avoiding any other component. I don't know about the voltage the probe will deliver or the shape of the signal, so I was planning to measure it using an osciloscope I have access to.
The wheel will be turning at a maximum of 25 revolutions per second and taking into account the size and position of the magnet and the probe I estimate a minimum "high signal time" of 0.4 ms, with the entire turn taking 40 ms.
I have been learning with the arduino IDE/teensyduino and that's the language I would like to use (I have no experience with C and I prefer learning about electronics than spending my time learning C).
So, the questions I have are:
- For measuring the signal from the probe, would I just connect it directly to the osciloscope or should I add some elements in between the two?
- I can imagine the probe will deliver a very low voltage. Will the teensy be able to detect the changes of that signal? If I understand the analog input correctly, it can roughly detect a 5 mV change, am I right?
- Is it safe/adequate to connect the probe directly to the teensy without any other element for this use?
- Any advice on how to do this or what to read on?
I have some doubts on the software side too, but I need to do some further reading and testing before posting those.
Thank you all in advance,
Pixe