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
dez
Sun Jan 06 2008, 11:32PM
 User Offline
Registered Member #5376
Joined: Sun Jan 06 2008, 11:19PM

Posts: 18
Thanked 0 times in 0 posts
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.

Back to top


abbas1707
Mon Jan 07 2008, 01:55AM

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

Posts: 414
Thanked 67 times in 52 posts
u can use virtual terminal in instruments section or COMPIM (in devices) to simulate serial port.

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


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

Posts: 18
Thanked 0 times in 0 posts
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

[ Edited Mon Jan 07 2008, 02:00AM ]
Back to top


abbas1707
Mon Jan 07 2008, 02:09AM

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

Posts: 414
Thanked 67 times in 52 posts
i dont have any tutorial or link . but if u tell what problem you are facing we can solve it

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


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

Posts: 18
Thanked 0 times in 0 posts
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: mpguybrush@yahoo.com or upload anywhere and everybody can see it in the future.
Back to top


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

 User Offline

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

Posts: 3753
Thanked 696 times in 655 posts
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..

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, 05:40AM

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

Posts: 414
Thanked 67 times in 52 posts
and tell me if u want to simulate L293D i have its simulation model

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


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

 User Offline

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

Posts: 3753
Thanked 696 times in 655 posts
wow... mail me..

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, 06:36AM

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

Posts: 414
Thanked 67 times in 52 posts
try if it works in this way
L293D Spice model
The content of the post is hidden!
Please Login to see the hidden post.
If you are new to the website Please Signup!


[ Edited Mon Jan 07 2008, 07:51AM ]

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, 06:51AM
Rickey's World Admin

 User Offline

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

Posts: 3753
Thanked 696 times in 655 posts
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..

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


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