Skip to main content

Maximite Stepper Motor Interface Circuit Diagram


This simple circuit and program listing allows the Maximite microcomputer (SILICON CHIP, March-May 2011) to control a stepper motor. It could be expanded to allow for the control of multiple motors, with four of the Maximite’s external I/O pins used to control each motor with identical driver circuits. A ULN2003 Darlington transistor array (IC1) switches current through the stepper motor’s two windings in either direction. When one of the four Maximite output pins (8, 12, 16 & 20, corresponding to I/Os 19, 17, 15 & 13) goes high, the corresponding output pin on IC1 goes low, sinking current through a motor winding. Conversely, when these pins are high, the corresponding Darlington transistor is off and so no current flows through that portion of the winding.

Maximite Stepper Motor Interface Circuit Diagram



Maximite Stepper Motor Interface Circuit Diagram


The centre tap of each motor winding is connected to a current source comprising PNP Darlington transistor Q1 and some resistors. The maximum current is determined by the resistive divider driving its high-impedance base, setting the base voltage to around 9.1V when it is fully on. By adding Q1’s base-emitter voltage (1.4V at 0.5A, as per the data sheet) we can determine that there will be around 1.5V across the 3.3O resistor (12V - 10.5V), resulting in a current of 1.5V ÷ 3.3O = ~450mA. Transistor Q1 must be fitted with a medium-sized flag heatsink (Jaycar HH8504, Altronics H0637) or larger to handle its maximum dissipation of (10.5V - 4.9V) x 450mA = 2.5W.

When one of the Darlington transistors switches off and current flow through the corresponding motor winding ceases, the inductive winding generates a back-EMF current which causes the voltage across that winding to spike. IC1 has internal “free-wheeling” diodes from each output to the COM pin, which is connected to the +12V supply. The back-EMF current flows back into the power supply and the voltage spikes are clamped at about 12.7V, so that the Darlington transistors do not suffer collector reverse breakdown, which might damage them.

A 470µF capacitor provides supply bypassing for the motor while a 47kO pull-up resistor and toggle switch/pushbutton S1 drives input pin 9 of the Maximite, allowing manual control of the motor direction. Table 1 shows the sequence in which the output pins are driven to turn the motor forward; the steps are run backwards for reverse operation. The delay between the steps determines the speed at which the motor rotates. The source code of the sample program is available for download from the SILICON CHIP website (maximite_stepper_motor.bas).

Comments

Popular posts from this blog

A basic Arduino Solar PV Monitor

I have just recently had solar pv installed, mainly to future proof my energy costs, I do not expect it to be like drilling for oil in my back garden, however the return looks to be encouraging. The install gives you another single unit meter, from this you will see the total amount the panels produce, but that is about it. I wanted to know how much the production was as it was happening, I discovered the light blinks on the front of the meter will flash 1000 times for each kWh of electricity which passes through. The rate of the flashing of the LED tells you how much power is currently passing through the meter. [ ]

Build a Key Operated Gate Locking System Circuit

This simple key-operated gate locking system allows only those persons who know the preset code to open the gate. The code is to be entered from the keypad within the preset time to operate the motor fitted in the gate. If anyone trying to open the gate presses a wrong key in the keypad, the system is disabled and, at the same time, sounds an alarm to alert you of an unauthorized entry. Figs 1 and 2 show the block and circuit diagrams of the key-operated code locking system, respectively. Connect points A, B, C, D, E, F and ground of the circuit to the respective points of the keypad. Keys S7, S16, S14 and S3 are used here for code entry, and the remaining keys are used for disabling the system. It is very important to press the keys in that order to form the code. To start the motor of the gate, press switches S7, S16, S14 and S3 sequentially. If the keys are pressed in a different order from the preset order, the system will lock automatically and the motor will not start. Fig. 1: Bl...

Apple releases TV spot for new iPods

Apple has just released a fun commercial to showcase its new line of iPod players and the various colours they come in. The TV spot titled ‘Bounce’, has a bunch of colourful iPod touch, iPod nano and iPod shuffles er…bouncing to music. With all that colour and dancing and bouncing, you may forget that Apple’s latest gen line of iPods has some other awesome features. For instance, the fifth gen iPod touch comes with Siri, 4-inch retina display and an A5 chipset. Maybe the next ad will showcase some of these features with less bouncing.link