Before explaining any thing about the relation between human brain and microcontroller lets do one small hands on...
what you need to do is follow the instructions
do the calculation but don't use paper and pen..
And finally write down your answer on paper.
lets assume
A = 1;
B = 2;
C = 3;
D = 0;
Now assume next sequence of instruction and do the calculation in same order
i] D = B + 4;
ii] B = 3 * A;
iii] C = B - A;
iv] D = C * 2;
v] A = D - 1;
vi] C = B + A + D;
vii] D = C - 2;
viii] A = D / 2;
ix] C = A+5;
x] B = C * 7;
What is final Value of B?
Are you done??
Now right down your final answer on Paper .
Good!!! It was very simple :)
But real test is ahead
Now answer the next 3 question without referring previous instruction sequence
1.What was the value of C after question number 7.
2. After question number 9 which one is smaller in value B or D ?
3.What was your final answer ?
Unexpected questions ???
First thing i will like to remind you is that microcontroller is a small micro computer,which can perform some dedicated task assigned by user.It has all the essential component on single chip.i.e. CPU,RAM,ROM,Timers,Communication Ports.etc.etc. Since it is on single chip it has its own limitation.There for it is used in small applications.
Now lets compare our brain with microcontroller...
Now in the hands on, what you were brain was doing was simply following my instruction. Now assume I am your programmer.I programmed you to follow my instructions in particular sequence and finally write down the answer on paper.
So in this example your eyes were working as input channel for your brain.
On my every instruction you used to accept some variable and do some calculations in your Brains ALU. and used to remember the values of all the variables after each instruction that is something like RAM space.
After evry single instruction values of variable were changing so you used to remember the new values each.
There for when i asked you about the values after 7 th or 9 th instruction you were unable to answer it as those value were replace by the new fresh value on next instruction set.
That is how microcontroller also work
It accept varibales from user program.
Store it temporary in to RAM space .
Perform Arithmetic operation and store result in RAM again.
And when it is asked to give output, it will give you the desire result.
You will remember the final answer always.
The reson behind that is, when I say, it is final answer.You will remember the final result in your mind .Now this part of your brain act like ROM.where you are storing values.
Then when I asked you to write down answer on paper.That means you are storing the data in some external device which can be used by others also.And you can refer it whenever you required.Even after 1 week or 1 month.Something like EEPROM.
This is just an example to explain you, how exactly microcontroller and human brain matches each other. Human brain has its own intelligence and its self learning ability keep it improve its intelligence.In case of micro controller it doesn't have self learning ability but AI can make it capable for same in future.
Now from next post onward i will start with some hard core technical data description.But in my own style ;)
Please note this is not any research paper.This is just my views about relation between human brain and micro-controllers.
what you need to do is follow the instructions
do the calculation but don't use paper and pen..
And finally write down your answer on paper.
lets assume
A = 1;
B = 2;
C = 3;
D = 0;
Now assume next sequence of instruction and do the calculation in same order
i] D = B + 4;
ii] B = 3 * A;
iii] C = B - A;
iv] D = C * 2;
v] A = D - 1;
vi] C = B + A + D;
vii] D = C - 2;
viii] A = D / 2;
ix] C = A+5;
x] B = C * 7;
What is final Value of B?
Are you done??
Now right down your final answer on Paper .
Good!!! It was very simple :)
But real test is ahead
Now answer the next 3 question without referring previous instruction sequence
1.What was the value of C after question number 7.
2. After question number 9 which one is smaller in value B or D ?
3.What was your final answer ?
Unexpected questions ???
First thing i will like to remind you is that microcontroller is a small micro computer,which can perform some dedicated task assigned by user.It has all the essential component on single chip.i.e. CPU,RAM,ROM,Timers,Communication Ports.etc.etc. Since it is on single chip it has its own limitation.There for it is used in small applications.
Now lets compare our brain with microcontroller...
Now in the hands on, what you were brain was doing was simply following my instruction. Now assume I am your programmer.I programmed you to follow my instructions in particular sequence and finally write down the answer on paper.
So in this example your eyes were working as input channel for your brain.
On my every instruction you used to accept some variable and do some calculations in your Brains ALU. and used to remember the values of all the variables after each instruction that is something like RAM space.
After evry single instruction values of variable were changing so you used to remember the new values each.
There for when i asked you about the values after 7 th or 9 th instruction you were unable to answer it as those value were replace by the new fresh value on next instruction set.
That is how microcontroller also work
It accept varibales from user program.
Store it temporary in to RAM space .
Perform Arithmetic operation and store result in RAM again.
And when it is asked to give output, it will give you the desire result.
You will remember the final answer always.
The reson behind that is, when I say, it is final answer.You will remember the final result in your mind .Now this part of your brain act like ROM.where you are storing values.
Then when I asked you to write down answer on paper.That means you are storing the data in some external device which can be used by others also.And you can refer it whenever you required.Even after 1 week or 1 month.Something like EEPROM.
This is just an example to explain you, how exactly microcontroller and human brain matches each other. Human brain has its own intelligence and its self learning ability keep it improve its intelligence.In case of micro controller it doesn't have self learning ability but AI can make it capable for same in future.
Now from next post onward i will start with some hard core technical data description.But in my own style ;)
Please note this is not any research paper.This is just my views about relation between human brain and micro-controllers.