Design and Construction of Wireless Two Stepper Motors Control System Based PIC Microcontroller Using RF Module
Design and Construction of Wireless Two Stepper Motors Control System Based PIC Microcontroller Using RF Module
Design and Construction of Wireless Two Stepper Motors Control System Based PIC Microcontroller Using RF Module
Vol.03,Issue.24
September-2014,
Pages:4737-4743
www.semargroup.org,
www.ijsetr.com
Abstract: A Stepper motor is the most useable tool applied in process control, machine tools and robotics. Especially in robotics
and process control, it is necessary to control the stepper motor from a remote place. The radio frequency module is basically a
PIC microcontroller based wireless communication system. The control switches are used to control the direction of stepper
motors corresponding angle. The resolution of motors is 7.5 degree/step. The status of these switches is transmitted by using RF
transmitter and receiver. The RF modules used in this project are KST (Tx-01) transmitter and KST (Rx-706) receiver. The four
switches are interfaced to the RF transmitter through the 16F877A PIC microcontroller. The microcontroller continuously reads
the status of the switches, pass data through the RF transmitter displayed on LCD module and the transmitter transmits the data.
At the receiving end, the RF receiver receives this data, gives to the microcontroller. The microcontroller reads the data and after
processing, performs the corresponding action i.e., to rotate the motors clockwise and anticlockwise. 16x2 Liquid Crystal display
(LCD) display is provided at the transmitter side to display the status of the stepper motors.L298N driver is used to drive the
stepper motor. This project uses regulated 5V, 500mA power supply, and 12 V for motors driver supply.
Keywords: 16F877A PIC Microcontroller, RF Module, Stepper Motor Driver (L298N), Bipolar Stepper Motors.
I. INTRODUCTION this hardware we have used visual basic or PIC Basic Pro
In the modern world of science and technology most of language.
the industry is dependent on the robotics and computer II. SYSTEM DESIGN
related devices. One of such methods is performing a full Overall block diagram of the present project is shown in
rotation into a number of equal steps. Stepper motors are Fig.1. From the block diagram it is clear that two PIC
viewed as the electric motors without commutators. microcontrollers (16F877A) have been used, one is with
Commutator is a rotary electrical switch in certain types of transmitter side and the other is in the receiver side which
electric motors or electric generators that periodically
reverses the current direction between the rotor and the
external circuit. A commutator is a common feature of
direct current rotating machines.[3] In a motor all the
windings are part of stator. The rotor is a permanent magnet
or a tooth block of some magnetically soft material. The
motor controller should handle all the commutation
extremely. Audio frequencies are used to step most of the
stepper motors. In such cases they spin quickly. They can be
stopped and started at controlled orientations. Stepper
motors are used in simple open loop control systems,
suitable for the systems operating at low accelerations with
static loads. A stepper over-torqued in an open loop system
will result in losing all knowledge of rotor position and a re-
initialization of system is required. In this project we have
used RF modules in order to control the system wirelessly
from a remote area. We have designed hardware with
Fig.1.System block diagram of the wireless two stepper
transmitting and receiving capabilities. In order to program
motors control system.
Fig.3.PIC 16F877A.
C. Stepper Motor
Stepper motors operate differently from DC brush
motors, which rotate when voltage is applied to their
terminals. Stepper motors, on the other hand, effectively
Fig.2(b). RF receiver (KST-Rx 706). have multiple "toothed" electromagnets arranged around a
central gear-shaped piece of iron as shown in Fig.4. An
Features of RF Module: RF module is as shown in external control circuit, such as a microcontroller, energizes
Fig.2(a), (b). the electromagnets. To make the motor shaft turn, first one
Range in open space(Standard Conditions) : 100 electromagnet is given power, which makes the gear's teeth
Meters magnetically attracted to the electromagnet's teeth. When
RX Receiver Frequency : 433 MHz the gear's teeth are thus aligned to the first electromagnet,
RX Typical Sensitivity : 105 Dbm they are slightly offset from the next electromagnet. So,
International Journal of Scientific Engineering and Technology Research
Volume.03, IssueNo.24, September-2014, Pages: 4737-4743
Design and Construction of Wireless Two Stepper Motors Control System Based PIC Microcontroller using RF Module
when the next electromagnet is turned on and the first is
turned off, the gear rotates slightly to align with the next D. Motor Driver (L298n)
one, and from there the process is repeated. Each of those It is a high voltage, high current dual full-bridge driver
slight rotations is called a "step," with an integer number of designed to accept standard TTL logic levels and drive
steps making a full rotation. In that way, the motor can be inductive loads such as relays, solenoids, DC and stepping
turned by a precise angle. motors. Two enable inputs are provided to Enable or disable
the device independently of the input signals as shown in
Fig.5. The emitters of the lower transistors of each bridge
are connected together and the corresponding external
terminal can be used for the connection of an external
sensing resistor. An additional supply input is provided so
that the logic works at a lower voltage.
RC4
16F877A 27
10K Microcontroller RD4
RD5 28
5V
22P
13
OSC1
4M
34 data
HZ RB0 TX01
14
OSC2
22P RF TRANSMITTER
VSS VSS
12 31
1 15 6 11 5V
1 11 32
35
MCLR/ VDD VDD RB2
VPP
34
RB1 36
RB3
37 5V 12V
RB4 100nF
470uF
38
RB5
RC2 8 4 2
3
RC3 7 3
16F877A STEPPER
RC4 10 MOTOR
Microcontroller 12 WINDINGS
RC5 13
L298N
RD0
RD1 14
RD2
22P 13 RD3
OSC1 1 15 6 11
RD4 5V
4MHZ RD5
14
OSC2
22P 1
VSS VSS VEE
3
VSS D4 D5 D6 D7 RS E
11 12 13 14 4 6
5,16
Fig.10. The ISIS simulated screen of the system in data Fig.12. The ISIS simulated screen of the system in data
transmit and receive mode sending request “ motor A transmit and receive mode sending request “ motor B
rotating clockwise”. rotating clockwise”.
International Journal of Scientific Engineering and Technology Research
Volume.03, IssueNo.24, September-2014, Pages: 4737-4743
MIN CHIT KO, KYAW SOE LWIN
VIII. REFERENCE
[1] Hausila Singh and Sudhansu Sharma, “Some Novel
microprocessor based configurations for controlling
Remotely Located stepper Motors as Actuators of control
valves”, IEEE Transaction on industrial electronics,
AUGUST 1991, 38(4), PP 283-287.
[2] Joao Neves Moutinho, Fernando David Mesquita, Nuno
Martins and Rui Esteves Araaujo. “Progresses On The
Design of a Surveillance System to Protect Forests from
Fire”, IEEE Conference on Emerging Technologies and
Factory Automation, 2, 16-19 Sept.2003, PP 191-194,
10.1109/ETFA.2003.1248696.
[3] D. Manojkumar, P. Mathankumar, E. Saranya and S.
pavithradevi, “Mobile Controlled Robot using DTMF
Technology for Industrial Application”, International
Journal of Electronics Engineering Research, 2010, 2( 3),
PP. 349-355.
[4] Stepping Motors and their Microprocessor controls,
Takashi Kenjo, 1994.