AVR Programming
Learning to Write Software for Hardware
Publisher: Maker Media, Inc
Final Release Date: January 2014
Pages: 474

Atmel's AVR microcontrollers are the chips that power Arduino, and are the go-to chip for many hobbyist and hardware hacking projects. In this book you'll set aside the layers of abstraction provided by the Arduino environment and learn how to program AVR microcontrollers directly. In doing so, you'll get closer to the chip and you'll be able to squeeze more power and features out of it.

Each chapter of this book is centered around projects that incorporate that particular microcontroller topic. Each project includes schematics, code, and illustrations of a working project.

  • Program a range of AVR chips
  • Extend and re-use other people’s code and circuits
  • Interface with USB, I2C, and SPI peripheral devices
  • Learn to access the full range of power and speed of the microcontroller
  • Build projects including Cylon Eyes, a Square-Wave Organ, an AM Radio, a Passive Light-Sensor Alarm, Temperature Logger, and more
  • Understand what's happening behind the scenes even when using the Arduino IDE
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyAVR Programming
 
4.4

(based on 14 reviews)

Ratings Distribution

  • 5 Stars

     

    (7)

  • 4 Stars

     

    (6)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

93%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (12)
  • Easy to understand (11)
  • Well-written (10)
  • Accurate (6)
  • Concise (5)

Cons

No Cons

Best Uses

  • Intermediate (9)
  • Novice (7)
  • Student (6)
    • Reviewer Profile:
    • Developer (10), Maker (8), Designer (4)

Reviewed by 14 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

Written at just the right level to advance from Arduino

By Mark D

from Small town, Ontario

About Me Engineer, Maker

Verified Buyer

Pros

  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

      Comments about oreilly AVR Programming:

      I'm about 2/3 through the book and I found it to be written at just the right level. If you've spent a bit of time with Arduino and want to learn more/use cheaper or more industrially relevant tech then this is the book. It gives you many coding tools to accomplish exactly what you want, descriptions of how individual registers work and little tips on using the hardware. It's helpful, concise and funny in parts.

      I will say read it was a little difficult to get started; there are many choices of programmers and software but it all seems to be mutually compatible and cheap (unlike PIC compilers). Also, when you order the suggested parts, read the full lists at the beginning of each chapter to be sure you have everything (I ordered a surface mount temperature sensor and had to separately order an adapter).

       
      5.0

      Nice read!

      By Jason

      from Cambridge, UK

      About Me Developer

      Pros

      • Easy to understand
      • Helpful examples

      Cons

        Best Uses

        • Novice

        Comments about oreilly AVR Programming:

        I am still reading the book but so far I've found that the book is well written with very good explanations. Also, the projects are fun and interesting.
        I would recommend this book to anyone who wants to start fiddling with micro controllers.

        (2 of 2 customers found this review helpful)

         
        4.0

        Book as promised

        By enno

        from Estonia

        About Me Developer

        Verified Buyer

        Pros

        • Easy to understand
        • Helpful examples

        Cons

          Best Uses

          • Novice

          Comments about oreilly AVR Programming:

          Good starting point to AVR programming.

          (1 of 1 customers found this review helpful)

           
          5.0

          Great guide for hands-on learning

          By Rob the Newbie

          from Boulder, CO

          About Me Maker

          Verified Reviewer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice

            Comments about oreilly AVR Programming:

            I've been using the book as a step-by-step way of learning to build and program automated gadgets for my own pleasure. (I'm a novice-to-intermediate "maker", with long-ago experience in C and a little experience with command-line Linux.) The book is clear, detailed, and written in a way that encourages experimentation and enjoyment. The example projects are carefully graduated so that each one builds on the preceding one. I particularly appreciate the way in which the code for a project is presented first, then explained second. You can build a device, see it function (fun!) and then do the work of understanding how the program makes it happen. That, and the gently humorous writing style, has kept me cheerfully motivated and occupied for five chapters so far.

            (1 of 1 customers found this review helpful)

             
            4.0

            A Very Useful Reference

            By CrashBang Prototyping

            from Johannesburg, South Africa

            About Me Maker

            Verified Reviewer

            Pros

            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about oreilly AVR Programming:

              This book is great for getting to grips with AVR micocontrollers. I see it as a good resource for people moving onto AVR - whether you're already familiar with other microcontrollers and want to move to AVR, or if you're making the transition from Arduinos to working directly with AVR.

              The author has structured the book well, making it useful as a pick-up-when-you-need-it reference as well as a progressive read for those starting out. If you're starting out you probably won't read it cover to cover, but at least the first section will get you progressing nicely.

              If you're already comfortable with microcontrollers, some of the content may be a little too basic for you - but you'd probably benefit from it as a reference, using the examples to speed up the time spent with your head in datasheets.

              (2 of 2 customers found this review helpful)

               
              4.0

              Great introduction, but took a while

              By Steve

              from UK

              About Me Educator

              Verified Reviewer

              Pros

              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Novice

                Comments about oreilly AVR Programming:

                The book covers most topics you would need to get started on AVR programming. For the most part, the examples are good, with certain examples running through different chapters adding more features as they are taught.

                Personally, I wasn't that keen on all the speaker based projects, but that's just me (they might be of great use to other people).

                The reason for 4 stars instead of 5 was simply because I was unable to use the book to actually figure out HOW to program the AVR. This section in the book seemed very lacking to me and I ended up researching online instead.

                After I got that problem fixed, all the examples worked nicely and the libraries provided made the initial learning curve a little less steep.

                In all, a very good book to learn AVR programming.

                (1 of 1 customers found this review helpful)

                 
                4.0

                I find this book to be very thorough.

                By Carl

                from Raleigh, NC

                About Me Designer, Developer, Educator, Maker

                Verified Buyer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Expert
                  • Intermediate
                  • Novice
                  • Student

                  Comments about oreilly AVR Programming:

                  This is a great book and I'd recommend it to anybody that is interested in how Atmel microcontrollers. The only issue I have with the book is that it has problems with Aldiko on my Samsung SM-T900 tablet, images do not show up and text gets lost. Strangely it works fine in Aldiko on my Samsung Galaxy Nexus cell phone.

                   
                  4.0

                  Very good to learn AVR software

                  By Fern Best

                  from Cascais, Portugal

                  About Me Designer, Developer, Maker

                  Verified Buyer

                  Pros

                  • Accurate
                  • Concise
                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Intermediate
                    • Student

                    Comments about oreilly AVR Programming:

                    I am using it with Atmel Studio 6.2 with good results.

                     
                    4.0

                    covers the basics and adv topics

                    By maks

                    from australia

                    About Me Developer

                    Verified Buyer

                    Pros

                      Cons

                        Best Uses

                          Comments about oreilly AVR Programming:

                          The explanations are a bit too basic in places as the author tries to cater for complete new comers to C programming and microcontrollers but he makes up for this by covering more advanced topics well and erring on the side of covering too much instead of too little.

                           
                          5.0

                          A very good and explaining book

                          By Janne

                          from Sweden

                          About Me Developer

                          Verified Buyer

                          Pros

                          • Concise
                          • Easy to understand
                          • Helpful examples
                          • Well-written

                          Cons

                            Best Uses

                            • Intermediate
                            • Student

                            Comments about oreilly AVR Programming:

                            A good learning book on ATMEGA microchips

                            Displaying reviews 1-10

                            Back to top

                            Previous | Next »

                             
                            Buy 2 Get 1 Free Free Shipping Guarantee
                            Buying Options
                            Immediate Access - Go Digital what's this?
                            Ebook:  $29.99
                            Formats:  DAISY, ePub, Mobi, PDF
                            Print & Ebook:  $49.49
                            Print:  $44.99

                            Available in Multiple Languages