Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/hbeonlab/public_html/store/system/database/mysql.php on line 6
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hbeonlab/public_html/store/system/database/mysql.php:6) in /home/hbeonlab/public_html/store/system/library/session.php on line 11Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hbeonlab/public_html/store/system/database/mysql.php:6) in /home/hbeonlab/public_html/store/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/hbeonlab/public_html/store/system/database/mysql.php:6) in /home/hbeonlab/public_html/store/index.php on line 176Warning: Cannot modify header information - headers already sent by (output started at /home/hbeonlab/public_html/store/system/database/mysql.php:6) in /home/hbeonlab/public_html/store/system/library/currency.php on line 45 Stepper Motor Control using AT89C51

Stepper Motor Control using AT89C51

Stepper Motor Control using AT89C51
Product Code: HEUK108
Reward Points: 0
Availability: In Stock
Price: INR 1,400.00
   - OR -   

At the heart of the Stepper Motor Controller is AT89C51 micro-controller. From traffic control equipment to input devices, computer networking products and stepper motor controllers, 89C51 microcontrollers deliver a high performance with a choice of configurations and options matched to the specific needs of each application. 
In the Stepper Motor Controller circuit, the control switches for the motor are connected to Reset and Port P0.7 pins of the microcontroller while the stepper motor is connected to port pins P2.4 through P2.7 of the microcontroller (IC2) through the motor-driver circuit consisting of four Darlington pairs comprising transistors BC548 and SL100 (T1-T2, T3-T4, T5-T6 and T7-T8). 
When transistors conduct, 5V (Vcc) is applied to the coils of the motor and the currents flowing through them create magnetic fields and the motor starts rotating. The magnetic field energy thus created is stored in the coils.
When transistors stop conducting, power to the coils is cut off, the magnetic field collapses and a reverse voltage (called inductive kickback or back emf) is generated in the coils. The back emf can be more than 100 volts. The diodes connected across the coils absorb the reverse voltage spike.

The crystal frequency used in this circuit is 11.059MHz. The speed of the stepper motor is proportional to the frequency of the input pulses or it is inversely proportional to the time delay between pulses, which can be achieved through software by making use of instruction execution time.
When power is applied, the reset input must first go high and then low. A resistor-capacitor combination (R1-C3) is used to achieve this until the capacitor begins to charge. At a threshold of about 2.5V, the reset input reaches a low level and the microcontroller begins to function normally. Reset switch (S2) allows you to reset the program without having to interrupt the power. 

Driver Circuit Design: Ports P0 through P3 of the microcontroller are not capable of driving loads that require tens of milliamperes (mA). The microcontroller outputs a current of 1.7 mA. To drive the coil of a stepper motor requiring a torque of 7 kg-cm, 12V DC and 2 amp/phase, a driver circuit using transistors SL100 and 2N3055 are used to amplify the current to 2.72 amp. Since the stepper motor has four coils, we need to use four Darlington pairs. 

The program for the Stepper Motor Controller is written in Assembly language and compiled using the ASM51 cross-assembler. The AT89C51 is programmed using Atmel Flash programmer. One ste rotation of he stepper motor used in this project equals 1.8 degrees. When the motor is programmed for 200 steps, the motor makes one complete revolution i.e. 360 degrees.

Write a review

Your Name:

Your Review: Note: HTML is not translated!

Rating: Bad            Good

Enter the code in the box below:

Powered By HBeonLabs
HBeonlabs Technologies Pvt Ltd © 2017