is it possible to make working compass using nano 33 ble rev2 board?
if you can give me some insights that would be wonderful...
thank you. ![]()
Guess what, it is possible. I found a bunch of examples in about 10seconds with Duckduckgo. You can do the same and see if one of them meets your requirements.
kind of all the project using Nano 33 BLE Sense i have Nano 33 BLE rev2
![]()
Since I do not have the parts I did a quick check and found this: "The main difference between the Arduino Nano 33 BLE Sense and the Nano 33 BLE Rev2 is that the Sense includes additional built-in sensors, while the Rev2 has updated components and may have different performance characteristics. Both boards share the same microcontroller capabilities, making them suitable for similar applications, but the Sense is often preferred for projects requiring its specific sensors." You will either have to get a different board or some sensors.
The BLE Sense rev1 uses a 9 axis IMU (LSM9DS1) while the Rev 2 uses a 6 axis IMU (BMI270) and a separated magnetometer (BMM150).
If you want to follow what has already been done around, you'll need to get the Rev1 or a board that has the same sensor (as @gilshultz said).
The other option is to study the algorithm of the succesful Rev1 examples and try to adapt it to the data provided by the new Rev2 sensors. Definitely not an easy task...
Hi @ktauchathuranga. A starting place for your project could be just getting readings from the board's magnetometer. There is a tutorial you can follow to do that here:
https://docs.arduino.cc/tutorials/nano-33-ble-rev2/imu-magnetometer/
Even though a complete compass project would likely be much more involved than those simple raw readings, this type of code can still be useful even during the work on a complete project as a troubleshooting tool, to ensure you are getting the expected data from the magnetometer.
thank youuu... ![]()
yeah... i already tried that one, i may dig deeper in to this when i get free time, thank you for the reply ![]()