Discussion in "Project Help" started by    dez    Jan 7, 2008.
Mon Jan 07 2008, 01:02 pm
#1
Hello,

I have to finish and make a report about the project below in a week.
My problem is: I dont have hardware part now and i m wondering how to simulate my assembly program in any sofware. I m used to simuate in Proteus Isis. But i dont know how to build the circuit with RS232 in ISIS.
Can anybody help me?
Thanks in advance!


an Assembly Language Program to control a DC Motor interfaced to a PC through the parallel port. The project contains the following modules:

1. Motor Driving Module (Output Module):

· The motor will rotate clockwise if f (forward) key is pressed and will rotate anticlockwise if r (reverse) key is pressed.

· The speed of the motor will be changed by introducing different PWM signals with changing duty cycles.

2. Speed Display Module (Output Module):

· The speed of rotating motor will be indicated by displaying a single digit 7-segment display. There will be speeds from 0 to 9. The speed which is displayed on the 7-segment display will also be displayed on the monitor with its direction (clockwise or anticlockwise).

· The positive speeds will be shown as they are (from 0 to 8) and the negative speeds will be displayed in two’s complement form.

3. Up and Down Push Buttons (Input Module):

· The speed of the motor will be controlled by the two external push buttons (Up and Down) connected to the PC through the parallel port. The speed will be incremented or decremented one by one by pushing to Up or Down buttons respectively.
Mon Jan 07 2008, 03:25 pm
#2
u can use virtual terminal in instruments section or COMPIM (in devices) to simulate serial port.
Mon Jan 07 2008, 03:29 pm
#3
Yeah I know this. Thanks.
But i couldnt do it properly. Can you give me a link? or maybe a tutorial working properly.
I m not sure with my problem. It may be because of ports :S


[ Edited Mon Jan 07 2008, 03:30 pm ]
Mon Jan 07 2008, 03:39 pm
#4
i dont have any tutorial or link :-| . but if u tell what problem you are facing :-| we can solve it :-)
Mon Jan 07 2008, 04:16 pm
#5
If it is possible, can you make a little circuit working properly, that includes rs232 is connected to 1 led and i can test it by using "out #,data" command.
You may send to my emai: [email protected] or upload anywhere and everybody can see it in the future.
Mon Jan 07 2008, 06:39 pm
#6
There is no need of using COMPIM. Just make circuit on proteus.. with DC motor connected.. and make use of virtual terminal provided in the proteus.

For driving a DC motor.. you need a H-Bridge circuit commonly available as L293D IC. But simulation of this IC is not available so make use of transistor based H-bridge.. you can take a look at the sample circuit from the DC Motor tutorial.. BJT based H-Bridge demo is given...

Just make the simulation circuit... and it will work perfectly. if you feel any problem i am here..
Mon Jan 07 2008, 07:10 pm
#7
and tell me if u want to simulate L293D :-) i have its simulation model
Mon Jan 07 2008, 07:28 pm
#8
wow... mail me..
Mon Jan 07 2008, 08:06 pm
#9
try if it works in this way
L293D Spice model
HIDDEN - LOGIN AND REPLY TO REVEAL


[ Edited Mon Jan 07 2008, 09:21 pm ]
Tags L293D proteusspice model L293d ProteusL293D simulation model proteus
Mon Jan 07 2008, 08:21 pm
#10
I want to put it in the download section.. so asking you if its working or not..
can you give me a screenshot of it? i am not on my PC hence no softwares..

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am