Magnetic fields are not visible, audible, and don't smell. How can you find it then? Thankfully, Troyka has a solution. Our triaxial magnetometer will help to locate and measure magnetic induction. This property is useful when searching for hidden wires in your wall, a sunken ship out at sea, or even iron ore deposits. Most importantly, however, the magnetometer/compass allows you to determine the angles between the X, Y, Z axes between the sensor's and Earth's magnetic field.
We made this module based on the LIS3MDL from STMicroelectronics.
The chip has a built-in temperature sensor. This will allow it to achieve accurate readings even under extreme conditions. Communication of the module with control electronics, such as an Arduino, occurs via I²C interface. This means that you'll every only need two contacts to connect.
We have also added a voltage regulator and a special I²C buffer on the module. Therefore, you can safely use it a voltage anywhere in the range from 3.3 to 5 V.
Connection of this module differs from the standard, it has two three-pin connectors. One connector is used to supply the voltage, the other to connect to the I²C bus.
Connect the module via 3-pin jumper cable. The 3-pin jumper cables needed for the connection are included in the kit.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.