AVR 8-Bit Microcontroller Books/Tutorials/Guides/How-To Links

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

m learning to program the Atmel 8-bit AVR microcontrollers by re-designing a robot I built previously with an Arduino clone using AVR-libC and an (possibly multiple) ATmega microcontroller.

Disappointingly, I haven't found too many books about programming Atmel microcontrollers that are aimed at beginners, and of the ones I have found, many had poor reviews on Amazon.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

in the past this man made a great book:

https://www.smileymicros.com/

 

it sort of looks like he has put things online now.

 

edit:

I am not sure if Joe is still the man behind the website.

The page seems to be started from scratsh on January 20th....

 

best look for a book from "Joe Perdue" on AVR and see if it comes up with a second hand book or some left over supply.

It was a great book on learning C and working with an AVR.

 

Last Edited: Tue. Feb 4, 2020 - 07:08 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

govindvarpe wrote:
I haven't found too many books about programming Atmel microcontrollers

because the actual programming is really not specific to the particular brand of microcontroller!

 

See: https://www.avrfreaks.net/commen...

 

Programming is about problem solving; analysing a problem, and designing a solution.

That's 98% independent of the particular target hardware.

 

The bits which are specific to the particular  microcontroller - registers & peripheral operation - will be found in the manufacturers documentation for that particular  microcontroller

 

See: https://www.avrfreaks.net/commen...

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This thread could be a bit "out of date" now as it's not maintained like it once was:

 

Newbie? Start Here

 

But there's a lot of good information there.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

meslomp wrote:
It was a great book on learning C and working with an AVR.

Although an AVR - or any other microcontroller - is not a great target for learning 'C'.

 

Better to learn the 'C' language on a PC or similar - away from all the added complications of a small microcontroller.

 

Then, once you're up to speed with  the 'C' language - move on to applying it on a small microcontroller.

 

Here's my collected links for 'C' learning & reference - including a free online 'C' textbook:

 

http://blog.antronics.co.uk/2011...

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Tue. Feb 4, 2020 - 09:25 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello, here are 3 nice AVR books :

* in English :

https://www.elektor.fr/make-avr-...

https://www.elektor.fr/c-program...

 

* in French :

https://www.amazon.fr/Programmat...