Programming and Customizing the HC11 Microcontroller

( 2 )


A comprehensive introduction to the HC11 microcontroller from the basics to complete applications.
Read More Show Less
... See more details below
Available through our Marketplace sellers.
Other sellers (Other Format)
  • All (8) from $9.94   
  • New (2) from $60.00   
  • Used (6) from $9.94   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2015

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2015

Feedback rating:


Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Sort by
Sending request ...


A comprehensive introduction to the HC11 microcontroller from the basics to complete applications.
Read More Show Less

Product Details

  • ISBN-13: 9780071344067
  • Publisher: McGraw-Hill Companies, The
  • Publication date: 12/21/1999
  • Edition description: BK&CD ROM
  • Edition number: 1
  • Pages: 268
  • Product dimensions: 7.39 (w) x 9.21 (h) x 1.24 (d)

Read an Excerpt

Chapter 1: What is a Computer

Amicrocontroller unit (MCU) is essentially a "computer on a chip." But what is a computer? During the "electronic hobbyist's golden decade" (1955-1965), some of the most fascinating projects described in electronic hobbyist magazines and books were simple electromagnetic or electronic computers. Unlike the computer projects described in magazines in the mid-1970s and later, these early computers often consisted merely of a bank of relays or four to eight bistable flip-flops in series with an old phone dial as an input. For output, they used either no. 48 bulbs for the transistorized or relay version or NE-2 bulbs for the tube version. About the only thing this "computer" could do was translate decimal numbers to binary numbers and add them. For instance, if you dialed "3," the first from the right, and the second light would go on-all others would remain off. This indicated that "Y in decimal was "I I" in binary. If you dialed "51" lights I and 2 would go out, and light 4 would go on-this indicated "8" in binary. Of course, since a dial doesn't turn that fast, you could "see" the action taking place, with each light going on for an instant and then off as the "computer" counted upward in binary. This visible action meant that the process was slow, but it also added to the "computer's" mysterious charisma.

If you hooked up eight of these flip-flops in series (which, in those days, verged on a supercomputer), you were able to record a number as large as I I I I I I I I in binary, which is 255 in decimal. Now, doesn't something look familiar here? Eight flip-flops in seriesalong with 8 indicator lights in a row. What we have is an 8-bitregister-very similar in concept to the 8-bit registers in 8-bit microcontrollers. Quick question: What is the size of most registers in the HC I I and other 8-bit microcontrollers?

To get the concept of an 8-bit register etched in your mind, let's describe how to wire up a twenty-first-century version of the mid-twentieth-century hobbyist computer. Here we will use flip-flops in integrated chips (ICs) instead of making them from junction transistors, electron tubes, or even electromagnetic relays. Before I show the schematic and how to breadboard it, let's look at solderless breadboards and power supplies.

Solderless Breadboards

Solderless breadboards (also referred to as experimenter ~ breadboards) could be described as "high-tech Legos"-and are almost as easy to use. See Figs. 1-1, 1-2, and 1-3. If you use one of these, circuits can be tested quickly and easily. These breadboards come in many sizes and shapes and are produced by several companies. Radio Shack, for one, sells several sizes and types of these boards.

Solderless breadboards have plug-in points that are 0. 1 in apart and accept DIP ICs, diodes, W resistors, most capacitors, low-power transistors, light-emitting diodes (LEDs), 22-gauge wire, and many other parts that use 22- or 24-gauge leads. For more information, refer to the instructions that usually come with the boards. These boards are simple to use.

Power Sources

While you can power the first experiment (circa 1965 hobbyist computer) with two D-cells in series (3 V) or a 6-V battery, like most experiments and projects in this book, it is best powered by a regulated 5-V power supply capable of supplying 100 mA.

Keep in mind that this first experiment is a "get acquainted with the book's technique" project. While the circuit's operation is informative and helps ingrain the all-important concept of an 8-bit (1 -byte) number into your noggin, even more important, it enables you to gain experience with a solderless breadboard. What is most important, however, it gives me an excellent opportunity to discuss a piece of equipment you should own (not must, just should)-a regulated 0to 12-V power source capable of producing 250 mA. See Fig. 1-3. Ideally, this power supply should have the capability of monitoring the current drawn and the voltage produced. An alternative to this 0- to 12-V regulated supply is a +5-V regulated supply. If you have trouble finding either power supply at a reasonable price, you may be interested in this next section.

An Inexpensive +5-V Regulated Power Supply With Current Monitor

This simple power supply can be used to power most projects and experiments in this book. Figure 1-4 shows a schematic of a + 5-V power source capable of supplying at least 100 mA continually and more than twice this for short periods of time. You can use either a solderless breadboard or a printed circuit board for this power supply. Figure I -I provides two views of this circuit breadboard. If you breadboard the power supply, take care when inserting the LM293 1 T leads in the board-they are slightly on the large size.

If you get serious and make a printed circuit (PC) board for this power supply, follow Fig. 1-5 for the solder-side foil pattern. Figure 1-6 provides the component mounting guide so that you know which part goes where. For tips on making PC boards, see Appendix E.

If you do use a PC board, it is wise to lay down the LM293 IT and use a screw and nut to fasten it to the board. The reason for this is that the foil on the solder side aids in dissipating heat. If you are using the optional PR2 flashlight bulb in the circuit, first solder I in lengths of no. 22 wire to its two connections before inserting it in either the breadboard or the PC board.

Notice that this power supply uses an LM293 IT low-dropout regulator IC. Like the HC 11, this IC was designed originally for automotive applications and has a whole bunch of safeguards built in. According to the data sheet, this chip is almost impossible to destroy, even if you don't know what you are doing! For instance, the data sheet claims that you can connect the power supply backward or connect it to 25 V or even temporarily to 60 V and not only will blue smoke not be seen or an acrid burnt odor fill your sinuses, but the chip should still regulate nicely. This tiny piece of high-tech sand is supposed to act like nothing ever hit it! The manufacturers claim that you can even stick it in a circuit backward, and as long as you take it out before it starts smoking too much, no damage is done. Awesome! While I haven't been this rough on the chip, I have used it extensively without a problem. Did I mention that it also has short-circuit and thermal-overload protection and that its dropout voltage is typically less than 0.5 V?

Notice the optional PR2 flashlight bulb in the circuit. Its purpose is as a current monitor. If you omit the PR2, make sure you connect a jumper wire in its place. Under normal low-current operation, the PR2 should not glow. It takes about 100 mA to light the filament just a little. If you see the filament lit, shut the power down and check for trouble. There is no doubt that this bulb is quite useful-but it isn't as good as a milliammeter! Did I mention that it is cheap, though?

One caution when using the LM293 IT in your design: Make sure you connect at least a 100-iff capacitor across its output. This unusually large capacitor is required for stability...

Read More Show Less

Table of Contents

Introduction 1
Ch. 1 What is a Computer? 5
Ch. 2 Introducing the HC11 and Breadboarding: A Simple HC11 Computer Circuit 23
Ch. 3 Getting to Know the HC11 37
Ch. 4 The Mag-11 Single-Board Computer 51
Ch. 5 The SCI and Mag-11 91
Ch. 6 Programming and Customizing the HC11 Microcontroller 133
Ch. 7 Programming and Customizing the HC11 Microcontroller: HC11's SPI Interface 157
Ch. 8 The AS11 Cross-Assembler 185
Ch. 9 Introducing a Simpler, Cheaper Way 227
Ch. 10 Construction and Use of MagTroll-11 249
Ch. 11 An MCU-Based Solid-State Wind Vane 271
Ch. 12 A "Voodoo-Designed" Wind Vane 303
Ch. 13 68HC11A1's Sisters, Brothers, and Cousins 323
App. A Binary and Hexadecimal Numbers: A Different Way of Looking at Them 331
App. B Programming EPROMS 341
App. C Sources for Printed Circuit Boards, Kits, and Parts 347
App. D Parts Lists 355
App. E Dynamite Hints on Making PC Boards 365
App. F Handling Static-Sensitive Parts 369
App. G HC11-Related Internet Resources 371
App. H Data Sheets and All 375
Index 429
Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
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 February 10, 2000

    Excellent Introduction to the Motorola 68HC11

    Tom Fox has created an excellent book on the Motorola 68HC11. His book is designed to build your knowledge up from the beginning and end up with you being able to develop your own HC11 Applications. What I liked most about the book was Tom's explaining about the tools and resources avaiable for the HC11.

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

    Posted February 11, 2000

    Fine Introduction to the HC11 Microcontroller

    Tom Fox's book takes you on a grand tour of the 68HC11 microcontroller. He begins with the simplest idea of what a computer is and ends with several applications of this particular family of microcontrollers. This is not your PC that is being examined here, but rather a single chip computer (well OK, most applications will probably require a few additional ones). The 68HC11 family is one of the latest of Motorola's line of microcontrollers that started with the 6800 about 25 years ago. You don't need to be an engineer or technician to tackle this book, but you will need some basic background. To build any of the project boards some printed circuit board soldering and component identification skills are required. This is not a Heathkit, with detailed, illustrated assembly instructions. However the author does provide some insight and well thought out testing procedures. What makes any computer useful are the software programs. The author provides the ones needed for the exercises and applications that are in the book, but the point is to have the reader come up with the ones needed for other applications. These programs are written in assembly language, which is much simpler than it sounds. Tom Fox explains the basics of the language and provides a listing of the Instruction Set (the commands that tell the 68HC11 what to do). Anyone who has written simple BASIC language programs should have no problem. The book and accompanying CD ROM have some of the supporting documentation and the author gives a lot of information on how to obtain more. Searching the Internet for additional information can be a great learning experience in itself. I highly recommend this book to anyone interested applying microcontrollers to solve control problems.

    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)