smartknob icon indicating copy to clipboard operation
smartknob copied to clipboard

[improvement] Use hall sensor to sense press

Open gammeflamme opened this issue 2 years ago • 3 comments

This may be a stupid assumtion but would it be possible mount the hall sensor separatly to the motor and then when the pcb deflects from being pressed the hall sensor detects the increase in magnetic flux and triggers the klick function. Like the MT6701 datasheet discribes as "push button".

gammeflamme avatar Apr 09 '22 20:04 gammeflamme

Yeah, I saw that but wasn't able to get the push functionality on the MT6701 working when I tested with a handheld magnet. I'm not sure why.

On Sat, Apr 9, 2022, 1:49 PM gammeflamme @.***> wrote:

This may be a stupid assumtion but would it be possible mount the hall sensor separatly to the motor and then when the pcb deflects from being pressed the hall sensor detects the increase in magnetic flux and triggers the klick function. Like the MT6701 datasheet discribes as "push button".

— Reply to this email directly, view it on GitHub https://github.com/scottbez1/smartknob/issues/60, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADFJKUZHYCKV6JUO5NHITLVEHUMBANCNFSM5S7ZF6PQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

scottbez1 avatar Apr 09 '22 20:04 scottbez1

Great work Scott! Working on a thermostat similar with Nest myself and I think that MT6701 could provide more accurate rotation data compared with TMAG5111; and probably the magnet could be cheaper than NMT-10-STIC magnetic tape from supermagnete.de. Thank you.

Regarding the push button functionality, there are 3 registers mentioned in the data sheet: PUSH_THRD, PUSH_DIFF_DLY and PUSH_TIME_OUT but was not able to find their addresses and bit masks. Do you have more details about the MT6701 registers mapping? Many thanks!

dorucazan avatar May 05 '22 15:05 dorucazan

Just received an answer from MagnTek but it is not exactly the answer I was hoping for :confused:

mt6701

dorucazan avatar May 06 '22 10:05 dorucazan