Product Details
The MIKROE Compass 4 Click is a super - compact add - on board. It's a great tool for measuring three - axis magnetic fields, making it ideal for electric compasses and other related applications. This board comes with the AK09915, a complete 3 - axis magnetic sensor with signal processing from AKM. You can use either the I2C or SPI protocol to get the magnetic field measurement data. The sensor can measure magnetic fields in the full - scale range of ±4912 μT, with a sensitivity of 0.15 µT per LSB and a 16 - bit resolution. It also has a built - in Noise Suppression Filter (NSF), ensuring high accuracy for electronic compass use. This Click board is perfect for electrical compasses, position sensing, and general magnetic field measurement. The AK09915 integrates an analog circuit, digital logic, and an interface block on a single chip. It supports nine different operation modes, selectable by setting the right registers. When in Single Measurement Mode, the magnetic sensor starts measuring. After measurement and signal processing, the data is stored in measurement data registers, and the device automatically goes to Power - Down Mode. The Data Ready (DRDY) bit changes state accordingly. The Data Ready output pin (DRY) is routed to the INT pin of the mikroBUS™ socket. There's also a Reset pin (RST) routed to the right position on the mikroBUS™. The Compass 4 Click offers both I2C and SPI interfaces, with a max frequency of 2.5MHz for I2C and 4MHz for SPI. You can select the interface by positioning the SMD jumpers labeled as COMM SEL. All jumpers must be on the same side. When using the I2C interface, you can choose the last two significant bits of the I2C peripheral address using the SMD jumper labeled as ADDR SEL, allowing you to set four different addresses. This Click Board operates only at a 3.3V logic level. If you're using it with MCUs of different logic levels, perform proper voltage level conversion first. Features include I2C and SPI interfaces, mikroBUS™ compatibility, dimensions of 28.6 x 25.4mm, an input voltage of 3.3V, supply voltage ranging from - 0.3V to 3.6V, a sensitivity of 0.15 µT/LSB, a full - scale measurement range of ±4912 μT, 16 - bit resolution, and an operating temperature range from - 30°C to +85°C. Available documents are the schematic, AK09915 Datasheet, mikroSDK, and GitHub resources.
Using the MIKROE Compass 4 Click is easy. First, connect it to your device via the mikroBUS™ socket. To choose between the I2C and SPI interfaces, position the SMD jumpers labeled as COMM SEL to the appropriate side. Make sure all jumpers are on the same side, or the board might not work. If you're using the I2C interface, you can set different addresses using the ADDR SEL jumpers. When you set the Single Measurement Mode, the magnetic sensor will start measuring the magnetic field. After the measurement is done, the data will be stored in the measurement data registers, and the device will go to Power - Down Mode. You can check the Data Ready status through the INT pin on the mikroBUS™. Remember, this board operates at a 3.3V logic level. If your MCU has a different logic level, you need to convert the voltage properly before using the board. As for maintenance, keep the board in a dry and clean environment. Avoid exposing it to extreme temperatures outside the - 30°C to +85°C range. If you have any questions, refer to the schematic, AK09915 Datasheet, mikroSDK, or GitHub resources for more information.