8051 instruction set
 simple programs of 8051
 introduction to keil
 sample programs in keil
 interfacing programs in Keil
 working with IC 555
 working with UMPS
 interfacing LCD with 8051
 working with unknown stepper motor
 working with bipolar stepper motor

Wireless stepper motor speed control using laser and IC555

This is a very interesting application. We shall vary the speed of stepper motor from a remote place without any wire connection. I am using LASER and LDR for this purpose. From the transmitter, I will send low frequency pulses using LASER to the receiver. The LDR on receiver side will receive these pulses in form of LASER light. It will trigger monostable multi-vibrator to regenerate same pulses. These pulses will further drive the stepper motor through driver circuit. So as anyone changes pulse frequency from transmitter, the stepper motor speed will change accordingly

Let us first see the block diagram of the system.

Block diagram: -

Pulse generator: - Its astable multi-vibrator using IC555 that generates variable low frequency pulses from 5 to 40 Hz

Laser: - The light output of LASER is modulated using output pulses of pulse generator. So light simply works as carrier for low frequency pulses

LDR: - It catches light signal and triggers monostable multi-vibrator

Monostable multi-vibrator: - It reproduces the pulses that is of same frequency as transmitter and give it to counter

Counter and OR gates: - Together these two will generate sequential pulses to drive the stepper motor properly

Current driver: - This will provide enough current to motor coil

Stepper Motor: - Its unipolar type stepper motor with max RPM of 200 - 250 and operating voltage of 5 VDC.

Circuit Diagram: -  

As shown in above figure the circuit is divided in two different sections 1) transmitter and 2) receiver

Transmitter: - As I said earlier transmitter is astable multi-vibrator using IC555. If we calculate the minimum and maximum output pulse frequency depending upon given values of RC components then

fmax = 1.44 / {(100 + 2*100)*1000*100*10-9}

        = 1.44 * 1000 / 300

        = 48 Hz 

And

fmin = 1.44 / {(0.1 + 2*1.1)*106*100*10-9}

        = 1.44 * 10 / 2.3

        = 6 Hz

These low frequency pulses are directly given to LASER diode that generates LASER light beam. So actually LASER light is modulated with the help of these pulses. You may observe blinking LASER light effect when you apply 5 V supply to the circuit

Note: - The laser that I have used here is the laser key-chain readily available in the market. Just remove all button cells and cut the button cell section. Get the laser diode out and take out positive and negative (from outer body) connections. Now your LASER is ready to emit light beam through your circuit.    

Receiver: -

Connections: - The first stage in the receiver side is the monostable multi-vibrator. The LDR along with 4.7K resistor used to trigger it. The output of monostable is given to clock input of counter. Its decade counter so there are 10 outputs O0 - O9. Out of these ten outputs 8 outputs are combined in group of 2 as O1-O4, O2-O5, O3-O6 and O4-O8 and applied to inputs of four OR gates as shown. All four consecutive outputs of OR gates are given as input to current driver chip ULN2003A. The four outputs of ULN are connected with four motor coil in sequence as RED-BLUE-WHITE-YELLOW. Two common terminals of motor (GREEN) are connected with Vcc.

Operation: - When LDR receives LASER light its resistance decreases. So the voltage on trigger i/p pin 2 will also decreases so we shall get output pulse from monostable. Time period of these pulse is to Small (1.1 ms) as compared to transmitted pulse (21 - 166 ms). So simply it will follow the period of transmitted pulse and generates same pulse as transmitted. This is indicated by GREEN LED. As these pulses are fed as clock input to decade counter its all ten outputs will produce pulse output one by one in sequence from O0 to O9. This counting is indicated by BLUE LED. Because outputs O0 to O3 and O4 to O8 are combined and given to inputs of OR gate we get four outputs to drive four stepper motor coils. Finally these four outputs are given as input to ULN chip which has built in NPN Darlington pair that will provide enough current to drive stepper motor coil and rotate motor. Thus motor rotates at the same frequency of transmitted pulse. As any one changes the frequency of transmitted pulse the motor RPM will also varies. 

So this is how we may change the speed of stepper motor wirelessly using LASER. now if anyone wants to change the direction of stepper motor then it require slight modification in receiver circuit. the output from OR gates are given to inputs of ULN through DPDT switch as shown in given figure.

when switch is on position A-A' then OR gate output 2 and 4 are given to inputs 2 and 4 of ULN chip and motor rotates in one direction. now as the switch is moved to position B-B' the OR gate outputs 2 & 4 are interchanged and given to inputs 4 & 2 and motor changes its direction.   

All the projects are designed and developed by sight owner and they are thoroughly tested by him. ©Copyrights Ashutosh Bhatt 2010. All rights reserved.