This self-paced course is designed for those that want to teach themselves how to program PICmicro microcontrollers using C code. No experience is needed.
It starts with fundamentals and moves on to more advanced topics including pointers, structures, and Software Engineering in C. The lessons and exercises on the CD teach these topics and there are 10 hands-on labs. Tests to reinforce learning are provided.
All software and courseware is included on the CD ROM along with the tools needed to create hex code for a wide range of PICmicro devices - including a full C compiler and an Integrated Development Environment (IDE).
The CD also includes the Virtual PICmicro microcontroller. This is a simulation tool that allows students to clearly see the effects on the chip as each line of C code is executed.This enhances understanding and retains student interest.
The version 3 development board (with USB connection) can be used to both program PICmicro MCU devices and as a development platform for experiments and tutorials.
About the course, Navigation, How to use this course, What is a PICmicro microcontroller?, the Virtual C PICmicro MCU, Sourceboost and Boost C, Development hardware
Conventional programs, Embedded programs, Writing programs, High and low level, High level C, Low level PICmicro MCU code, Getting your programs into a compiler, writing our programs.
Compiling and running C programs
The Build process, Setting up the programmer, Starting the compiler, Compiling your program, Linking your program, Downloading your program, Program file locations, Project files, Using other PICmicro microcontrollers, Using pragma to configure the chip.
Lab 1: flashing lights
Lab 2: Switches and torches
Lab 3: Follow the leader
Lab 4: LEDs and Clocks
Lab 5: LCDs and libraries
Lab 6: Mystic LCD
Lab 7: The E lock
Lab 8: reaction timer
Lab 9: Inspect your morse
Lab 10 – Analogue fun
C Programming contents
What is a C program? Introduction, Comments, The main function header, The main function body, The end of the line, Exercises
Introduction, Types, Floating point, Characters, Integers, Choosing variables, Identifiers, Declaration, Multiple declarations, Initialization, Names, Assigning statements, Expressions, Operators and Operands, Constant operands, Operators and divide, Working on bits, Shifting bits, Shortcut operators, Unary operators, Casting Exercises
Introduction, Logical operators, Equality, Using else, Cunning conditions, Complicated conditions, Unary operators in conditions, Exercises. Statements and Blocks Introduction , Blocks in Blocks, Global and local variables, Local variable scope, Global variables, Global and local in Boost C, Exercises.
Looping the loop
Introduction, While loop, Counting with the while loop, The for loop, Breaking out of loops, Continuing loops, Exercises.
Introduction, When to use a function, Functions which return values, Functions which accept parameters, Functions which return values, More than one parameter, Exercises.
Introduction, The need for arrays, Declaring an array, elements in an array, Sorting array elements, Into the next dimension, Exercises.
Introduction, The switch condition, Switches and breaks, Exercises.
Introduction, Arrays and pointers, Declaring a pointer, Using a pointer, Comparing a pointer, Null pointers, Functions and pointers, Finding out the size, Strings, Exercises.
Introduction, Creating structures, How structures work, Pointers in structures, Structures in structures, Exercises.
Introduction, The #include directive, magic numbers and #define, Conditional compilation, Exercises.
Software Engineering in C
Introduction, Deciding on specification, Deciding how to test, creating the functions, Using the functions, Making a project, and External data.
Introduction, Bits and bytes, Hex and decimal, Ready reckoner, Exercises, The PIC microcontroller, the PICmicro range, Architecture, Programming the PICmicro, The workign register, File registers, Bank selection, Special function registers, PORTA and PORTB, TRISA and TRISB, Interrupts, Timer, Watchdog, Sleep, EEPROM memory, Development board, Exercises.
Compiling and Running Programs
Introduction, Compiling your program, assembling your program, downloading your program, Boost C PIC functions, Boost C project files.
PC with CD ROM drive and Windows 98 or greater. Site licence version is compatible with all major network configurations.
Approximately 40 hours
Course Learning Objectives
• Gain a thorough understanding of C programming for PICmicro microcontrollers from basic techniques through to advanced concepts such as serial communication and interrupts.
• Develop the skills and techniques required to write C programs of some complexity from scratch.
• Develop a good understanding of how electronic systems are controlled.
Included on the CD ROM
• Complete course in C programming with exercises
• Boost C compiler (non-commercial version)
• Download software
This course also comes with a development board with cable and power supply and a spare PIC16F877.
How do I order?
1. You can order online (click the 'Add to Cart' button).
2. Call us at (800) 321-2155 and ask for course 01-999.
3. You can mail a check or money order for $257.75
(includes $22.75 for shipping/handling) to:
1776 E. 17th Street
Cleveland, Ohio 44114
4. Western Union or Bank transfer.
5. You can fax your order to us at 216-781-0331.
Foreign shipping expense will be higher.