electrofriends.com  

...bringing innovative minds together       | HOME | ABOUT US | ARTICLES | SOURCE CODES | PROJECTS | EBOOKS |  FEEDBACK |  

DC MOTOR CONTROL USING IR DATA COMMUNICATION

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.

FLOW CHART FOR TRANSMISSION:

FLOWCHART FOR INTERRUPT(INT0):

FLOWCHART FOR INTERRUPT(INT1):

| Next page |
 

Other Microcontroller projects and articles

 Digital IC Tester using 8951 Microcontroller

 Automatic Railway Gate Control

 Car parking system using 8051 Microcontroller

 Interfacing an LCD to the 8051 Microcontroller

 8051 microcontroller Instruction Set

 8051 Microcontroller port programming

 Programmable number lock system

 Water level indicator cum controller

 Robotic car

 Intelligent Train Engines

 For more projects click here

 

 

 | HOME | ABOUT US | ARTICLES |  SOURCE CODES | PROJECTS |  SITEMAP |  EBOOKS | FEEDBACK |   



  Copyrights © 2005-2007 electrofriends.com, All rights reserved. webmaster@electrofriends.com