View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#77
Originally Posted by PamNor View Post
Have you thought about using a NFC chip as an sliding switch. When sliding out the keyboard, the distance between the chip and the NFC receiver is to big to detect the NFC chip.
Well, even a modified passive NFC tag might do.
You could place a relay in it's antenna circuit, so that the circuit would be closed on only when the keyboard is open.

Or possibly even a simpler solution - place a passive NFC tag on the sliding OH part in such a way, that in one position it would be found by the on-device NFC antenna and in another not.

Still the question is - if it polling would be required or if there are is some low power NFC standby mode that might send interrupts once a NFC tag is found.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)