|
OutlineIntroductionThe Challenge Is This Book for You? What You Need How to Proceed Chapter 1 Jump Right InGetting Started Hardware Other Prototyping Needs The No-Hardware Approach The Software Your First Stamp Program The Outside World Digital Basics Number Systems Other Bases Boolean Algebra Connecting Hardware Digital Systems in an Analog World: A Few Laws Pull-up and Pull-down Resistors Putting it All Together: Your Next Program Summary Exercises Chapter 2 The Nitty Gritty -- A Stamp ReferenceGeneral Program Formatting and Labels The Stamp I Memory Map and I/O Stamp I Expressions The Stamp II Memory Map and I/O Stamp II Expressions Handling Large, Negative, and Floating Point Expressions Command Reference (including alphabetical cross reference) Section I -- Data CommandsDEBUG I, II, IISX SYMBOL I CON II, IISX VAR II, IISX LET I EEPROM I BSAVE I DATA II. IISX READ I, II, IISX WRITE I, II, IISX PUT IISX GET IISX RANDOM I, II, IISX Section II -- Flow ControlEND I, II, IISX PAUSE I, II, IISX NAP I, II, IISX SLEEP I, II, IISX GOTO I, II, IISX IF I, II, IISX BRANCH I, II, IISX GOSUB I, II, IISX RETURN I, II, IISX FOR I, II, IISX NEXT I, II, IISX RUN IISX Section III -- Digital I/OINPUT I, II, IISX OUTPUT I, II, IISX HIGH I, II, IISX LOW I, II, IISX TOGGLE I, II, IISX REVERSE I, II, IISX PULSOUT I, II, IISX PULSIN I, II, IISX COUNT II, IISX BUTTON I, II, IISX XOUT II, IISX Section IV -- Analog I/OPWM I, II, IISX POT I RCTIME II, IISX SOUND I FREQOUT II, IISX DTMFOUT II, IISX Section V -- Serial I/OSERIN I, II, IISX SEROUT I, II, IISX SHIFTIN II, IISX SHIFTOUT II, IISX Section VI -- TablesLOOKUP I, II, IISX LOOKDOWN I, II, IISX Section VII -- Math Operators+ , - , * , / I, II, IISX ** I, II, IISX */ II, IISX // I, II, IISX >> , << II, IISX MIN , MAX I, II, IISX ABS II, IISX SQR II, IISX SIN , COS II, IISX DIG II, IISX Section VIII -- Logical Operators& , | , ^ I, II, IISX &/ , |/ , ^/ I REV II, IISX DCD II, IISX NCD II, IISX Exercises Chapter 3 Digital I/OI/O by Command I/O with Registers An LED Counter Driving Larger Loads Driving Relays and Other Inductive Loads Switching a Relay Switching Power with PNP Transistors A PNP Driver Other Switches A Word About AC Loads Simulating Open Collector Outputs Working with Pulses Counting Pulses Reading Buttons Experimenting with Button Sharing I/O Pins Expanding I/O Summary Exercises Chapter 4 Analog OutputSound and Tone Generation Simple Speaker Circuits Experimenting with PWM Noise Amplifiers Connecting to the Phone Line An Example Generating Voltages using PWM Trying PWM Other Uses for PWM Traditional D/A Summary Exercises Chapter 5 Analog InputCareful What You Ask For Reading Resistance or Capacitance A Capacitance Meter Project Using an ADC A Homebrew ADC Voltage to Pulse Conversion The Simplest Analog Input Summary Exercises Chapter 6 Serial I/ODefinitions Simple Serial Protocols Interfacing with the PAK-I The I2C Bus I2C Basics Ending a Transmission Slow Slaves Arbitrating Multiple Masters I2C Plans Interfacing to an I2C EEPROM Asynchronous Communications RS232 Basics Open Collector Async A PC Frequency Counter Extending PC I/O Summary Exercises Chapter 7 LCDs and KeypadsSerial LCDs LCD Interfacing LCD Commands LCD Software Scanning a Keypad Analog Keypads Making the Most of Limited Keys Graphical LCDs Details Summary Exercises Chapter 8 MotorsDC Motors Using PWM The H Bridge About Stepper Motors Servos Cannibalizing Motors Summary Exercises Chapter 9 Just ProjectsLED Die Reaction Game Quiz Buttons Logic Probe PocketWatch Morse Code IDer Morse Code Keyer Chapter 10 The Next StepThe Next Step Why Not Stamps? What You Will Need Software Other Software Assembler Survival Guide Hardware Shortcuts Getting Started The Real Thing Beyond PICs Stamps + PICs? An Example PBP Program Summary Exercises Chapter 11 On Your OwnThe Parallax Mailing List Web Sites Appendix A About the CD-ROMAbout the Stamp I Simulator Appendix B The APP-I PIC ProgrammerWhat's Needed? Building It Software Troubleshooting PICAWC Controls Using the COM Port as a Power Supply Appendix C Making CablesStamp I Stamp II and Stamp IISX Answer Key |
![]()
[Kits] |
[Math] | [PS/2] |
[Pulse In] | [Pulse Out] |
[I/O] | [A/D] |
[PWM] | [Position Sensing] [PIC Programming] | [RS232]
| [PLD/FPGA] | [NetPorter]
[MicroTasks/Consulting] |
[Components] |
[Products] |
[News] | [Search] |
[Documents] | [Projects] |
[Resources] | [Updates] |
[FAQ] |
[Support]
[PDF Catalog]
Jump to PAKs: I, II,
III, IV, V,
VI, VII, VIII,
IX, X, XI,
XII PicoPAK:
VIII
Site contents © 1997-2010 by AWC, 310 Ivy Glen, League City, TX 77573 (281) 334-4341