Programming the PIC Microcontroller with MBASIC,
Edition 1Editors: By Jack Smith
Publication Date:
14 Jun 2005
Ways Of Reading
-
This e-publication is accessible to the full extent that the file format and types of content allow, on a specific reading device, by default, without necessarily including any additions such as textual descriptions of images or enhanced navigation.
Navigation
-
The contents of the PDF have been tagged to permit access by assistive technologies as per PDF-UA-1 standard.
-
Page breaks included from the original print source
Additional Accessibility Information
-
All (or substantially all) textual matter is arranged in a single logical reading order (including text that is visually presented as separate from the main text flow, e.g., in boxouts, captions, tables, footnotes, endnotes, citations, etc.). Non-textual content is also linked from within this logical reading order. (Purely decorative non-text content can be ignored).
-
The language of the text has been specified (e.g., via the HTML or XML lang attribute) to optimise text-to-speech (and other alternative renderings), both at the whole document level and, where appropriate, for individual words, phrases or passages in a different language.
Conformance
-
The publication was certified on 20250710
-
Accessibility addendum
-
For detailed accessibility information, see Elsevier’s website at https://www.elsevier.com/about/accessibility
-
For queries regarding accessibility information, contact [email protected]
Note
-
This product relies on 3rd party tooling which may impact the accessibility features visible in inspection copies. All accessibility features mentioned would be present in the purchased version of the title.
Description
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.Key Features
- 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
About the author
By Jack Smith, Founder and Consultant, TeleworX, Vienna, VA.
Table of Contents Preface Author’s Preface 1. Introduction to the PIC2. Introduction to MBASIC 3. The Basics-Outputs 4. The Basics--Inputs 5. LCD Display 6. Reading the Rotary Encoder 7. LED 7-segment display8. 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. Companion website Contents
Title Reviews
"I've been so impressed with this book in the week I've been reading it, that I have to think the only reason it's not made it to these forums yet is because no one has found it yet. 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. It's an AMAZING volume of work, easily one of the best textbooks on any subject that I've seen in a long time. 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 subjects 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. My biggest question now is, it's obvious that Jack got some fantastic help on the project from Basic Micro themselves - so why aren't they selling the book right from this site? Or at least announcing its availability? So far, I have found answers to every question that's stumped me even after reading these forumsI 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."—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....This meets my definitions of "complete"and "comprehensive"!"—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
ISBN:
9780750679466
Page Count:
800
Retail Price (USD)
:
Hellebuyck, Programming PIC Microcontrollers w/ PIC Basic, Newnes, 2002, $49.99, 256pp.Iovine, PIC Microcontroller Project Book: For PIC Basic and PIC Basic Pro, McGraw Hill, 2000, $29.99, 256pp.
Embedded Design Engineers, Computer Engineers, Software Engineers, System Engineers