Category Archives: GSoC Daily Update
Wednesday, 18th June 2014
Today I have started giving finishing touch to the following experiments.
1. Frequency of Oscillations of Spiral Spring
2. Uniformly accelerated motion on an inclined plane
3. Conservation of momentum.
For all these experiments I am using a photo-gate (Light-sensor) and motion detector (Ultrasonic Sensor). The code written for ultrasonic sensor is giving all the required result. Facing difficulties in accessing two photogates…. working on this issue since last week …..
………once this problem is solved we will get wonderful results from these experiments.
Tuesday, 17th June 2014
Today I continued to work with Documentation. Received additional Ultrasonic sensors SRF 05 today by courier. Did the testing work for all ten pieces of srf modules. They all are working good.
Now I can apply all trial and error methods to explore…… 🙂
Wrote three programs for time measurement using photo-gates and explored the use of time measurement functions like r2rtime r2f time and multir2rtime and updated changes to Git repo.
Facing some difficulties in an experiment while using two photo-gates simultaneously for time measurements. One gate can be connected to SEN input of ExpEYES. Tried the other gate with IN1 and IN2 …it did not work. Need to study functioning of this gate and inputs IN1 and IN2.
Last time when I did this experiment, apparently it worked, I did use the old photo-gate(the design of the old photogate is different than the new one). We must find a way to use the new photo gate as its design is simple ( no extra transistor), with terminal other than SEN. I am studying this programmers manual and user manual to explore the possibilities…..
There are some
Monday, 16th June 2014
Today started creating documents for experimental setups and procedures. This week I have set a target for myself that I must complete documentation work for at least five mechanics experiments and a few sound experiments. I have already prepared draft copies …
Edited programs for using SRF 05 sensor. Did the experiments on linear air track to obtain position -time plots.
Graph for body moving towards the sensor with constant velocity.

Graph for body moving away from the sensor with constant velocity.
A body bouncing off from a point near the sensor…
We should now try for avoiding irregular peaks in the readings.
Sunday, 15 June 2014
Coding …. coding and Coding…
Since yesterday I am working on Plotting Graphs.
Here are some screen shots of my trials
Data ( time and position) obtained from Ultrasonic sensor is stored in a file srf.dat and then plotted. I just moved a piece of paper to and fro, in-front of the sensor. Plot is reasonably good.
In another trial fetched data from the file and plotted….matplotlib is amazing … 🙂
Need to debug the errors…..to get subplots…
Also tried plotting Lissajous figures…..this code will be useful for my sound experiments…….beautiful yet simple….its python… 🙂
Coming week I will be focusing giving finishing touch to the experiments….
here is my git activity for today https://github.com/wavicles/Plugins-for-ExpEYES/commits/master
Saturday, 14 June 2014
My experimental setup for few mechanics experiments is ready and I am getting good results in terms of motion graphs.
Today studied and tried plotting 2D graphs using ‘matplotlib’ library. Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of formats and interactive environments across platforms. I found it to be a very powerful tool for teaching and learning physics. Here are some screen shots……
A simple Position -time graph
Here is an example showing relation between Uniform circular motion and Simple Harmonic Motion. Projection of UCM is SHM
Plotting subplots
Here is the link for these programs on my Github repository
Friday, 13th June 2014
This is a schematic diagram for the acceleration experiment I am working on.
Acceleration measured in this experiment is the sine component of ‘g’.
So now we can do this experiment by two methods.
- By using motion sensor …. the data is recorded with uniform time intervals.
- By using Photo-gates …… the time intervals are not uniform. time taken for traveling different distances can be measured and data can be used to calculate acceleration.
Thursday, 12th June 2014
Today tried to measure acceleration due to gravity using motion of glider on an inclined plane.
Used the pickup i designed yesterday and photo-gate to measure acceleration. The results are very good and are in close agreement with theoretical calculations.
For motion on an incline acceleration along the inclined plane is g’ = g sin(theta) where (theta) is the angle on inclination. wrote a small python code using time measurement functions of ExpEYES library.
Used this code for measuring time…
import expeyes.eyesj
p= expeyes.eyesj.open()
a = p.multi_r2rtime(3)Â # time for 1 cycle
b = p.multi_r2rtime(3,2) #time for 4 cycles, 2 rising edges are skipped
print a
print b
Wednesday, 11th June 2014
Had my exam today in the morning. I could do reasonably well……lets hope for good result.
After coming back from college at 5.00PM , started working on my project…..I am really enjoying time with GSoC. Thought of using some different method to determine acceleration due to gravity.
Used the same set up of linear track in inclined position at about 45 degrees. Allowed vehicle to glide downwards and plotted position-time graph. Got straight line with positive slope as expected. Then used photo-gate with expeyes kit and could make time measurements.
This can generate a square wave as it passes through photogate. Acceleration can be determined using the signal generated. Excited to see its working.
But now I have a problem ….how to measure the acceleration from the wave pulse generated. I think I should find time between rising and falling edge the wave-pulse. Will work on this tomorrow ……..Feeling Sleepy now…. 🙂
This is the photo-gate I have used ….(photo from www.expeyes.in)
Need to modify this as it is difficult to mount above linear track. will be going for design similar to photogate which I used with old version of ” Phoenix” box……..
Its here…
………………………..
Any idea for easy measurement of acceleration using the pickup shown above?
Some proprietary closed source devices use this method……….( of course they come at a very high cost price)
Please share any modification in the pickup oar any idea for accurate measurement of acceleration using photo-gates….
This will result in a very low cost setup………thanks to FOSS…… 🙂
I love being a FOSSASIAN….. 🙂 🙂 🙂
Tuesday, 10th June 2014
Could not work on the project today, had to study for my exam. Tomorrow appearing for exam of B.Ed. Course through IGNOU.
Will be back tomorrow evening for happy coding………
Cheers….









