Discussion in "Project Help" started by    dez    Jan 7, 2008.
Mon Jan 07 2008, 10:30 AM
#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, 10:50 AM
#12
you gave him the code? lol!
Mon Jan 07 2008, 12:13 PM
#13
oho :mad
Mon Jan 07 2008, 01: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, 01:47 PM
#15
i dont think that there will be any problem :-)
Mon Jan 07 2008, 09:02 PM
#16
no there wont be.. he still has to do the major parts.. hope he come back and see what is going on
Mon Jan 07 2008, 09:07 PM
#17
Thanks a lot!


[ Edited Mon Jan 07 2008, 09:08 PM ]
Tue Jan 08 2008, 07:32 AM
#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, 01:03 PM
#19
is this model a custom made? or what?
Wed Jan 09 2008, 05: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

scena
Tue May 19 2020, 06:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 03:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 09:39 AM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 06:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 08:55 AM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 12:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 11:58 AM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 05:12 AM
Pearl Olin
Hello,
Wed Jan 22 2020, 01:16 PM
MINU CHAUDHARY
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 02:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me

Downloads

Comments

Davidthils
Thu May 21 2020, 08:44 AM
Jakeror
Wed May 20 2020, 09:28 PM
motorCar
Wed May 20 2020, 03:05 PM
Vordrync
Wed May 20 2020, 07:52 AM
JadenjiT
Wed May 20 2020, 03:15 AM
scena
Tue May 19 2020, 06:08 PM
CodySiz
Tue May 19 2020, 02:22 PM
ClaireSat
Mon May 18 2020, 09:50 PM

Online

Guests: 82, Members: 0 ...

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

Members: 38211
Newest member: Davidthils
Forum Activity
xrxx Avatar
Posted By xrxx
Thu Apr 30 2020, 06:59 AM
BCD MULTIPLICATIONAssume that you have to 2 BCD nu...
liqian Avatar
Posted By liqian
Tue Apr 28 2020, 05:26 AM
I happened to see your post and I got many useful ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 28 2020, 04:21 AM
The code is hard to read.Please zip it and attach ...
rogermado Avatar
Posted By rogermado
Sun Apr 26 2020, 01:53 AM
@ExperimenterUK, thanks for your reply. You'll fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Apr 25 2020, 05:42 PM
Some simulators handle displays better than others...
rogermado Avatar
Posted By rogermado
Sat Apr 25 2020, 03:59 PM
Hello everyone, sorry in advance if i'm not in the...
PHANTOM28 Avatar
Posted By PHANTOM28
Fri Feb 28 2020, 10:25 AM
Hi.I hope you all can help me. I am relatively ne...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Feb 21 2020, 05:05 PM
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Feb 21 2020, 04:45 AM
Yes you can do that.1. Create a channel @Thingspea...
ananyagupta Avatar
Posted By ananyagupta
Thu Feb 20 2020, 03:58 AM
With regards to the particular characters sent to ...