Skip to content

Commit

Permalink
Fixes: Errors in compass.md (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithasudhakar authored Sep 20, 2024
1 parent 4e8ffa6 commit 3137826
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tutorials/compass.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Compass

## What is a Compass?
A compass is an instrument used for navigation and orientation that shows direction relative to the geographic cardinal directions. Usually, a diagram called a compass rose shows the directions north, south, east, and west on the compass face as abbreviated initials.
A compass is an instrument used for navigation and orientation that shows direction relative to the geographic cardinal directions. Usually, a diagram called a compass rose shows the directions North, South, East, and West on the compass face, as abbreviated initials.
______________
## EXPERIMENT FOR PSLAB COMPASS

Expand All @@ -23,15 +23,15 @@ To determine the direction of a place using PSLab app.
</table>

* Select the compass option
* Once the compass opens start rotating the phone 360 degrees in order to calibrate the compass.
* Once the compass opens, start rotating the phone 360 degrees in order to calibrate the compass.
* Now, rotate your phone in any cardinal direction.

![A5ECC2EC-7D07-47C7-8A5C-764265A6B9DA](https://user-images.githubusercontent.com/34577844/71761229-9380b000-2eee-11ea-9382-95fb7081e596.jpeg)

### Observation

* On rotating the phone from one direction to another, the Compass will start rotating denoting the particular direction (N,S,E & W or Subcardinal directions).
* Alternatively , you may also select the axes parallel to the ground like **X axis , Y axis or Z axis**.
* On rotating the phone from one direction to another, the compass will start rotating denoting the particular direction (N,S,E & W or Subcardinal directions).
* Alternatively, you may also select the axes parallel to the ground like **X axis, Y axis or Z axis**.
* You may even record the interaction using the in-built record option present in the top right corner of the Compass.
* To view the recorded interactions, you just have to go to the **Logged Data** option present in the menu bar.

Expand All @@ -44,71 +44,71 @@ I hereby conclude that PSLab android app can be used to determine the direction
------------
## EXPERIMENT 2

a) I proposed an experiment to find how mobile compasses work without actually using magnets within the phone.
I proposed an experiment to find how mobile compasses work without actually using magnets within the phone.

b) Observations :
### Observations :
1) For the given experiment we need a coiled wire connected to a battery. In case of a battery turn the switch on so that current starts flowing through the circuit.
2) Now on placing the PSLab compass near the coiled wire we notice no deflection in the compass. But on taking a normal magnetic compass we do see deflection.
3) As we shift the normal magnetic compass around the coiled wire the compass deflects in a different manner. But this shows no effect on the PSLab compass.
4) Thus through this experiment it shows that flowing charges (current) do produce a magnetic field which do interact with the magnet inside a normal but that show no effect on the PSLab compass.
2) Now, on placing the PSLab compass near the coiled wire, we notice no deflection in the compass. But on taking a normal magnetic compass we do see deflection.
3) As we shift the normal magnetic compass around the coiled wire, the compass deflects in a different manner. But this shows no effect on the PSLab compass.
4) Thus, through this experiment it shows that flowing charges (current) produce a magnetic field which interact with the magnet inside a normal magnetic compass, but shows no effect on the PSLab compass.

c) Conclusion :
### Conclusion :

5) This thus shows that the PSLab compass does not use magnets but in turn uses GPS and other sensors (basically digital means) to provide direction in terms of North,South,East and West. It further analyses the GPS and Sensor readings and then using this information aligns the compass needles according to our phones alignment and general position.
6) This is also one of the better (and probably only way) ways to integrate a compass in a digital device as an actual compass may hinder with the phone other electrical components causing them to malfunction.
1) Thus, this shows that the PSLab compass does not use magnets but in turn uses GPS and other sensors (basically digital means) to provide direction in terms of North, South, East and West. It further analyses the GPS and sensor readings and then using this information, aligns the compass needles according to our phones alignment and general position.
2) This is also one of the better (and probably only way) ways to integrate a compass in a digital device, as an actual compass may hinder with the phone other electrical components causing them to malfunction.

d) Screenshots provided below :
### Screenshots provided below :

1)Without Current:
1) Without Current:

![FB64A9DE-7C8B-4A9C-B449-6F754BEE0198](https://user-images.githubusercontent.com/34577844/71761582-f32c8a80-2ef1-11ea-9ec5-b4c133fe7ec7.jpeg)

2)With Current:
2) With Current:

![33DB1E33-3207-4AAC-8FC3-060F742C5F9B](https://user-images.githubusercontent.com/34577844/71761703-4f8faa00-2ef2-11ea-9c48-68554aeeb68e.jpeg)
![7350E363-223C-489A-94FB-002F5109621E](https://user-images.githubusercontent.com/34577844/71761706-4f8faa00-2ef2-11ea-8f67-56b17e18e542.jpeg)

e) As you can see there is no deflection caused by the flow of charges in the circuit, i.e, the induced magnetic field does interact with the PSLab compass.
As you can see, there is no deflection caused by the flow of charges in the circuit, i.e, the induced magnetic field does not interact with the PSLab compass.

## Experiment 3
## EXPERIMENT 3

**Navigation with PSLab compass**

### Objective

To learn how to use a compass and a physical map _(although you can also use a photo of a map as a reference and rotate the map virtually)_ for navigating in an environment.

> Note : this experiment doesn't consider elements like [magnetic declination](https://en.wikipedia.org/wiki/Magnetic_declination) which are important for long-range navigation 😀 as even with 1-degree variance you move 100 ft away from your main direction in 1 mile
> Note : This experiment doesn't consider elements like [magnetic declination](https://en.wikipedia.org/wiki/Magnetic_declination) which are important for long-range navigation 😀 as even with 1-degree variance, you move 100 ft. away from your main direction in 1 mile.
#### We are going to go on a virtual journey of reaching from a camping point to another 🚌, so put your seatbelts on for no reason at all ;)



### Materials Required
- An Android phone with pslab application installed.
- An Android phone with PSLab application installed.
- A physical map
- You should know your initial location and destination on the map
- _And virtual legs to walk_ 😜

### Steps

- **Initial setup** : Point your initial position and destination and draw a line using a scale. Then open the map and put the phone vertically on it.
- **Initial setup** : Point your initial position and destination and draw a line using a scale. Then, open the map and put the phone vertically on it.
![inital setup](../images/navigationexp_1.jpg)
_(now it should look something like this with you facing no particular way)_
_(now it should look something like this, with you facing no particular way)_

- **Orientation** : Now orient your entire setup to face north in direction with the help of the compass. The **N** in the compass should face about the top of your screen and in the bottom, the angle should be near to **0 degree**.
- **Orientation** : Now, orient your entire setup to face north with the help of the compass. The **N** in the compass should face about the top of your screen and in the bottom, the angle should be near to **0 degree**.

![Orient North](../images/navigationexp_2.jpg)

- **Knowing the proceeding angle** : After making sure you are oriented correctly, tilt your phone to the line that you made.

![Tilting to the Line](../images/navigationexp_3.jpg)

In this example case, the angle formed in **270 degrees**. Note it down somewhere so that you don't have to open the map and check it again and again.
In this example case, the angle formed is **270 degrees**. Note it down somewhere, so that you don't have to open the map and check it repeatedly.

- **Gathering more information** : With a map and a compass its still easy to lose efficiency when navigating from one place to another. There are a few ways to improve this.
- **Gathering more information** : With a map and a compass, its still easy to lose efficiency when navigating from one place to another. There are a few ways to improve this.

- **Having a detailed map** : In this case, we used a simple plain map _(it's defenitly not a premade map_ 😉 _)_ , But in physical format, there are many detailed maps available.
- **Having a detailed map** : In this case, we use a simple plain map _(it's defenitly not a pre-made map_ 😉 _)_, but in physical format, there are many detailed maps available.

![DetailedMap](../images/map.jpg)

Expand Down

0 comments on commit 3137826

Please sign in to comment.