Discussion in "Project Help" started by    dez    Jan 7, 2008.
Mon Jan 07 2008, 07:32 AM

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, 09:55 AM
u can use virtual terminal in instruments section or COMPIM (in devices) to simulate serial port.
Mon Jan 07 2008, 09:59 AM
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, 10:00 AM ]
Mon Jan 07 2008, 10:09 AM
i dont have any tutorial or link :-| . but if u tell what problem you are facing :-| we can solve it :-)
Mon Jan 07 2008, 10:46 AM
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, 01:09 PM
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, 01:40 PM
and tell me if u want to simulate L293D :-) i have its simulation model
Mon Jan 07 2008, 01:58 PM
wow... mail me..
Mon Jan 07 2008, 02:36 PM
try if it works in this way
L293D Spice model

[ Edited Mon Jan 07 2008, 03:51 PM ]
Tags L293D proteusspice model L293d ProteusL293D simulation model proteus
Mon Jan 07 2008, 02:51 PM
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


Powered by e107 Forum System


No messages yet.



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 89, Members: 0 ...

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

Members: 38215
Newest member: Mirza123