Page 11 - Robots Androids and Animatrons : 12 Incredible Projects You Can Build
P. 11
PIC programming overview 102
Software installation 105
Step 1: Writing the BASIC language program 105
Step 2: Using the compiler 105
Step 3: Programming the PIC chip 106
First BASIC program 106
Programming the PIC chip 110
The EPIC programming board software 110
Testing the PIC microcontroller 113
Wink 114
Troubleshooting the circuit 114
PICBASIC Pro Compiler 115
New IDE features 115
Software installation 117
First PICBASIC Pro program 117
The EPIC programmer and CodeDesigner 118
Wink 119
Moving forward—applications 120
Reading switches—logic low 120
Reading switches—logic high 121
Reading comparators 123
Reading resistive sensors 123
Servo motors 126
Servo sweep program 127
Fuzzy logic and neural sensors 127
Fuzzy logic 128
Building a fuzzy logic light tracker 130
Parts list for programming the microcontroller 139
Parts list for fuzzy light tracker and neural demonstration 140
7 Speech-controlled mobile robot 143
Project 1: Programmable speech-recognition circuit 144
Learning to listen 144
Speaker-dependent and speaker-independent speech recognition 145
Recognition style 145
Building the speech-recognition circuit 146
Project 2: Interface circuit 152
Walkie-talkies 153
Acoustic coupling 153
Training and controlling the mobile robot 154
Team LRN