Monday, October 5, 2009

Thinking Nothing

Finally, I have got out of my place and breaking the sad daily schedule of college-home-college after a long time. And probably this would be my first experience of writing a blog on a train.

Sadly, Rupi and Rohil have sat on a separate two seater and are chatting there ass off like a happily married couple, and I have got bored after listening to radio, playing games on my cell phone and probably looking out of the window too.And also I am sitting with this fat guy who is busy looking out, sleeping and talking on his phone.


So, finally I thought why not lets write a blogpost, and here I am back to torcher people with my thoughts. Well coming to thoughts, I have been lately thinking that how can one "think nothing". Well first of all according to me thinking nothing means, to reach a state of mind in which there are no computations going on. Probably this is very difficult stage to reach for any brain.

The first time I practiced thinking nothing ,I ended up thinking a lot about how to think nothing, which led me to think about a lot of things. So, effectively in a quest to think nothing, which could have been considered partially successful if I would have decreased the number of computations going on in my brain, I ended up increasing the number of computations in my brain. So, this can be considered as a total disaster.

The learning which I learnt from the above exercise was that one can never think nothing, by thinking that he will think nothing. So, the immediate consequence which comes to the mind is that probably one can think nothing, if he forgets about thinking nothing and lives his normal life and wait for such a moment to come when he is thinking nothing. But sadly there is a bug with this scheme too. Firstly, this state of thinking nothing is too unlikely to happen. Secondly, even if we suppose that this scenario occurs and your mind goes into a state in which it is thinking nothing, there would be no way in which it can register an event somewhere so that it can recall that at some time it was thinking nothing. Neither you would be able to know that you are thinking nothing because to come to know about this state of your mind you would be required to think, but you are thinking nothing. Thirdly, one also can't take help from a friend to record the instance when you would be thinking nothing, as he can never know that whether you are thinking something or not.

So probably this bring us to a point where we can safely assume that you can never "think nothing".

Any comments about your theories and experiments of thinking nothing are most welcome.

Friday, March 27, 2009

MicroMouse Part-I


Recently, I have been working on another project which is related to electronics and hardware, in which I always had my interest but never got enough opportunities to work full fledged on any of these things. But now, I got one and thought it would be a nice thing to share.

Well first of all, it's not the micromouse which one is supposed to build for a technical fest competition. This is for real, yeah it can solve a maze on its own, and we havnt used the components of any car (\o/).

Okay, lets start with the basic architecture of the machine. Well there were two approaches to it, Firstly, we could have the logic device mounted on the machine ,i.e. Use a microprocessor, sadly I had started developing it in last semester, so at that time Microprocessor looked like a very big term. Second approach was a bit simpler for me, that was to connect the uMouse to the computer and let Mr. Computer dictate that poor creature on his own terms.
Well, we followed the latter.

Next, was the decision regarding the mechanical design of the machine, well we took a brave decision and went ahead with a two wheel drive (and with a small support of a small supporting wheel at the tail, yeah this mouse had a tail even).
The stability of the mouse was maintained by keeping the vehicle (maybe I should be writing mouse) low floored.

Also, there was a very important decision to be took and that was regarding, which type of motors to be used. In this case precision was to be given the maximum priority, so we went with stepper motors. These are sort of digital motors, they would move totally by your command, one can control them even to the degree of 1 to 2 degree of angle rotated by them. Well but good things come at a price, (yeah they were highly priced too) and that was their driver circuit. the first time I saw these motors, I was in a shock, I had 6 wires infront of me and till then I had the believe that almost every electrical appliance requires only 2 wires to get the requisite power to drive.
But this time the scene was different, stepper motors require a driving circuit for driving them, one is required to buy and use a UCN chip for the same.

The biggest problem that I faced in my earlier projects was that, the motors had a different voltage rating than the controlling circuit. well that's generally not a very big issue for electronics junkey type of people but anyhow I was dumb enough to be unaware of the solution of using a voltage regulator for the same.
It is used to convert a high voltage input into a low voltage supply, and yeah its very much different from a transformer. (In practical use it will screw your life, as it blows up very often, I remember we screwed up 10 of them on one single day ).

The next hurdle was regarding how to take the input from the vehicle and for that there was a simple solution of using IR sensors, these were the things which never gave a problem (I guess so, or maybe I wasnt made aware of them ). They were easily available, worked fine all the time, the ircuit for assembling them seemed easy and stable, yeah the only problem that i can remember related to sensors was the range of the sensors, which was supposed to be adjusted again and again, and their physical orientation on the vehicle. The physical orientation of the sensors on the vehicle was a tricky thing as they were required to check for he presence of walls on front and sides, as well as the alignment of the vehicle.

The next thing to be worked upon was how to connect the vehicle to Mr. Computer. In this case first we were aiming at using bluetooth network to communicate with the computer. But, after one full day of aggresive googling when we werent able to find any device which we could have been mounted on the vehicle and could have communicated with with the external circuits, we dropped the idea and went in for RF (Radio Frequency) Transmitters. and they worked we were very easily able to get a chip to do the same, and also construct an antenna for the same and make the transmitter and reciever circuits. and it worked too..

The final thing in the development of the Micromouse was about how to connect the RF transmitter reciever circuit to the computer and how to operate it, and also about which coding language should be used for making the algo. The answer to "How to connect??" was simple and it was the parallel port of the PC. Regarding the language I was in the opinion of using Python because of my recent obsession for the same, but since other members of the team were not familiar with Python we went for good old 'C'. The main hurdle in this was about how to connect to the parallel port in 'C', earlier versions of Windows (those before XP ) provided direct peripheral access to the ports but they screwed up that from XP onwards. So, we had to use a DLL for the same which could easily communicate with the device driver of the port. and luckly it worked after a little bit of tinkering around with the things. We were able to take input from the RF reciever as well a give output to the RF transmitter.

After we were almost done with everything, now it was time for us to get on to testing. I scare this step the most, but this time things went in altogether a different way. It seemed like everything is crashing and falling around us. Well, wha else could I say, we even fused the MCB of the whole building, once(Although that was done in the process of providing us with proper lighting). But anyways, after a few more trials in three to four days things started getting sorted up and we were finally in a situation when we could have created a maze and do trials on it. And yeah although the machine didnt turned out to be a perfect Micromouse at the end, but it was quite close to that. Atleast, it crossed the expectations of all the team members. Or say, all the team members crossed their own expectations.

Well this part 1 was regarding the technical aspects of the project. I would be focusssing the second part of it on the social aspects of the project. which would be like how we (the team) machaofied during the process of making this machine. and yeah it would also focus on our great Team from Miranda House. and a lot many things, so do keep watching the blog for that.

Friday, January 23, 2009

How to trace an E-mail??

Well many of you guys might be even knowing that how to do this. 

But, for rest of you guys, who might not be knowing how to trace an e-mail , let me tell you that it isnt that tough or say geeky in any way. Just download a software, emailtracker pro, ( I found this one you might find another useful one too).  Now, one needs to feed the header of the mail , which one needs to trace, into this and voila! it would pop up with a world map and pin pointing the exact location from where the mail came.

Going, into the theory, it works something like this, whenever someone sends you a mail, his/her IP address is recorded into it, and if that mail has been sent through a some other server then the IP address of the sender and the server is recorded in that header.
And these softwares find out the location based on the IP adress of the sender.
Well yeah!! it means that if you know the IP address of a person you can pin point the location of that person. Actually one can do a bit more than that, you can trace the whole path your data packets are travelling while reaching their destination, not in terms of IP adresses but also in terms of physical location of the servers, and great spftwares like this one can show you the path on World Map, Cool eh!!

So, what are you waitin for, start hackin...!!