Tuesday, February 8, 2011

Pouring life to micro-controllers

Pouring life to micro-controllers ?????????
sound wired but its true!!!!!!!!!!!

This knowledge was shard to me by my Sir,when i was new to this field and very enthusiastic about how this stuff work.

He told me "There is close relation between human and micro-controller."
"If you are on accident site and you saw lots of human bodies lying here and there and you have to identify which one is alive? How you are going to identify a live person."
I said "simple!, the one who breathing and heart is beating is alive!"
Sir replied "Good ! "
"But  now the human body u chose  is completely drain, he or she  don't have any power to stay alive, what will you do?"
"I will give him some water to drink, will give some food if possible,so that there will be some energy and he can move,and then will move him to nearest health center or clinic."
"but if he sleep on the way? when u don't have any transport and you have to run all the way to hospital"

"wake up him....., If he want to stay alive he cant sleep...,its dangerous for him...,and difficult for me too"
Now there was smile on my Sir's face.

You know micro-controller is like that human body only,who wont be able to run without heart beats,energy and wake up call. If your embedded system has to work your microcontroller must have all this 3 thing to keep it alive.

For any micro-controller its clock input is like its heart beats.If heart beats there then system is running. Some controller has in built clock oscillator and in some controller we have to provide clock externally.
There is no micro-controller in the world which run without clock and energy.
Now from where micro controller gets it's energy?
Energy is nothing but a Power source.Different controllers different power requirements.

Now the last thing is wake up call..
Your embedded system is real time system.It always keep on running to deliver output.But now suppose if it sleeps then??????
then you have to wake up it using some signal.That signal is known as Reset signal.

So to pour a life in to micro-controller you need
1.Clock source
2.Power Supply
3.Reset 

There are other things also which keep controller running.Which will take decisions by executing programs.
So that means there is close relation between human body and micro-controllers.

Let me tell you friends.That day onward, whenever i came across any of the micro controller application.I always related that application with human body and it helped me lot to understand the concept of micro-controllers.
I will discuss the relation between human brain and micro-controllers in next post.



1 comment: