AVR: An Introductory CourseThis book includes 15 programming and constructional projects, and covers the range of AVR chips currently available, including the recent Tiny AVR. No prior experience with microcontrollers is assumed. John Morton is author of the popular PIC: Your Personal Introductory Course, also published by Newnes. *The hands-on way of learning to use the Atmel AVR microcontroller *Project work designed to put the AVR through its paces *The only book designed to get you up-and-running with the AVR from square one |
Contents
1 | |
Chapter 2 Basic Operations with AT90S1200 and Tiny12 | 24 |
Chapter 3 Introducing the rest of the family | 91 |
Chapter 4 Intermediate Operations | 97 |
Chapter 5 Advanced Operations | 127 |
Appendix A Specifications for some PICs | 152 |
Appendix B Pin layouts of various AVRs | 153 |
Appendix C Instruction overview | 154 |
Appendix E Interrupt vector tables | 165 |
Appendix F Hex conversion | 166 |
Appendix G ASCII conversion | 167 |
Appendix H When all else fails read this | 168 |
Appendix I Contacts and further reading | 169 |
Appendix J Sample programs | 170 |
Answers to exercises | 218 |
237 | |
Other editions - View all
Common terms and phrases
actually Answer branches brne button byte called carry flag chip clear clock compares connected convert Counter counts cycles delay Delay1 device digit disabled display Divide EEPROM enables equal example EXERCISE Figure flag frequency Function going higher byte I/O register increment Init initial input instruction interrupt jumps keeps label ldi temp leaving length lines load look loops back lower means memory mode move occurs output overflow PC+2 Port PortB PortD pressed push random rcall reads received reset result reti returns rjmp rotate Send seven segment shown skips speed stack Start subi subroutine subtracts TCNT0 temp ldi temp Timer Tiny turn UART voltage wait write written zero