Example program for the HMC1501 magnetic 90° angle sensor connected to a HX711 high precision 24-bit programmable analog-to-digital converter (ADC) .

Dependencies:   HMC1501 HX711

Example program for the HMC1501 magnetic 90° angle sensor. The HMC1501 analog output is connected to a HX711 high precision 24-bit analog to digital converter module.

HMC1501

100


The Honeywell HMC1501 is a miniature surface mount sensor for linear, 90° angular, or rotary displacement designed for magnetic saturating field sensing. The HMC1501 contains a single saturated-mode Wheatstone bridge sense element that creates an output voltage with respect to the direction of the magnetic flux passing over the sensor surface. It's a cost effective and space-efficient solution for high volume OEM designs. Applications for the HMC1501 sensor include Position Sensing, Rotary speed and angle detection, and non-contact precision location measurement systems. The HMC1501 sensor utilize Honeywell’s Anisotropic Magneto-Resistive (AMR) technology that provides advantages over hall-effectbased magnetic sensors. It is able to resolve better than tenths of a degree or tenths of millimeters, withstand large variations in magnet-to-sensor gaps, and exhibit insensitivity to shocks and vibrations.

Wiring of a connection with an HX711 Analog-to-Digital converter module:

https://os.mbed.com/media/uploads/hudakz/hmc1501_demo_wiring.png

Used libraries:

Import libraryHMC1501

Library for the HMC1501 magnetic 90° angle sensor.

Import libraryHX711

Library for communication with the HX711 24-Bit Analog-to-Digital converter.

Committer:
hudakz
Date:
Sat Sep 19 20:22:45 2020 +0000
Revision:
1:668c95f5e6f9
Parent:
0:7eed1f44df4a
Example program for the HMC1501 magnetic angle sensor.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hudakz 0:7eed1f44df4a 1 # Contributing to Mbed OS
hudakz 0:7eed1f44df4a 2
hudakz 0:7eed1f44df4a 3 Mbed OS is an open-source, device software platform for the Internet of Things. Contributions are an important part of the platform, and our goal is to make it as simple as possible to become a contributor.
hudakz 0:7eed1f44df4a 4
hudakz 0:7eed1f44df4a 5 To encourage productive collaboration, as well as robust, consistent and maintainable code, we have a set of guidelines for [contributing to Mbed OS](https://os.mbed.com/docs/mbed-os/latest/contributing/index.html).