Hall sensor and magnetic polarity? #87
Replies: 6 comments 7 replies
-
Hi @Gordon-Shumway2 , I have a quick question, the Hall sensor (a3144) in the ky-003 is 4.5v rated (i.e. needs 5v for proper operations). The pi generally uses 3.3v gpio-s. How do you connect the sensor to the pi? Do you use a voltage divider or anything? I am just wondering whether the module has enough supply voltage to operate properly. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Abasz
I am getting a signal every time the magnet approaches the sensor. One
rotation yields six signals.
Cheers,
Michael
Abasz ***@***.***> schrieb am Do., 6. Okt. 2022, 13:16:
… They are probably using a latching hall sensor. This type of sensor
require to be "switched" back with an opposite pole magnet. Do you get 3
signals per rotation or 6? (I would assume that you get 3, similarily the
C2 getting 6 with 12 magnets)
—
Reply to this email directly, view it on GitHub
<#87 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXHKG2HMLFIHFZ6DR6BAO3WB2YHTANCNFSM6AAAAAAQ5MABC4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Tada! Jaap mentioned that the C2's magnets were hard to access so I had a closer look at mine. A little push and they came off. Just a tight fit, not glued to the holes in the disc. I turned three magnets upside down and the issue is gone. Lovely graphs, no outliers. The rower's console reports the same (slight pleasing to my fitness) data as before - it is not affected by the polarity switch. Thank you all! |
Beta Was this translation helpful? Give feedback.
-
Just a quick wrap-up of this issue: I got in touch with the manufacturer (First Degree Fitness). The order/sequence of magnets' polarity is not crucial to their console's inner working, so switching the magnets does not influence it. And they are using a reed switch while I used a Hall sensor - and I believe a reed switch does not suffer from being biased to the polarity and hence it gets correct data from every magnet. Michael |
Beta Was this translation helpful? Give feedback.
-
Michael, Are you willing to share the configfile and some raw stroke data, allowing us to make this a supported machine? Jaap |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
an interesting issue regarding sensors (rather than ORM):
I have a FDF Neon Pro V rower, which uses six magnets evenly spaced on a disc attached to the main shaft. ORM is running on a PI Zero 2 W, magnetic sensor is a KY-003 Hall sensor. Setup works fine, and has been used with this rower for some months.
When testing the backend_redesign branch I gathered raw csv data and created a graph.
The graph (one showing start of the row, one showing data mid-row) has regular outliers every three data points, alternating between slower and faster measurements.
So the pattern is
(... repeat ...)
It turned out that
If you move the sensor from the left to one of the south magnets it will react about 5mm before you reach the magnet.
If you move the sensor from the left to one of the north magnets it will react about 5mm after you have reached the magnet.
Same applies if the magnets are moved and the sensor is in a fixed position as is the case with our rowers.
This causes either a delay or a speed-up with the data reading every time that the polarity of magnets changes (which is every three magnets).
ORM still delivers sensible numbers even though they sometimes seem to jump unexpectedly (such as a 2:14 pace suddenly turns into a 2:10 at the end of a stroke before going back to 2:14).
Keep up the great work on ORM!
kind regards,
Michael
Beta Was this translation helpful? Give feedback.
All reactions