This title gets readers up and running fast with a quick review of basics and then onto ten tried-and-tested projects. No languages to learn: Simply drag and drop the icons, plug in the settings and the PIC will respond to the commands. Step by step guide to using Flowcode 4, software provided free with this book via the companion website. John Iovine has created his next masterwork with "PIC Projects for Non-Programmers". Engineers and hobbyists new to the PIC who want to create something today will find a valuable resource in this book. By working through the accessible projects in this book, readers will use a symbolic compiler that allows them to create 'code' via flowcharts immediately, getting their projects up and running quickly! The ability to create applications with the PIC from day one makes this a real page turner and a highly satisfying introduction to microcontrollers for both novices and readers who need to build their skills.
Chapter 1 Flowcode Program Installation 1 (8)
Minimum System Requirements 1 (1)
Step 1 1 (1)
Step 2 1 (1)
Step 3 2 (1)
Step 4 3 (1)
Step 5 3 (1)
Step 6 4 (1)
Step 7 5 (1)
Step 8 6 (1)
Step 9 6 (3)
Chapter 2 Writing Our First Program "Wink" 9 (20)
Which Option to Take? 10 (1)
Writing the Flowchart 11 (8)
Option 1 Simulation 19 (5)
Running the Simulation 24 (1)
First a Little More on Simulations 24 (1)
Step Mode(s) 25 (2)
Save Your File 27 (2)
Chapter 3 Uploading "Wink" Into 29 (22)
Microcontroller(s)
Real World Circuit (Option 2) 33 (3)
PIC Programmers 36 (7)
Troubleshooting the Circuit 43 (1)
Real World Option 3 44 (5)
Preliminaries Finished 49 (2)
Chapter 4 Binary Number System - Outputting Data 51 (26)
Bits 51 (1)
Base 2 51 (1)
Bytes 52 (1)
Binary Addition 53 (1)
How Microcontrollers Can Read and Write 53 (1)
Binary Numbers
Eight-Bit Bytes and Ports 54 (1)
Counting in Binary: Using LEDs to Represent 54 (11)
Binary Numbers
Hardware 65 (7)
More on Binary 72 (3)
Programming Challenge 75 (2)
Chapter 5 Reading Data on Input Lines 77 (16)
Electrical Signals 77 (8)
How the Program Works 85 (2)
Alternatives 87 (6)
Chapter 6 Language Reference Guide 93 (22)
Input Icon 93 (1)
Output Icon 94 (1)
Delay Icon 95 (1)
Switch Icons 96 (2)
Connection Point 1 98 (1)
Part Two: The Jump Point 98 (1)
Loop Icon 98 (2)
Call Macro 100(2)
Component Macros 102(1)
Calculation Icon 103(2)
String Icon 105(3)
Interrupt Icon 108(2)
Example of TMRO Properties 110(2)
Code Icon 112(2)
Comment Icon 114(1)
Chapter 7 Liquid Crystal Display (LCD) 115(36)
LCD Data Pins 116(2)
Let's Start Programming 118(8)
Troubleshooting the Circuit 126(8)
To Create a New Macro 134(9)
Creating Custom LCD Characters 143(8)
Chapter 8 RS232 Serial Communication 151(38)
Error Detection Algorithms 153(1)
Parity 153(1)
Baud Rates 153(2)
Serial LCD 155(1)
Serial LCD Power Supply 156(2)
First Program PRG 8.1 158(3)
First Serial Program 161(2)
Second Program 8.2 163(2)
Software Control 165(3)
Creating a PC Link: PIC to PC Communication 168(6)
HyperTerminal/PuTTY 174(3)
PuTTY 177(1)
Programming for PC Communication, PRG8.4 178(5)
Establishing Two-Way Communication or 183(1)
Controlling the PIC from the PC
ECHO 183(2)
The Flowchart 185(2)
Controlling the PIC Microcontroller from the 187(1)
PC
UART Hardware 187(1)
Expert Information and Notes for LCD 187(2)
Communication
Chapter 9 Analog-to-Digital Converters 189(24)
A/D Resolution 191(1)
Sampling Time 191(1)
First Program 192(1)
Potentiometer Function 193(6)
Getting Practical 199(5)
Simulate or Not Simulate 204(4)
Real World Numbers 208(2)
Enabling-Vref in Flowcode 210(3)
Chapter 10 Power Control from DC Motor to AC 213(16)
Appliances
Controlling DC Power 213(1)
Using a Transistor as a Switch 213(4)
H-Bridge 217(2)
Another H-Bridge 219(1)
Motor Speed Control 220(1)
Time Period and Frequency 221(5)
Setting Up Our Parameters 226(1)
Visual Speed Control 227(1)
Controlling Mains Power Supply 228(1)
Appendix A Installing ECIO Drivers 229(8)
Index 237