A Glimpse of what's about to come...

1 comments

These are just some of the initial images ;) ...

















Project going fast ahead!!

0 comments

Today...
For the first time we saw values change in the monitor with us changing a knob in our hands!!! (instantaneously)
We plotted the graph of the actual and observed readings.. IT WAS BEAUTIFUL!!! Here is the attached pdf file for download.

We made a prog for querying C with MySQL and integrated it with PARAPIN.

Mr. Pandit told us to ponder more on the diode circuit problem he gave us.

Then..
I decided..
The following approaches are available for giving the data to the JAVA-APPLET:
  1. To digitally sign the java applet to allow it make connections to other hosts.
  2. To use the tomcat server to make the MySql queries for the applet and ask the applet to connect to tomcat server on port no 80. (The applet is allowed to make connection only to port it was called from.)
  3. The 3rd approach.. (My original approach :)
    To use AJAX to update the data on the client!!
    The APPLET tag on the webpage has a parameter named PARAM.
    My theory is -
    • As the PARAM tag is on the html webpage.. JavaScript will have full access to it.
    • JavaScript has full access to make network connections.
    • The JavaScript can make AJAX requests to the web server and update the PARAM tag.
    • I will make the JavaScript call for a PHP page which will in turn query the MySql Data.
Sahil


Tomcat Started!

0 comments

Today we successfully interfaced parallel port buffer through C.

We started the day late as usual.Vidyadhar Kamble, who was to give us lab equipments had gone on leave and was supposed to return on the next Monday. Then the lab was in hands of Vinod who was quite (damn) unhelpful and refused(!!!) to give us equipments till Vidyadhar returned. So, we went back to our lab and asked Mr. Pandit for help. He pulled out a couple of boxes and arranged for resistors, capacitors, LED's and gave us a CRO, signal generator and power supply. The fat guy (IIT final year placed in INTEL doing his final year proj.) had taken all of our earlier equipment and wasn't even working on it.
We then went to Prof. M. B. Patil and got three ADC's from WEL. The WEL lab in charge was Mr. Joshi who was most helpful and gave us a book to photocopy about interfacing the ADC804's and the much needed single strand wires. We soldered PP connector to single strand wires and connected it to the buffer IC. We tested the ckt and it worked like magic. Our only point of concern was the 40mA current taken by the buffer which increased sometimes on connecting to the computer.

Moreover we also made a Tomcat 5 server servlet query a MySQL database.


Trip to Pune..

0 comments

Today is Sunday.
We decided on Friday that we'll be going to Pune.. We reached Pune at 11 P.M. by bus..

On Saturday..
We brought all our clothes to Pune to use Isli's washing machine to wash our clothes. Turned out his washing machine hadn't been used for 3 months :P . We spent an hour cleaning his washing machine. When Sahil washed his clothes in the washing machine.. and returned after 15 min, the water had turned darker than slum water.(Yuk!). Put his clothes in one more round. Same with Sumit.
Then we went to Deccan road. Had a Pizza for lunch. Sahil purchased 'Men are from Mars, Women are from Venus'. Had some fun at McDonald's.
We came back home, had ice-cream, had chinese for dinner along with Austin Powers I (awesome night!!).

Today..
Caught bus at Kothrud. Sahil had to stand half of the way coz no seats were left. Reached hostel around 2 P.M. had samosas AND went to the department. Was a rough day. Had nice food in canteen.


Aamchi Mumbai - Kelon ka din

0 comments

Today we were beaten up and looted. Well actually we broke the law. The day started with Sahil getting up late. Ladki finally aa gayi. We deposited our login forms. We then took our notebook and set off for Lamington Road to shop for an ADC with a list of 15 prospect ADC's. Sahil wanted to recharge his mobile. Five buses left for Andheri in front of us. We then waited for an hour till we got a bus. We went to Andheri station and purchased two return tickects for Grant Road.

As Sahil and Sumit wanted to book tickets for going home, we decided to book them in Dadar. After roaming a lot on the station, we finally located the place where we wanted to book the tickets. Unfortunately, there was a outstation platform between us and the booth and we were caught by the rascal waiting to catch unawares like us. We were taken to the office where we saw two hooligans getting scores. After bargaining and a lot of gidgidana, we managed to get the fine down from Rs 1254 per person to Rs. 100 per person. We were then sick of Dadar and decided to book the tickets in Churchgate.

So we set off for Lamington Road. We searched a lot for Vega and Visha electronic shops and found them in an hour. Only Vega had one of our 15 ADC's and that was costing Rs.850. We also learned that the market had fallen 826 points. We then had food at King's. We roamed a lot on foot searching for an internet cafe, but after another hour of fruitless search, we found that the nearest internet cafe was in Chowpatty. We were frustrated and decided to leave for Churchgate.

We booked new return tickets for Churchgate. We went in a comparitively empty train and went to the reservation center where there was a long queue but fortunately, was air-conditioned. We then wanted to make the trip some use, so we decided to see the Gateway. It was fun and we saw a lot of couples there. We also returned by foot and had atleast a four km walk.

As we returned by a fast train, there was tremendous rush at Andheri and Nitin got his lip swollen. We had had enough of the day and went to Powai in an air-conditioned bus. There were two wonderful girls in the bus. We had dinner in the restaurant in the campus and returned back to the hostel.

We had set out to explore Mumbai but Mumbai ended up exploring us.


0 comments

Today we got up at 9 in the morning and hurried without breakfast for fear that we were late. The lab was closed. We successfully installed FC5 on the computer by using the CD-ROM of another computer.

We also installed the MySQL libraries for C and Java and tested the code of the laptop on the PC. It was working fine.

We came to know that we were allowed 24-hours access to the department lab with AC. It had Windows and Linux. For surfing the internet, we have to ask for permission from Prof T. S. Rathore.

Ladki kal bhagi thi aaj bhi nahi aayi.

We got a hostel room H4-332 which was very dirty and without a tubelight. We asked for one more room.


0 comments

Today we went to the lab and started work properly. We surfed the internet for two hours in the afternoon and searched for an appropriate ADC for our project, though we didn't come to any satisfactory conclusion. We also collected the ID cards in the evening.

The day was cool but we didn't do any work. We were sleepy in the afternoon. ladki bhaag gayi. We discussed about a diode resistor circuit solver in C in the evening. We upgraded the computer's RAM to 256MB.


0 comments

Today we successfully made JAVA query MySql!!!

At last... Solanki Ma'am (the office person in the academic section) finally came back from her holiday (which delayed us by 10 days). We got the project form signed from the Dean which opened many doors for us ->
  1. We were able to pay the project fees (Rs. 2000/- each).
  2. The fees reciept enabled us to step inside the department lab.
  3. We applied for hostel accomodation and identity card.
We went to the department and met our project supervisor Mr. Uday Pandit after one whole week. We recieved our computer in the department today although we wont be allowed to work on it (i.e. install FC5 on it (rape it)) until some kind of permission is obtained from some computer supervisor. We also recieved our equipment today.

From tomorrow we have to report at the department at 10 am(!!) everyday(!!!!) and brief the professor about our progress(??) before leaving.

After coming back we watched Gangster (in a Body's room coz our friend's had locked the doors behind us). Before leaving in the afternoon I was at the brink of making Java work with MySql... I had the code... I had installed the package.. the code complied.. everything was perfect! BUT.. the code refused to work. Now at 2:30 am at night I realised I was trying to execute the wrong executable all along! Everything was perfect and the correct executable worked. I was just trying to execute the wrong one.

Tomorrow we would be recieving our hostel accomodition. We will apply for sharda accounts (Sharda is the name of the mail server of the electrical department at IITB).

Finally... the project starts..

Sahil


0 comments

Today we interfaced C with MySQL successfully (even though we got up at 12 in the afternoon). We haven't been able to contact Prof. T. S. Rathore and Mrs. Solanki was absent the whole week, due to which we are working in two teams, Sahil in H13 on Rohan's comp and Sumit and me in H4 on my laptop. I had put the mysql.h file in /usr/include which was not the proper way of doing it, so Sahil downloaded the rpm from the internet and it worked like magic!

Sahil is reading Java (it's quite vast), I'm Orkutting and Blogging and Sumit is sleeping. We have read the Parapin tutorial and understood quite a lot of it. We'll test it as soon as we lay our hands on the department comp (my laptop doesn't have a parallel port). Sahil is reading about interfacing, packaging and threading. He says we have to read the whole of Java for implementing the plotting applet.

Softwares:
  • Fedore Core 5
  • phpMyAdmin 2.8
  • MySQL 5.0.18
  • libgcj-4.1.0
  • gcc 4.1.0
  • Parapin 1.0.0
  • Firefox 1.5.0.1
We are using only Open Source softwares for the development of our project.

Have done:
  1. Understood Parapin programming in C through the Parapin library.
  2. Interfaced C and MySQL.

To Do:
  1. To build the ADC and buffer circuit and clock it using Parapin.
  2. Test the C program real time using a variable dc input.
  3. Test the C program real time using a variable frequency ac input.
  4. Decrease the time delay in inserting data into the MySQL database.
  5. Understand Java applet programming.
  6. Interface Java with MySQL.
  7. Synchronize Java so that MySQL table is not flooded.
Nitin Isloorkar


0 comments

This is a blog for tracking the development of our PC Based Oscilloscope...
Creators :
Nitin Isloorkar
Sahil Ahuja
Sumit Mathur


About me

  • I'm Sahil Ahuja
  • From Trichy, Tamil Nadu, India
  • My profile

Last posts

Archives

Links


ATOM 0.3