Tuesday, March 31, 2009

Steve Jobs at IITK !!



While I was busy working in my corner at TMRS lab at 11.30 pm yesterday, Shantanu enters the room and asks me for Nikhil Padhye's phone number.... why?
"He needs to welcome Mr.Steve who is coming tomorrow at 11 am".
"Who.. Steve Buckner ?? " said I.
"Nahi yaar ... I am forgetting his name...Steve...mmmm"
"Steve Jobs to nahi??", giggled we.
"Haan Steve Jobs".
"STEVE JOBS???? are you sure you are awake and its him?"
"Haan bhai Steve Jobs"
"Steve Jobs ...Apple wala?"
"Nahi nahi... IITK ka first mechanical deptt HOD"
Ahh... we took a deep sigh of relief while our heart beat count was already 5 count up.
Then he recalled its not Steve Jobs but Vijay Kumar Stokes who was coming to IITK and was visiting our lab.
Next morning we met the 70 year old young man who still had the spark of IITK alive in him. While Shantanu demonstrated him his classic nanosatellite ppt, we had some great conversations with him. First thing he stated was that he needed the most intelligent person in the lab to remind him at 1 o'clock to meet the director. No sooner had Shantanu started than he interrupted him, asking why is it called nanosatellite. He explained to him the standards for nomenclature and that the name has nothing to do witjh nanotechnology. This was followed by a small dicussion on the use of word nano and micro today. This time Amrit Sagar said like we have Tata NANO, we have a nanosatellite. "No, its not the same. Nano is the name of the car and not the category. You can name yourself Micro Srivastava but you can not categorise yourself as micro organism".
Very soon he was bored with the lengthy and irrelevant presentation and guided Shantanu on making the presentation precise as per the audience. He even went on to mark him fail on the poor quality of indentation and text justification. He said that one should first build the story that is to be narrated then add the relevant content into the presentation. If someone asks you the way to railway station, one should not go on telling him how to catch auto and where to get down and how to pay the driver. Too much of irrelevant details may make the audience miss the flow of talk.
In the middle he pointed out asking if the spelling of "Ahamadabad" was correct. "You are in IITK right, so at least use the spell check. I can easily make out there is something wrong from the two different sizes of Ahmedabad on the slide. While I was coming I saw three different speelings of students' gymkhana at the same place : Student Gymkhana, Student's Gymkhana and Students' Gymkhana." The next thing he pointed was the fancy style of bulleting and inappropriate eye catchy font which changed from 1 slide to other. He emphasized on quality control of things. He gave an example of marathon athlete; he is most tired at the end of the race but that is the time when he should cross the line with full enthusiasm. Quality should be maintained till the end before the result because it is then when it is going to be exposed to public. If everything was good but quality goes bad at the end due to tiredness all the efforts go in vain. So one should get refreshed just before the end for the show. He asked the team to do extensive testing of the components before launching the satellite.
Shubham feeling sleepy, popped up suddenly, "Sir its 1 o'clock."
"No its not, check your watch".
"Sir, I checked Shantanu's watch."
Amrit said it was 12:58 pm by his watch but it was 6 minutes fast. "How will you make satellite when can not keep your watches up to date". Amrit said, "Sir, but I know the right time now".
He remembered faces of people who met him last time. He remembered Nikhil but faintly. Nikhil promptly said, "The only difference is that I have grown older and you have grown younger". In the mean time Vyas Sir had arrived and we had a small photography session with him.

Thursday, March 26, 2009

AVR fuse programmer for MAC

Flashing MCUs or programming fuses in MAC doesn't have much GUI support except for the java based Burn-o-mat. Someone has really taken pain this time to make an open source cocoa based app for burning the AVR (old .NET based version also available). The good part is that he has tried to make the GUI exactly similar to the AVR studio fuse programmer. The software can be downloaded from:
http://www.vonnieda.org/software/avrfuses

During the setup it will ask for the path to avrdude. If you are using AVRMacPack, avrdude is a hidden file with path similar to :
/usr/local/AVRMacPack-20080721/bin/avrdude

Note: Please confirm the location before specifying the path. e.g. you can do so by right clicking the AVRMacPack manual in application folder and clicking show original.

If you are using prolific based USB to serial converter don't forget to install the driver. Interestingly, an open source driver is available for the same which performs better than the one provided by prolific. Its available at :
http://sourceforge.net/projects/osx-pl2303/

Below are some of the screen shots:



Tuesday, March 3, 2009

Writing to NTFS from Mac

One major problem which most of us face while switching between windows and any other operating system is the incompatibility of file systems. While I had read access to the NTFS drive from my Mac, I did not have write access. The problem became more prominent after I recently bought an external hard drive for porting data between my mac and my other windows computers.
One solution was to keep all my disks in FAT format which is the universal format for read/write for all OS. The only drawback being that it can not handle files greater than 4 GB. Someone suggested to me to use a software called MAC drive on my windows machine. This software allows windows machine to access HFS+ partitions seamlessly. It was a good alternative just that there are more windows machine than MACs so one needs to install them on every machine being used.
Today while browsing through heap of topics on Wikipedia, I came across an open source project called NTFS 3G which installs a user space driver on MAC for reading/writing to NTFS partitions. You can actually format a NTFS partition using this. Even the disk utility shows an integrated option of NTFS format after installing this.

http://www.ntfs-3g.org/



Not only MAC, it is available for other operating systems like Linux also. It actually rids one of lot of hassles. Do not forget to install MAC Fuse library package to make it functional.

Wednesday, February 11, 2009

Atmega Webserver part II

My mid-semester exams got over on the 4th Feb. Miraculously these were one of the best midsems of my stay at IITK. It somehow filled me with new zeal of doing things and I started out on a mission for which I have been planning for long. Got a blog registered in the name of AVR India - a platform to bring AVR developers in India under one roof. As of now I have started posting AVR tutorials for the beginners. After 3-4 days of continuous work and hopping between various domains and servers, I have already written 4 tutorials at :avrindia.blogspot.com . Just waiting for google site project to take some good form so that I can formally shift there.
Then I got back to my old project "the Atmega webserver" which had been lying deserted for a month. I finally learnt HTML for completing it and displaying real time data on it.



I even connected a temperature sensor(LM75) to the atmega this time which is read using the in built ADC of atmega and the temperature displayed on the page. In addition I gave a button on the page which shows the status of LED connected to the atmega. The LED can be turned on/off by pressing the button on the page. So now I can control my room lights and fans and any damn appliance remotely (yes, from anywhere in the campus :) ) . But this wasn't giving the temperature in realtime. It was a static page so had to just put in a small line to refresh the page every 20 secs. This created another problem. The page was reloading from the cache so not giving the correct readings so had to auto redirect the page to itself every 20 secs. The page looks in good shape except that it doesn't seem to work at some places in the campus so I am still trying to figure out the reason. I added the gratitious ARP broadcast to be done when the server starts but doesn't seem to work much.

Friday, January 16, 2009

The IMU_Bluetooth_Phone



The picture shows the final form of the IMU. Finally it was able to display the data received from the IMU on a cellphone screen. The best part being that its the cheapest display with built in bluetooth receiver and java programming platform. The standalone bluetooth module cost around 3600 rupees while the phone just costs 3000 rupees. A four member team from RDSO (including their R & D director ) visited the lab yesterday. I reached the lab at 12 pm exactly 5 minutes before the beginning of the presentation. They were pretty glad to see it. They apparently want it to be used in their railway track inspection vehicle. The existing methodology involves "a few engineers who keep gossiping on the inspection vehicle and as soon as they regiter any jerk they stop to check for crack or defects in the track" Using our device the system can be automated. They rather want a GPS module to be combined with the system and the location of the defect be transmitted directly to their control station.
Regarding the detailed discussion they have invited us to RDSO - hoping for some good deals to improve our country. :) In the evening we packaged the kit in a RP made box of the size of matchbox. The IITK logo on the box looked elegant. We gave it to Sir who took it yesterday night itself for demonstration in some aerospace conference in Bangalore.