Programming the PIC Microcontroller with MBASIC

Jack Smith

  • 出版商: Newnes
  • 出版日期: 2005-06-28
  • 售價: $1,170
  • 語言: 英文
  • 頁數: 800
  • 裝訂: Paperback
  • ISBN: 0750679468
  • ISBN-13: 9780750679466





The Microchip PIC family of microcontrollers is the most popular series of microcontrollers in the world. However, no microcontroller is of any use without software to make it perform useful functions. This comprehensive reference focuses on designing with Microchip’s mid-range PIC line using MBASIC, a powerful but easy to learn programming language. It illustrates MBASIC’s abilities through a series of design examples, beginning with simple PIC-based projects and proceeding through more advanced designs. Unlike other references however, it also covers essential hardware and software design fundamentals of the PIC microcontroller series, including programming in assembly language when needed to supplement the capabilities of MBASIC. Details of hardware/software interfacing to the PIC are also provided.
BENEFIT TO THE READER: This book provides one of the most thorough introductions available to the world’s most popular microcontroller, with numerous hardware and software working design examples which engineers, students and hobbyists can directly apply to their design work and studies. Using MBASIC, it is possible to develop working programs for the PIC in a much shorter time frame than when using assembly language.



Table of Contents:

Author’s Preface
1. Introduction to the PIC
2. Introduction to MBASIC
3. The Basics-Outputs
4. The Basics--Inputs
5. LCD Display
6. Reading the Rotary Encoder
7. LED 7-segment display
8. Introduction to Stepper Motors
9. Serial I/O
10. Interrupts and Timers in MBASIC
11. It’s an Analog World, After All
12. External sensors
13. Assembler 101
14. In-line assembler
15. Interrupt Handling and Timers in Assembler
16. Sine wave synthesis and low frequency DDS
17. Tone decoding
18. External memory interface
19. Advanced Stepper Motors
20. X-10 Interfacing
21. Communicating with a digital potentiometer
22. TV Type IR remote control
23. Controlling AC with a triac and solid state relay
24. DC motor speed control
25. Bar Code Reader
26. A Morse code keyer
27. Morse Code Reader
28. Data Logger
29. User’s Guide Corrections and Bugs
A. Annex A – Parts list
B. Function Index
C. CD-ROM Contents