This practical tutorial reviews the essentials of C
programming for microcontrollers and examines in detail the issues faced when
writing C code. Geared toward embedded system designers, the book teaches how to
write high-level C programming code, maximize performance, and use some of the
popular microcontrollers in real-world applications.
Covers programming the 8051 family of microcontrollers using
the C language. Readers are introduced to the fundamentals of microelectronics,
the 8051 family, programming in C, and the use of a C compiler. Light, sound,
temperature, and RS232 serial communication projects are included.
Maximize 8051 software performance, reliability, and efficiency-hands-on!
This is the first complete, hands-on guide to optimizing C-based applications for the 8051
microcontroller. Based on the most popular chipset in today's consumer products, it delivers great ideas
and expert C code you can adapt to your own real-world applications, whatever they are. From project
planning through key design tradeoffs, you'll find powerful insights that will streamline your coding and
enhance your results. Coverage includes: Making the most of multitasking and real-time operating systems;
Building an operating system kernel-from scratch; Working with internal and external peripheral devices;
Algorithms for enhancing performance; Two highly detailed start-to-finish projects
In addition to extensive sample code, the book contains practical techniques and flowcharts for
streamlining the development process, design approaches that minimize the amount of external hardware
required, and much more. Most examples will work with the entire 8051 family, including the Philips 751
and 552, 517, 552, 558, and DS5000 series. The accompanying CD-ROM contains: Keil's assembler,
C compiler, and linker in a limited version for the 8051 family; along with extensive
source code-including all the source code from this book and from C and the 8051, Volume 1:
Hardware, Modular Programming, and Multitasking.
The C for PICmicro® microcontrollers CD-ROM is an excellent,
interactive programming tutorial for anyone that wants to learn how to program
embedded microcontrollers in C. This C tutorial for PIC microcontrollers
includes a full IDE and C compiler. The course itself is actually split
into 2 main sections - the first concentrates the basics of C programming and
makes use of a unique Virtual C PIC microcontroller simulator, which allows you
to execute code step-by-step and see how internal variables and I/O lines are
affected. The second section develops your skills further through 9 project
tutorials, each of which has up to 15 subsections, which concentrate on PICmicro
programming in C.
Buy this CD-ROM
PICmicro MCU C: An introduction to Programming the Microchip PIC in CCS C
This 2nd edition book is a complete introduction to programming Microchip PICmicros
in C with the CCS C compiler. The book overviews the ease of using C and the CCS compiler
for optimization of your programming. There are many examples to get you started on while using the compiler.
Embedded C Programming and the Microchip PIC is carefully designed
to teach C language programming as it applies to embedded
microcontrollers and to fuel knowledge in the application of the
Microchip family of PIC microcontrollers.
Coverage begins with
a step-by-step exploration of the C language showing readers how to
create C language programs to solve problems. PIC processors are then
studied, from basic architecture to all of the standard peripheral
devices included in the microcontrollers. Numerous worked-out example
programs demonstrate common uses for each of the peripherals. Readers
are subsequently introduced to the built-in functions available in C,
to speed their programming and problem solving. Finally, readers are
taken through use of the C Compiler, and learn to efficiently develop
projects.
The book is based on the CCS C compiler for Microchip PIC microcontrollers.
Enter the world of embedded programming and microcontroller applications! One of the only
books available today that uses the increasingly popular and cost-effective Atmel AVR embedded controller as
the platform and application for learning, Embedded C Programming and the Atmel AVR is the perfect choice for
novices. Featuring a host of fully-functional example applications, this highly innovative book enables users
to adopt a "learn by doing" approach as they develop the knowledge and skills needed to achieve proficiency.
Following an introduction to Atmel AVR RISC processors, readers are launched immediately into an embedded C language
tutorial. Here, they'll experiment with variables and constants, operators and expressions, control statements,
pointers and arrays, memory types, preprocessor directives, real-time methods, and more! In addition to a comprehensive library
functions reference, an entire chapter on the CodeVision AVR C Compiler provides clear, step-by-step instruction in IDE
installation and operation, mixing Assembler with C, and using the Code Wizard Code Generator. Use of peripherals, such as
keypads; LCD displays; and other common embedded microcontroller-related devices
is also explored fully in this all-inclusive,
state-of-the-art programmer's how-to and reference manual.