I need help for learning microcontroller?

Status
Not open for further replies.

ajaxad

Newbie level 3
Joined
Sep 18, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,303
Hello!
I am beginner of microcontroller field. So i want to learn microcontroller theory. Anyone know the direct link of free download pdf books of microcontroller. Thank you
 

Just search EDABoard threads there is lots of links and materials, just recently in last two days there was several threads based on that theme.
 

I would suggest you to read "The 8051 Microcontroller And Embedded Systems Using Assembly And C", by mazidi. If you want opensource try this **broken link removed**
 

Hello!

For the processor, you can use any device you like. I guess if you know how to program one, you
will not get that much trouble to program another one. Choose a development board according
to what you want to do (display something on an LCD? drive motors? store data on an SD card? etc...).

As for the language, I would advice programming in C. Not for the beauty of it, but because it's
the de facto standard, like english for technical conversation.
Somebody advised JAL. As I didn't even hear about it, I had a look at this page:
http://www.voti.nl/jal/index_1.html

Well, there might be some interesting concepts behind the scene. After all, every trial starts from
with some good ideas. But let me focus on the driving force of this project. The author says:

"I created Jal because I did not like any of the low-cost (or free) languages for these chips and
implementing a high level language looked like a nice project."

That says it all. He created the language not because there was a technical need, a solid ground
for the implementation but because he didn't like other languages.

He also says "Sorry for all C-lovers, but Jal is more like Pascal.". Good! Why not using Pascal, then?

Well, to summarize, here are a few advantages of learning C:
- C exist on every processor in the world (but I guess there will always be a smart ass to find exceptions)
- C program are portable. Of course, there is always some parts of the program that are less portable,
especially the parts very close to hardware)
- Consequence of the above, you can find sample code and programs for all the programs you will do.

Dora.
 
Last edited:

Are you familiar with programming language like C/C++ ?
If you have. I can suggest you a book: AVR Microcontroller and Embedded Systems by Muhammad Ali Mazidi. You can get it over internet.
Regards
Hasan
 

Hi doraemon,
I like JAL not because of what any body has to say, I tried to study MicroC, PicBasic and JAL among these I liked JAL because you can simply write a programe the way you speak it is just that simple. the best book i found is the book written by Bert Van dam **broken link removed**
Take look at a sample programme which reads from ADC and controls the flashing speed of LED written by Bert Van Dam (the lines starting with-- are comments)

Code:
-- JAL 2.0.4
include 16f877_bert

-- define the pins
pin_a3_direction = input
pin_d0_direction = output

-- general variable
var byte resist

forever loop

  -- take a sample
   resist = ADC_read_low_res(3)

  -- convert to a suitable range
  resist = (resist / 2 ) + 30

  -- and flash
  delay_1ms(resist)
  pin_d0 = low
  delay_1ms(resist)
  pin_d0 = high

end loop

Hope you liked it it is as simple as that, and one more thing JALEDIT software generates output in asm and Hex. Our member on Eda board Sunish Issac is the author of JALEDIT
Regards ani
 
Last edited by a moderator:
Hello picgak !

Of course, I like it, as I would like any attempt to provide something different.
However, my advice was in the best interest of the original poster. C is used almost
everywhere, similarly as english can be used almost everywhere among humans.

About this latter image of human languages: There is another international
language called Esperanto, which is a very nice synthetic language, a lot faster
to learn than English because there are no exceptions, no irregular verbs,
because the grammatical function of each word is evident from its termination,
etc... Extremely well designed, extremely interesting. https://en.wikipedia.org/wiki/Esperanto
But only 2 000 000 speakers worldwide according to the esperanto evangelists,
therefore probably a lot less than that.

Question: If you have a child, what would you like him to be taught first?
English or Esperanto?

Back to Jal, it's certainly been a good exercise for its creator, it's certainly
interesting to have something different and I like ideas out of the mainstream
paths. But for a newcomer in the programming field, I'm convinced it's not the
smartest choice:

- Very few processors supported (therefore the code is portable only on other supported processors)
- Therefore very few code existing
- Almost no support (there is a mailing list with ... 181 users that can reply ...)

And if Jal has interesting concepts, they are not well advertised. The argument
pointed earlier "because I didn't like other languages" is not relevant in programming
world. "It looks like Pascal" is not relevant either.

Dora.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…