PIC LAB-1
Extra Pages
All the pages and experiments we have presented for this project show you how to produce routines for the
PIC16F84 microcontroller. With these routines you will be able to create projects to rival almost anything you have seen to date.
We have shown how to design programs with the most efficient instructions (called
machine code) and at a
cost below anything else available
This has broken new ground in getting the absolute beginner to a point where a
software designer has said it would take the average programmer 5 years to produce
programs equal to those we have presented.
I think we have proven them wrong. With our layout and terminology we have
made it "straight sailing" and if you have read to here, you will be
well on the way to producing programs that are "ripe" for the
consumer market.
Here are some of the features of the "Extra Pages." They contain
more than the short description indicates. They are also in the contents on the left.
Page 6
The Piezo diaphragm as an input and output device
Page 7
NITINOL wire
Page 8
Poling - looking at an input
Page 9
3-digit Counter A-to-D Converter - Measuring Resistance
Page 10
Library of Routines.
This is the secret behind our
"Cut-and-Paste" concept to create your own programs.
Page 11 Timing and Delays.
Creating a program to control up to 8 devices.
Page 12
Adding extra inputs and outputs
Page 13
Advanced Programming
and Clever Commands
Page 14
Test 1 on basic electronics for the PIC LAB-1
Page 15 Test 2 on basic electronics
for the PIC LAB-1
Page 16
Test 3 on basic programming
Page 17 Test 4 on programming
Page 18 Test
5 on programming
Page 19 More to be added here
|
The
Library
of Routines
is a very large file. It contains routines for almost every requirement. As
you create a program, simply think of
suitable words for the next operation, go to the Library of Routines and read the comments.
Open it in a
separate TEXTPAD program so that the associated lines of code can be copied
and pasted into your program.
Some of the terms include:
Beep, CALL Table, Debounce a Switch, Decrement,
Delay, Increment, Input, Load a File, Loop, Mask, Move, Nested Delay, Output,
Poll, Random Number, SetUp, Stop, Table, Toggle, Tone, TRIS, Zero.
|