Author Topic: Can you recomend any good books on learning to program microcontrollers?  (Read 2942 times)

0 Members and 1 Guest are viewing this topic.

Offline MagnusTopic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
I really need to learn to program using code such as that used with the AXON microcontroller. It's sink or swim and I need someone to give me a good push :D in the right direction. I need books that give lots of examples and are easy to understand.

Thanks for your time....

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #1 on: January 12, 2009, 12:42:14 PM »
i don't know about any books but i do know a couple of methods on how to learn C. TRIAL AND ERROR and practice doing the reverse of codes written by other people and see what happens. this is how airman00 learnt how to do C.
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline siempre.aprendiendo

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #2 on: January 12, 2009, 01:23:02 PM »
A very good introduction book to c & robotics with ATMEL microcontrollers is "C Programming for Microcontrollers" by  Joe Pardue

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #3 on: January 12, 2009, 01:24:49 PM »
is it from like basic to expert levels of program this book?
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline siempre.aprendiendo

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #4 on: January 12, 2009, 01:47:17 PM »
Well, not to expert.

You can download here the table of contents

Here the web.

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #5 on: January 12, 2009, 01:51:31 PM »
nice, looks good. do you know how much it costs in England or whether you can get it in England?
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,207
  • Helpful? 15
  • 1.6L Peugeot 307 tuner
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #6 on: January 12, 2009, 02:24:30 PM »
I didn't really like the C Programming for microcontrollers......
Truly....
Although it has many good projects it's not for total beginners... for sure....
Cause sometimes it jumps thing badly.... :(
For whom the interrupts toll...


P.S. I've been inactive for almost a year... Don't give promises but I'll try to complete my tutorials. I'll let you know when..

Cheers!

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #7 on: January 12, 2009, 02:31:30 PM »
aww thats a pity, seeing as i'm a totat beginner in c programming. :'(
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline siempre.aprendiendo

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #8 on: January 12, 2009, 02:46:02 PM »
I think "C Programming for Microcontrollers" is a fast and practical introduction to c and programming micros. I don't know if it's not too beginer oriented, I'm a beginner programming microcontrollers, but not programming in C nor C++.

But if you a want a more structured and deeper introduction to the c programming language, this is pretty good and free :)

http://cprog.tomsweb.net/cintro.pdf

But there are a lot...

http://www.physics.drexel.edu/courses/Comp_Phys/General/C_basics/
http://www.howstuffworks.com/c.htm
http://www.cprogramming.com/tutorial.html

and more

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #9 on: January 12, 2009, 03:16:37 PM »
Start with the "learn c++ in 21 days" books (its important that you begin with c++) and then read the book, Programming Microcontrollers in C by Ted Van Sickle
Warranty

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #10 on: January 12, 2009, 03:18:16 PM »
why learn c++ first> i mean its only a branch of c.
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #11 on: January 12, 2009, 04:28:42 PM »
Quote
Should I Learn C First?

The question inevitably arises: "Since C++ is a superset of C, should I learn C first?" Stroustrup and most other C++ programmers agree. Not only is it unnecessary to learn C first, it may be advantageous not to do so. This book attempts to meet the needs of people like you, who come to C++ without prior experience of C. In fact, this book assumes no programming experience of any kind.
Warranty

Offline siempre.aprendiendo

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #12 on: January 12, 2009, 04:30:35 PM »
Well, c++ supports object oriented and procedural programming, but c only supports procedural programming.

You can use c++ (almost) as if it were c, but not the other way around.

I love c++, but  is more difficult to learn, and it's not very supported by microcontrollers (on avr for example). You can start with c and later if you want improve you programming skills and knowledge you could learn object oriented programming with c++ (or java, c#...)

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,154
  • Helpful? 110
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #13 on: January 12, 2009, 08:56:13 PM »
If you want to learn plain vanilla C then Kernighan and Ritchie (spelling?) has always been the reference - for the C language not necessarilly for microcontrollers.

Quote
I love c++, but  is more difficult to learn, and it's not very supported by microcontrollers (on avr for example).
You need to check out my C++ library in the member tutorials - its for AVR.

Quote
why learn c++ first> i mean its only a branch of c.
I see it as the other way around. C can only do a subset of what C++ can do - so C is a minor branch of C++.

Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline siempre.aprendiendo

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #14 on: January 13, 2009, 02:08:16 PM »
Quote
I love c++, but  is more difficult to learn, and it's not very supported by microcontrollers (on avr for example).
You need to check out my C++ library in the member tutorials - its for AVR.

I will check it!, thanks :)

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #15 on: January 13, 2009, 02:27:22 PM »
Quote
why learn c++ first> i mean its only a branch of c.
I see it as the other way around. C can only do a subset of what C++ can do - so C is a minor branch of C++.
C++ is based on the C language, with the features of OOP as the most important difference.
There's no reason to learn C++ if you just wanna program controllers and C is easier to learn, since it is in itself simpler.

You can even use BASIC, in one of the controller oriented flavours (and get around the ugliness of any kind of C), much quicker to learn if you only plan to program a few controllers in a lifetime.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline siempre.aprendiendo

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
Re: Can you recomend any good books on learning to program microcontrollers?
« Reply #16 on: January 13, 2009, 02:53:57 PM »

You can even use BASIC, in one of the controller oriented flavours (and get around the ugliness of any kind of C), much quicker to learn if you only plan to program a few controllers in a lifetime.


Oh, my God!, Have I read "ugliness" about C???

Beautifulness is a very relative issue ;)

 


Get Your Ad Here

data_list