free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  1 [2] 3 4 5
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
abbas1707
Mon Jan 07 2008, 07:30AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 67 times in 52 posts
then put this.how to use l293d on proteus
http://rapidshare.com/files/81973769/using_l293d.zip






A Thousand Miles Journey Starts With a Single Step.
Back to top

L293D proteus   spice model L293d Proteus   L293D simulation model proteus   


Ajay
Mon Jan 07 2008, 07:50AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
you gave him the code? lol!

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


abbas1707
Mon Jan 07 2008, 09:13AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 67 times in 52 posts
oho

A Thousand Miles Journey Starts With a Single Step.
Back to top


Ajay
Mon Jan 07 2008, 10:27AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
no problem.. do not remove it now.. just let him take it as a reference.. ok! anyways thank you for the model..

Just wanted to ask. is it ok to host Proteus spice model file on server?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


abbas1707
Mon Jan 07 2008, 10:47AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 67 times in 52 posts
i dont think that there will be any problem

A Thousand Miles Journey Starts With a Single Step.
Back to top


Ajay
Mon Jan 07 2008, 06:02PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
no there wont be.. he still has to do the major parts.. hope he come back and see what is going on

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


dez
Mon Jan 07 2008, 06:07PM
 User Offline
Registered Member #5376
Joined: Sun Jan 06 2008, 11:19PM

Posts: 18
Thanked 0 times in 0 posts
Thanks a lot!

[ Edited Mon Jan 07 2008, 06:08PM ]
Back to top


abbas1707
Tue Jan 08 2008, 04:32AM

 User Offline
Registered Member #383
Joined: Thu Jan 25 2007, 08:07AM

Posts: 414
Thanked 67 times in 52 posts
Ajay wrote ...

no there wont be.. he still has to do the major parts.. hope he come back and see what is going on

lol
i was talking about placing proteus model on server..

A Thousand Miles Journey Starts With a Single Step.
Back to top


Ajay
Tue Jan 08 2008, 10:03AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
is this model a custom made? or what?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


dez
Wed Jan 09 2008, 02:18PM
 User Offline
Registered Member #5376
Joined: Sun Jan 06 2008, 11:19PM

Posts: 18
Thanked 0 times in 0 posts
Hi,
I came back again
Thanks for explaining me how to simulate the circuit but i have to write the program. I wish i could write in C, unfortunately i have to write it in asm, even in tasm. So i dont have much time and i cant find sources. You helped me a lot but please if you can show me how to finish this, i will be very grateful.
I dont know how to write those functions for key_pressed situation.
And another question, should i use a pic to get the data from parallel port and from push buttons and then control the 7seg and dc motor? or should the data from parallel port control the dc motor and the 7seg ( but then how can i include push buttons )?

; cursor function
cursor macro r,c

mov bh,00
mov ah,02
mov dh,r
mov dl,c
int 10h

endm


; display function
display macro str
mov ah,09h
mov dx,offset str
int 21h
endm

.stack 64
.data
l1 db ' Welcome ','$'
l2 db ' Press f to rotate clockwise ','$'
l3 db ' Press r to rotate counter-clockwise ','$'
l4 db ' You may adjust the speed by speed adjust buttons ','$'
l5 db ' You can see the motor speed on the 7-seg ','$'
l6 db ' Press q to quit the program ','$'

delayer dw 33147
hu dw 0
ku dw 0

7segport db ?
motorport1 db ?
motorport2 db ?
btnUpPort db ?
btnDownPort db ?


.code
main:
mov ax,@data
mov ds,ax

clr

cursor 2,6
display l1
cursor 4,6
display l2
cursor 6,6
display l3
cursor 8,6
display l4
cursor 10,6
display l5
cursor 12,6
display l6

cursor 16,6


key_check:
mov ah,07
int 21h

cmp al,'r'
je r_pressed
cmp al,'f'
je f_pressed
cmp al,'u'
je up_pressed
cmp al,'d'
je down_pressed
cmp al,'q'
je quit
jmp key_check


r_pressed:
jmp key_check


f_pressed:
jmp key_check


down_pressed:
jmp key_check


up_pressed:
jmp key_check


q_pressed:
jmp key_check


quit:
mov ah,4ch
int 21h
end main
Back to top


Go to page  1 [2] 3 4 5  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems