Added support for hall effect sensor