By Harprit Singh Sandhu
The LAB-X1 Tutorial and Resource Book is intended for the novice user.
Using PICBASIC PRO examples written for the LAB-X1 and PIC16F877A MCU, the book
explains the fundamental concepts that are sometimes taken for granted by other
authors. The user can work through the book in step-by-step fashion,
experimenting with each example on the LAB-X1.
The focus of this tutorial is the multitude of hardware features provided on the
LAB-X1 Experimenter Board. The book teaches you about microcontrollers by having you undertake a number of software
exercises using PICBASIC PRO. These cover each and every hardware feature (including all the
optional components) provided on the LAB-X1. Each hardware aspect of the board is examined
with an isolated electrical diagram showing its specific connections to the MCU so that you can understand the hardware and thus learn how to use the
information in your own designs.
For beginners, this tutorial is a great companion to the PICBASIC PRO
Compiler and LAB-X1 Experimenter Board. If you're looking for a complete
beginner's package, purchase this book and the Developer's
Bundle, which includes PBP, LAB-X1, melabs Programmer, and the 16F877A.
The book is also useful for those who are learning PICBASIC PRO without the
benefit of the LAB-X1. The circuits from the LAB-X1 are diagramed in
detail to aid in understanding the PBP example programs.
For those not having a fast internet connection, the included CD ROM provides
copies of all the data sheets and related information needed. These include listing of all the sample programs in the manual, a free demo compiler and
more. Short book reviews are included for those interest in further learning.
- Detailed sections on each of the input and output capabilities of the LAB-X1
- Laid out in an easy to understand, progressive, learning sequence.
- Extensive discussion of the operation and use of the keyboard, the 2 line
display, the timers and the interrupts.
- All programming examples are in written in the powerful, easy to use and
easy to understand PICBASIC PRO Compiler language.
- All learning will transfer to almost the entire line of PIC
with minimal effort.
An excerpt from the "Timers and Counters" section:
"Most users will find that using timers and counters is the hardest part
of learning how to use PIC microcontrollers. With this in mind, we will proceed
in a step by step manner and build up the programs in pieces that are easier to
digest. Once you get comfortable with their set up procedures, you will find
that they are not so intimidating.
We will cover timers and counters separately. Counters are
essentially timers that get their clock input from an outside
source. There are two counters in the 16F877A and they are
associated with Timer0 and Timer1. Timer2 cannot be used as a
Note: The clock frequency utilized by the timers is a fourth of
the oscillator frequency. This is the frequency of the instruction
clock. This means that the counters are affected by every fourth
count of the main oscillator. The frequency is referred to as Fosc/4
in the literature. When responding to an external clock signal the
response is to the actual frequency."
189 pages, includes CDROM