Discussion in "Project Help" started by    dez    Jan 7, 2008.
Mon Jan 07 2008, 03:30 PM
#11
then put this.how to use l293d on proteus
http://rapidshare.com/files/81973769/using_l293d.zip


Tags L293D proteusspice model L293d ProteusL293D simulation model proteus
Mon Jan 07 2008, 03:50 PM
#12
you gave him the code? lol!
Mon Jan 07 2008, 05:13 PM
#13
oho :mad
Mon Jan 07 2008, 06:27 PM
#14
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?
Mon Jan 07 2008, 06:47 PM
#15
i dont think that there will be any problem :-)
Tue Jan 08 2008, 02:02 AM
#16
no there wont be.. he still has to do the major parts.. hope he come back and see what is going on
Tue Jan 08 2008, 02:07 AM
#17
Thanks a lot!


[ Edited Tue Jan 08 2008, 02:08 AM ]
Tue Jan 08 2008, 12:32 PM
#18


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

Ajay


lol
i was talking about placing proteus model on server..
Tue Jan 08 2008, 06:03 PM
#19
is this model a custom made? or what?
Wed Jan 09 2008, 10:18 PM
#20
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 )? :S

; 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

Get Social

Information

Powered by e107 Forum System

Conversation

Wed May 12 2021, 06:11 AM
Laurinda
Great website. A lot of useful information here. I'm sending it to some pals ans also sharing in delicious. And of course, thanks on your effort! annual credit report https://creditscorecheckn.com
Wed May 12 2021, 05:37 AM
Joann
Does your site have a contact page? I'm having problems locating it but, I'd like to shoot you an email. I've got some recommendations for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it improve over time. get credit report https://freecreditreportww.com
Wed May 12 2021, 04:47 AM
Jenna
This paragraph will help the internet people for creating new weblog or even a weblog from start to end. Credit Report Online https://creditscoresws.com
Wed May 12 2021, 03:37 AM
Tanja
This article is actually a nice one it assists new the web people, who are wishing in favor of blogging. credit report https://creditreportsww.com

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 79, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123