How to Measure Mass of the Earth Using Arduino.

by miniProjects in Circuits > Arduino

7837 Views, 53 Favorites, 0 Comments

How to Measure Mass of the Earth Using Arduino.

shottts.png

One fine day, I was weighing my self on a weighing scale. Suddenly a thought came to my mind, 'How much would be the mass of Earth?'. Leave that apart 'How can we even measure it?'. There is no such weighing scale on which, Earth can be placed. There has to be some indirect way to measure mass of the Earth. Here I present implementation of one such indirect method to measure mass of the Earth.

The Indirect Method

shot.png

In early nineteenth century scientists used Newton's second law and Newton's law of universal gravitation to measure mass of the Earth. These equations are F = ma and F=(GmM)/(r2) respectively(m=mass of the object, a=acceleration, G=Gravitational Constant, M=mass of the Earth, r=Radius of the earth). If we substitute g i.e. acceleration due to gravity for the 'a' acceleration term and combine these two equation we get.

mg = GmM/r2

This equation can be solved for M i.e mass of the earth.

M = (gr2)/G.

We will assume that we know the value of G and r. We will find g i.e. acceleration due to gravity using a small experiment, involving arduino and a few sensors. Finally we will put all things together to find the value of M.

If equations seems a bit awkward , look at the attached image.

Let's get started with the experiment.

Things We Will Need

1IMG_20160213_080838127-01.jpeg
2IMG_20160313_114813326.jpg
3IMG_20160313_115255761.jpg
4IMG_20160313_115215687.jpg
5images.jpg
6IMG_20160313_115752262.jpg
7trimpot.jpg
breadboard.jpeg
IMG_20160227_101357508.jpg
IMG_20160213_081230679-01.jpeg
IMG_20160313_115453471.jpg
z60W Iron.jpg
zBest-soldering-wire-3.jpg
IMG_20160215_111520741-01.jpeg
IMG_20160313_120345380.jpg

Here is the list of things we will need for experiment to measure acceleration due to gravity.

  • Any arduino board, preferably uno/duomilanove (no specific reason just that I have used this board for this experiment)
  • USB cable for connecting arduino to PC
  • 560 Ohm resistors (4 in quantity), 100 Ohm resistors (2 in quantity)
  • piezoelectric sensor (4 in quantity)
  • One pair of IR Tx (IR LED) and Rx(Photodiode)
  • One potentiometer
  • One opamp (like UA741C)
  • One breadoard
  • Three 1.2 meter long wires
  • small 5cmx5cm general purpose PCB for assembling IR circuitry
  • Tape
  • Cardboard sheet

In case of any doubt look at the attached Images.

Schematic 1: the IR Circuitary

IMG_20160313_115638180.jpg
Screenshot from 2016-03-13 17:41:17.png
8.Measure mass of the Earth using arduino

This circuit will be used to time-stamp the starting time of free fall for an object used to measure 'g'. Here are the important points about the fritzing schematic image.

  • IR LED is used in forward bias which acts as just normal LED in this application i.e. illuminating the IR receiver Photodiode.
  • Photodiode is used in reverse bias.
  • Output from the junction of cathode and resistor is connected to one of the input terminal of opamp.
  • Other input terminal of opamp is connected to potentiometer that determines the threshold voltage.
  • Output of opamp goes to the arduino board.

Look at the attached image in case of any doubt, or refer the video (time= 5m 16s) .

Schematic 2: the Piezoelectric Circuitary

Screenshot from 2016-03-13 17:40:50.png
IMG_20160313_115018740_HDR.jpg
8.Measure mass of the Earth using arduino

This circuit will be used to time-stamp the ending time of free fall for an object used to measure 'g'. Here are the important points about the fritzing schematic image.

  • 4 piezoelectric sensors are connected as shown in the schematic.
  • 4 560 Ohm resistor are connected in parallel with the piezoelectric sensors to reduce the voltage spike generated by piezoelectric sensor when free falling object hits it's surface.
  • Negative terminal of piezoelectric sensors is connected to circuit ground.
  • Positive terminal of piezoelectric sensor is connected to analog input pins.

In case of doubt refer to attached image or video (time = 9m 2 sec).

Putting Things Together

IMG_20160313_114614731.jpg

Follow these instructions to put things together.

  • Use card board to make roof like structure and stick it to the wall at around 1.1 meters.
  • Attach IR module facing downward to cardboard roof.
  • Connect output of opamp to pin no 4 of arduino using one of the 1.2m long wires.
  • Connect Vcc and GND from arduino to IR module using rest of the 1.2m long wires.
  • Make sure that things are firmly attached wires to the wall, IR module to the cardboard roof, piezoelectric module to the ground just below IR module.

In case of doubt, look at the attached image, it is properly marked for ease of understanding the assembly.

Procedure of the Experiment

56e561c267400c1865000508.jpeg
56e5629415be4d685a00043b.jpeg

With all things at place (except arduino code, discussed in step 8), lets go through the procedure of this experiment.

  • Stick a small thin projection on top of the object used for the free fall as shown in the image numbered as 1.
  • Before we leave our object to carry on free fall, hold it just at the 1 meter mark, such that projection on the top obstruct the light from IR to photo diode. As shown in the image numbered as 2.
  • leave the object without imparting any force to let it fall free on the piezoelectric landing zone.
  • As it falls down there is no obstruction in the path of IR TX and RX, giving us the signal about just left object in term of starting time of free fall.
  • As object touches the landing zone, piezoelectric sensors generate controlled voltage spike notifying the arrival of object in term of ending time of the free fall.
  • If we subtract ending time from the starting time we get time of flight that we will use to calculate the acceleration due to gravity as shown in next step.

Calculating 'g' From Time of Flight

X04fMSVDaFW5Y5DrP5PLCAC5.jpg
8.Measure mass of the Earth using arduino

Here again we will use Newton's equation that goes like -

Distance traveled = (initial velocity * time of travel) + (acceleration * (time of travel)2)/2

In our case these variables takes following values-

  • Distance traveled = 1 Meter
  • initial velocity = 0 m/s as we are starting from rest
  • acceleration = g

So equation reduces to

1 = (g * (time of travel)2)/2

So,

g = 2 / (time of travel)2

So after we do the experiment we will use this equation to calculate value of 'g' and find mass of the earth. In case of any doubt refer the attached image or video.

Arduino Code

8.Measure mass of the Earth using arduino

I am attaching the arduino code for this experiment. Code is really simple. In case of any doubt refer the video where I explain the code in detail (time in video = 13 minute 35 secs)

Lets Do the Experiment

8.Measure mass of the Earth using arduino

Following things should be taken care before doing this experiment.

  • Threshold of the piezoelectric sensor should be properly set in the arduino code.
  • Place piezoelectric panel just below the IR module.
  • Make sure you drop the object from 1 Meter with out imparting any external force.

Here I am doing this experiment at time stamp 17 minute in the attached video. We will calculate Mass of earth using results i.e. time of flight obtained from this experiment.

Results and Mass of the Earth

HM76yCF4dTBF5Fe6tCCaBe6D.jpg
8.Measure mass of the Earth using arduino

After repeating this experiment for 3 times I got following results in terms of Time of Flight.

  • 443 ms
  • 443 ms
  • 464 ms

Lets take average.

Average time of flight = 450 ms

If we substitute this value in equation to obtain acceleration due to gravity we get acceleration to be around 9.8755 m/s2. As seen in the attached image.

Finally substituting this value of 'g' to get mass of earth we get it to be around 6.0066 x 1024 Kg, as you can see in the attached image.

Actual mass of the Earth as per google is 5.972 x 1024 Kg. I think we got close.

Thank you for your time, In case of any doubt refer the video or put it in the comments I will be happy to help.