jssting / ArduinoTec-Pedals

Arduino Leonardo project to mod Fanatec CSP V1 Pedals to replace the fanatec controller board
GNU General Public License v3.0
16 stars 6 forks source link

My Experience with ACS732 HE Sensor #8

Closed john- closed 2 years ago

john- commented 2 years ago

I am using a breakout board based on the ACS732 hall effect sensor (SparkFun). It has a gain pot and a pot to set the voltage reference.

With minimum gain I could not locate the sensor over the magnet like the stock hall effect sensor. It is pretty far away but things generally work. I modified the breakout board to reduce the gain to approximately 1 (previously was 2). This got it closer to the magnet but still pretty far away.

Does this match anyone else's experience. Do other hall effect sensors allow for placement like the stock one?

jssting commented 2 years ago

Were you able to confirm operation with another magnet to unsure it was correctly detecting the position change of the magnet, if so , then I would try turning it 90degrees and trying to get to as close as possible to directly over the magnet, I used some cardboard to insulate and and bluetack to position the sensor and tested it that way, then drilled and threaded the hold in the side which aligned the sensor to the magnet


From: john- @.> Sent: Monday, 6 December 2021 1:22 AM To: jssting/ArduinoTec-Pedals @.> Cc: Subscribed @.***> Subject: [jssting/ArduinoTec-Pedals] My Experience with ACS732 HE Sensor (Issue #8)

I am using a breakout board based on the ACS732 hall effect sensor (SparkFunhttps://www.sparkfun.com/products/14544). It has a gain pot and a pot to set the voltage reference.

With minimum gain I could not locate the sensor over the magnet like the stock hall effect sensor. It is pretty far away but things generally work. I modified the breakout board to reduce the gain to approximately 1 (previously was 2). This got it closer to the magnet but still pretty far away.

Does this match anyone else's experience. Do other hall effect sensors allow for placement like the stock one?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/jssting/ArduinoTec-Pedals/issues/8, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANJZ43N6NT3AIXYQLIDW5NDUPN7UDANCNFSM5JM4QMYA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

john- commented 2 years ago

The sensor operates it just needs to be pretty far away. If close than it overloads. I like the idea of bluetack and trying different orientations.

Thanks,

John

jssting commented 2 years ago

Once you have determined the orientation, you could always 3d print a bracket to space it a proper distance away.. another person when an alternative route and relocated it to the bottom of the pedal with a bracket that would move the another magnet closer/ further similar to how the new Thrustmaster t-lcm pedals work

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: john- @.> Sent: Monday, December 6, 2021 8:10:08 AM To: jssting/ArduinoTec-Pedals @.> Cc: jssting @.>; Comment @.> Subject: Re: [jssting/ArduinoTec-Pedals] My Experience with ACS732 HE Sensor (Issue #8)

The sensor operates it just needs to be pretty far away. If close than it overloads. I like the idea of bluetack and trying different orientations.

Thanks,

John

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jssting/ArduinoTec-Pedals/issues/8#issuecomment-986309441, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANJZ43MK4DPTDDD5OB4VN2TUPPPMBANCNFSM5JM4QMYA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

john- commented 2 years ago

Moving another magnet like that is an idea I had not thought of! With existing setup it seemed odd to turn that much pedal travel into such a small movement of the magnet. Clearly it works but seems very fine tuned.

Thanks, John

john- commented 2 years ago

I hacked up a magnet and sensor like what you mentioned (magnet at bottom of pedal) and that seemed to give me much more control over things. Thanks again for the ideas and the software!