Back to Parent

Process

Outline your approach to the project? What ideas did you generate and how did you refine or reject them? What did you research and explore? what were the design choices? What challenges were encountered and how did you resolve them?


I knew I needed a sensor that could mimic a compass for my object. I set out to find one and was recommended the BNO055, which does a lot more than that, it has a  " MEMS accelerometer, magnetometer and gyroscope". This enables the sensor to not only give readings of the xyz coordinates relative to the space, but also using the magnetometer enable it to give readings of the direction of the senor relative to Earth, i.e. a compass!

Initially, I had a hard time getting the sensor's output to work on the Particle Console. To resolve the issue, I create a dummy variable to see if the issue was with the code or with the LED light (output). This helped myself and Robbert to figure out where the issue was, and debug it. 

After figuring out the sensor, I needed to showcase the putput of when the sensor was in the right direction (Qibla). I decided to use both an LED and a vibration motor to do that. This was done so that people that were also visually impaired could use this device as it would vibrate when they are in the direction of Qibla. 

In order to figure out where the Qibla was, I used my phone's Qibla app to figure that out with the sensor right behind it. This enabled me to get the sensor's x variable reading for where the Qibla is exactly. Then, I configured the code to turn on the LED and vibration motor when the x variable is at the Qibla reading (+- 10 degrees). 


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0