18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 11<br />

Figure 11-4. <strong>The</strong> UCN5804B makes it easy to control the speed, direction,<br />

and operating mode of a stepper motor.<br />

8052-BASIC to do other things, without having to worry about generating the signals to<br />

control each step of the rotation.<br />

<strong>The</strong> circuit uses a UCN5804B stepper-motor translator/driver (U5) from Allegro Microsystems<br />

(formerly Sprague). <strong>The</strong> chip automatically creates the drive signals for operation in<br />

any of three modes.<br />

U3 is a 4066B CMOS quad switch that enables you to select any of 15 speeds. U4 is a 555<br />

timer that outputs a square wave in proportion to the selected speed. U5 uses the square<br />

wave to time the steps.<br />

U5 has four outputs that can sink up to 1.5 ampere each, and can sustain up to 35 volts. <strong>The</strong><br />

chip includes diodes that protect against inductive transients, and thermal protection that<br />

192 <strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!