11-02-2012, 10:46 AM
Current generation moves into wireless technology
Current generation moves into wireless technology. Every one wishes to use remote controls. In this way, the speed of the DC motor is controlled by IR rays. IR rays get modulated with combination of data signal and carrier wave of 38 kHz. At the received end, the modulated signal is demodulated which is given to another controller, connected to the Dc motor driving circuit.
Algorithms:
Transmission
STEP1: Start
STEP2: Initialize the LCD
STEP3: Display speed on LCD
STEP4: Check for interrupt
STEP5: If INT0, increment counter and transmit.
STEP6: If INT1, decrement counter and transmit.
STEP7: Repeat STEP3.
STEP8: End
Reception
STEP1: Start
STEP2: Initialize the LCD
STEP3: Check for serial interrupt
STEP4: Display the received value
STEP5: If Caught compare R0 for 31,32,33,34.
STEP6: If R0 = 31 run motor in 25% speed
STEP7: If R0 = 32 run motor in 50% speed
STEP8: If R0 = 33 run motor in 75% speed
STEP9: If R0 = 34 switch OFF motor
STEP10:Go to STEP3.