DC Motor Control using IR data communication

Thursday, November 6th, 2008

Flowchart for Reception:

Flowchart for Reception

Flowchart for Reception

Flowchart for Interrupt:

Flowchart for Interrupt

Flowchart for Interrupt

Source code:

Transmission program:
ORG 0000H
JMP MAIN
ORG 0003H
JMP INCR
ORG 0013H
JMP DECR
ORG 0023H
JNB TI,REC
CLR TI
MOV P0,A
ACALL DAT
ACALL DELAY
RETI
REC: CLR RI
RETI

ORG 0040H
MAIN: MOV A,#38H
ACALL COMM
ACALL DELAY
MOV A,#0EH
ACALL COMM
ACALL DELAY
MOV A,#01H
ACALL COMM
ACALL DELAY
MOV A,#06H
ACALL COMM
ACALL DELAY
MOV A,#80H
ACALL COMM
ACALL DELAY
MOV IE,#97H
MOV SCON,#50H
MOV TMOD,#2DH
MOV TH1,#0E8H
MOV R0,#30H
SETB TR1
SETB TCON.0         ; EDGE TRIGGERING
SETB TCON.2
SETB TR0

SPEED: MOV R6,TL0
CALL SEC
CALL SEC
CALL SEC
MOV A,TL0
SUBB A,R6
ACALL CONV
MOV A,#0C0H
ACALL COMM
ACALL DELAY
MOV A,R2
ACALL DAT
ACALL DELAY
MOV A,R1
ACALL DAT
ACALL DELAY
MOV A,R7
ACALL DAT
ACALL DELAY
JMP SPEED

COMM: MOV P0,A
CLR P2.7
SETB P2.5
CLR P2.5
RET

DAT: MOV P0,A
SETB P2.7
SETB P2.5
CLR P2.5
RET

DELAY: MOV R3,#50
HERE2: MOV R4,#255
HERE: DJNZ R4,HERE
DJNZ R3,HERE2
RET

;************************** INCREASE SPEED

INCR: INC R0
CJNE R0,#35H ,NEXT           ; TO CHECK IF MAX SPEED CROSSED
DEC R0
RETI

NEXT: MOV A,#80H
ACALL COMM
ACALL DELAY
ACALL SEND
RETI

;*************************   DECREASE SPEED

DECR: CJNE R0,#31H, NEXT2         ; TO CHECK IF MIN SPEED CROSSED
RETI

NEXT2: DEC R0
MOV A,#80H
ACALL COMM
ACALL DELAY
ACALL SEND
RETI

SEND: MOV A,R0
MOV SBUF,A
RET

SEC: MOV R3,#25
H3: MOV R4,#200
H2: MOV R5,#200
H1: DJNZ R5,H1
DJNZ R4,H2
DJNZ R3,H3
RET

CONV: MOV B,#10
DIV AB
MOV R7,B
MOV B,#10
DIV AB
ORL A,#30H
MOV R2,A
MOV A,B
ORL A,#30H
MOV R1,A
MOV A,R7
ORL A,#30H
MOV R7,A
RET
END

Pages: 1 2 3

Avatar Image

Author Name :
Ranjith

Total : 32 Comments


32 Responses to DC Motor Control using IR data communication

  1. brinda

    can u sent me or publish the ciruit diagrm for this project.

  2. sabri

    can u sent me or publish the ciruit diagrm for this project.

  3. swaroop kumar

    how do i construct it for the submission of my project please tell me its very important plz help me out

  4. mohankumar

    Respected Sir,
    I have seen all your projects. Every one is superb. But i need circuit for this DC MOTOR CONTROL USING IR RAYS. Kindly plz help me sir……….

  5. Vipul

    Sir,
    Please send me the circuit diagrams if possible

  6. rohit

    Sir,
    Please send me the circuit diagrams if possible

  7. roman

    Please send me the circuit diagrams if possible

  8. neha

    sir i m interested in your project , can u plz provide me the circuit diagram of this project and also the PCB layout .
    needed urgently as i want to make my project .
    thanks in advance ..

  9. Jody

    Hello sir I like how your project is laid out and i would love to put it together. My i have the circuit diagram and parts list. Thank you for your help

  10. Rinku Garg

    sir, i am a student of final year i wnt the ckt diag. of the dc motor controller using IR data

  11. ramani

    hello sir.i am really interested in reading about this project further. i would like to know it’s working with a circuit diagram. i would be glad if you could help me with the circuit diagram.

    thankyou.

  12. vahdane

    i m interested in your project , can u plz provide me the circuit diagram of this project and also the PCB layout .
    needed urgently as i want to make my final project .
    thanks for your help

  13. subodh

    sir, pls send me the detail ckt diagram , information.

  14. Jimi Falaiye

    Sir, can i please have the circuit diagram and the pcb layout for this project.
    I need it for my final year project and would be grateful if i can get this along with any
    documentation that might be of help.
    Thanks

  15. sweta bajaj

    can u please help me with the circuit diagram
    thank u

  16. sneha

    can we write the code in c++ and send to microcontroller.Plz reply
    very early.

  17. saranya bhavsingh

    i want device drivers program for speed control of dc motor trough
    blue tooth in pc please send very impotent for me 09014696131
    mail id bhavsingh_pm007@yahoo.co.in

  18. rahul kumbhat

    hello. coincidentallyy this is the very same project that me and my partner have been alloted in our syllabus. we have to make a stepper motor work using an infrared remote conteol device. i would be very grateful if u cud mail me the relevant circuit diagrams and also the approximate cost of building the project (components, wires, solder iron etc.)
    hope u do the needful at the earliest possible.
    thanks
    rahul kumbhat

  19. Zubin Gandhi

    SIR…..
    I WANT THE CIRCUIT COMPONENTS DETAILS AND CIRCUIT DIAGRAM CAN U SIR PL.
    HELP ME

  20. monica

    can u plz mail me circuit diagrams and components………..

  21. avinash

    plz can u send me acircuit diagram for this we have mini project we
    wanted to do this project it is good

  22. ankit

    plz send me a details with ckt dig…

  23. tanvi

    please sir can u send me the circiut of the receiver and transmitter please!

  24. priyanka

    pls send me the circuit daigram if possible

  25. NEHA

    PLZ SEND THE CIRCUIT DIAGRAM OF DIS PROJECT…..

  26. Avinash

    Sir,

    PLz send me d ckt diargram, all d details of d project, cost etc

  27. vivek

    sir,
    kindly send me the required circuit diagram and pcb layout of DC MOTOR CONTROL USING IR DATA COMMUNICATION.
    Please send as early as possible.
    vivek suryavanshi

  28. olivyat

    i need to program a microcontroller so as to control electric scissor type screw jack by infrared using the TV remote

  29. A.Sanjaya

    Sir,

    Plz send me the ckt diagram of 8085 microcontroller burner

  30. nandkishor gupta

    DC Motor Control using IR data communication send plz circuit diagram 9oct 2011 plz early send ckt diagram thanks

  31. amit

    plz send me ckt diagram,….

  32. kranthi

    i want the programs for all the projects which are being displayed here.

    can anyone help me. thanks in advance..

Leave a Reply

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup