PIC Robotics: A Beginner's Guide to Robotics Projects Using the PIC Micro

PIC Robotics: A Beginner's Guide to Robotics Projects Using the PIC Micro

John Iovine

Language: English

Pages: 274

ISBN: 0071373241

Format: PDF / Kindle (mobi) / ePub

Here's everything the robotics hobbyist needs to harness the power of the PICMicro MCU!

In this heavily-illustrated resource, author John Iovine provides plans and complete parts lists for 11 easy-to-build robots each with a PICMicro "brain.” The expertly written coverage of the PIC Basic Computer makes programming a snap -- and lots of fun.

Computational Intelligence: A Methodological Introduction (Texts in Computer Science)

High Performance Computing: Programming and Applications (Chapman & Hall/CRC Computational Science)

See MIPS Run (2nd Edition) (The Morgan Kaufmann Series in Computer Architecture and Design)

Understanding Operating Systems (6th Edition)















microcontroller up and running. Primarily you need a pull­up resistor on pin Testing the PIC Microcontroller 53 Figure 6.7 Photograph of  wink.bas circuit constructed on solderless breadboard. 4 (MCLR), a 4­MHz crystal with two (22­pF) capacitors and a 5­V power sup­ ply. Note: The 4­MHz crystal and two (22­pF) capacitors make up an oscillator that is required by the microcontroller. These three parts may be substituted with a 4­MHz ceramic resonator.

the  first  5  bits  of  the  TRISA  and  the  corre­ sponding I/O lines (RA0–RA4) are available for use. Examine the I/O pin­out on the 16F84, and you will find there are only five I/O pins (RA0–RA4) corre­ sponding  to  port A. These  pins  are  configured  using  the TRISA  register  and used with the port A address. Register Memory location, hexadecimal Memory location, decimal Port A 05h 5 Port B 06h 6 TRISA 85h 133 TRISB 86h 134 On power up and reset,

poke portb, 10 goto start  end 177 ‘Repeat ‘Repeat ‘Repeat Active high output The outputs from the 74HCT154 each pass through a 4049 inverting buffer to supply a 15­Vdc active high output signal. SPDT relay output In Fig. 11.8, the front end of the circuit is identical to Fig. 11.7. The changes are seen in the back end of the circuit. The active low output signals from the 74HCT154 each connect to one of the 10 PNP transistors, each of which con­ trols a corresponding relay.

Figure 12.1 Servomotor bracket kit. Tilts Front View Side View Figure 12.2 Front and side views of servomotor bracket. five­servomotor robotic arm. In Chap. 13 we use these same brackets to cre­ ate a bipedal walker robot. The bottom and top have multiple holes for attaching other brackets or ser­ vomotor horns (see Fig. 12.4). Basic Servomotor Bracket Assembly To assemble a servomotor bracket, begin by placing the binding post through the back hole on part a (see Fig. 12.5).

compiler (or PicBasic compiler) to compile the program. Before you attempt to compile  a  program, make  sure  you  have  set  up  Compiler  Options  under  the Compile menu. Figure 4.12 Pull­down menu location for selecting microcontroller. CodeDesigner  33 Figure 4.13 Error message generated when CodeDesigner cannot find Programmer. Once the program is compiled, we can go to the next step of loading the pro­ gram into a PIC microcontroller chip.

Download sample