Programming the PIC Microcontroller with MBASIC / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $4.02
Usually ships in 1-2 business days
(Save 95%)
Other sellers (Paperback)
  • All (8) from $4.02   
  • New (5) from $67.80   
  • Used (3) from $4.02   


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.

• Offers a complete introduction to programming the most popular microcontroller in the world, using the MBASIC compiler from a company that is committed to supporting the book both through purchases and promotion

• Provides numerous real-world design examples, all carefully tested

• Companion website contains the source code files and executables, and will include a demo version of the MBASIC compiler, allowing engineers to work out the design exercises in the book

Read More Show Less

Editorial Reviews

From the Publisher
If you've been waiting, as I have, for a rewrite of the MBasic manual, then you should buy this book. This is much more than just a manual (although it's very good as that), and I haven't seen any MBasic tutorials with this much depth anywhere.

- Brian, Basic Micro Forum

I got home late tonight. I wish I'd gotten home a lot sooner because THE book is here!! And it's a beaut, too. All I can say is...Some day I hope to know as much about PICs as Jack forgets every day.

- kenjj, Basic Micro Forum

“This very useful book allows even someone new to PICs to be able to choose the proper device, program and design the circuit for simple to sophisticated designs. This is a great book for quickly learning about and using microcontrollers to do amazing tasks.” – IEEE Electrical Insulation Magazine, Dec. 2005

Read More Show Less

Product Details

  • ISBN-13: 9780750679466
  • Publisher: Elsevier Science
  • Publication date: 6/28/2005
  • Series: Embedded Technology Series
  • Edition description: BK&CD-ROM
  • Edition number: 1
  • Pages: 800
  • Product dimensions: 7.40 (w) x 9.10 (h) x 1.40 (d)

Table of Contents

CHAPTER 1: What is a PICR?; CHAPTER 2: MBasic Compiler and Development Boards; CHAPTER 3: The Basics – Output; CHAPTER 4: The Basics - Digital Input; CHAPTER 5: LCD Modules; CHAPTER 6: Reading Complex Input Switches; CHAPTER 7: Seven-Segment LED Displays; CHAPTER 8: Introductory Stepper Motors; CHAPTER 9: RS-232 Serial Interface; CHAPTER 10: Interrupts and Timers in MBasic; CHAPTER 11: Analog-to-Digital Conversion; CHAPTER 12: Digital Temperature Sensors and Real-Time Clocks; CHAPTER 13: Assembler 101; CHAPTER 14: In-Line Assembler; CHAPTER 15: Interrupt Handlers and Timers in Assembler; CHAPTER 16: Digital-to-Analog Conversion; CHAPTER 17: DTMF Tone Decoding and Telephone Interface; CHAPTER 18: External Memory; CHAPTER 19: Advanced Stepper Motors; CHAPTER 20: X-10 Home Automation; CHAPTER 21: Digital Potentiometers and Controllable Filter; CHAPTER 22: Infrared Remote Controls; CHAPTER 23: AC Power Control; CHAPTER 24: DC Motor Control; CHAPTER 25: Bar Code Reader; CHAPTER 26: Sending Morse Code; CHAPTER 27: Morse Code Reader; CHAPTER 28: Weather Station and Data Logger; CHAPTER 29: Migrating from v5.2.1.x to and the Undocumented MBasic; APPENDIX A: Parts List; APPENDIX B: Function Index

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted November 8, 2011

    Just got it, but already it seems limited... Will update after I have been able to really get into it :)

    I only just got my copy, but found out, according to the text, that the included MBasic program is limited to programming ONLY the PIC 16F876 and 16F876A chips. If you were thinking you would be able to work with any other chips, you will still need to buy software and other support items to do this. PIC chips are certainly inexpensive, but by the time you buy a programming interface and sufficient software that will work with a better ranger of chips you will have spent a fait bit of money- probably than you may have been lead to believe.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted August 27, 2005

    A great MBasic AND electronics reference for all kinds of PIC projects

    This is much more than just a fantastic replacement for the MBasic manual (although it's very good as that). I haven't seen any MBasic tutorials with this much depth anywhere. . . . It's an AMAZING resource, easily one of the best-written textbooks on any subject that I've seen in a long time. It's laid out in a tutorial format, with each chapter building on the ideas in the previous pages. The book is also easy to use to find specific techniques as you would with a reference book, either with the index, or with the thorough way Jack cross-references related chapters within each chapter. . . . Jack introduces one or two major concepts in each chapter, such as working with digital outputs, I2C, stepper motors, or HSerial, and then shows how to design the electronics parts of the concept as well, and gives solid reasoning for how he's making design choices along the way. He has a deep understanding of both computer theory and electronics design, but presents both of them in a friendly, non-jargon-y way that I think many experience levels could understand. . . . It covers everything from the stock MBasic commands, to how to use in-line and standalone assembler where needed, to the undocumented (except in the forums) commands hidden in the language. You even get a CD with a FREE version of MBasic Pro called MBasic876 (It is limited to the 16F876 / '876a parts only, which is not a huge limit). Jack also explains the differences between (the current full release) and, AND gives working code for both versions! He even documents all of the mistakes he - and others - have found in the manual, saving much frustration when learning the language. . . . If you wanted to use this as a textbook, there are 'Ideas for Changes to Programs and Circuits' at the end of each chapter, that would make good homework assignments. . . . The CD also contains all of the code examples from the book (in both and versions, with comments), Linear Technology Circuit Simulation Software\SWCADIII (LTSPICE) circuit simulation tools, and datasheets for all of the parts used in the book. . . . An extra bonus is the nearly page-long list of references at the end of each chapter, containing information about everything from good 8-bit microcomputer design guides, to where to find current datasheets for the parts used in the chapter, to great freeware resources for the PC. . . . So far, I have found answers to every question that's stumped me even after reading the Basic Micro forums. . . . I hope some others can enjoy this as much as I have. It's made me excited again about how much MBasic allows you to do with a PIC.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)