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

Rickey's World :: Discussion Forums :: Discuss and Learn :: 8051 Discussion Forum
 
<< Previous thread | Next thread >>
need help plz:(
Go to page       >>  
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
Gabytzu
Wed May 06 2009, 12:12PM
 User Offline
Registered Member #18255
Joined: Wed May 06 2009, 11:51AM

Posts: 7
Thanked 0 times in 0 posts
i have to make a project with 8051 (frec 21Mhz) microcontroller with external memory RAM(6264 8kx8) and ROM(2764 8kx8).external timer 8253,external Pio 8255 with 4 cells common annode.the project reprezent a washing machine.i need help to make the machine code(assembler) for cells -multiplex display and i need help to know how connect the keyboard with 3 functions (f,t,s) an 5 taste.i need help four interrupts,keyboard,display,code machine



[ Edited Wed May 06 2009, 12:32PM ]

8051
Back to top

DavesGarage
Wed May 06 2009, 05:52PM

 User Offline
Registered Member #14254
Joined: Tue Jan 20 2009, 08:14AM

Posts: 620
Thanked 116 times in 112 posts
Sounds like a fun project! If you choose a 22.1184Mhz crystal, you'll also be able to generate serial data and interface your target to a PC serial port. This is fantastic for troubleshooting, and controlling your system from the PC during development. (Just a suggestion).

Pick one thing to start with, and let's get started. Start with a schematic. Get your processor drawn, your crystal, your power supply, and your reset circuit. These are the fundamentals. When you have this drawn, post it here and we'll help you move to the next step.

Good luck!



-Dave
"Basic research is what I am doing when I don't know what I am doing"
Back to top

Gabytzu
Thu May 07 2009, 09:14AM
 User Offline
Registered Member #18255
Joined: Wed May 06 2009, 11:51AM

Posts: 7
Thanked 0 times in 0 posts
this is the schematic...but i don't know if they are in a corect order..i ca't make to work the display maybe if i don't make a good program.i need a opionion urgent.must to finish the project in maximum 2 weeks:(( please help.i need a oven in proteus and i don't know how to connect.
t



[ Edited Thu May 07 2009, 09:16AM ]

8051
Back to top

DavesGarage
Thu May 07 2009, 12:52PM

 User Offline
Registered Member #14254
Joined: Tue Jan 20 2009, 08:14AM

Posts: 620
Thanked 116 times in 112 posts
Well, first question is, "did you design this?"...

I notice you're using external code memory (2764 EPROM). Your processor won't be able to fetch from this unless you connect the PSEN line to it...

I suggest you read about the PSEN line in the datasheet to fully understand what I'm talking about here...

Also, on your external RAM chip (6264), you don't have the CE line enabled. This is a must. Make sure to tie all unused inputs either high or low, depending on what they're suppose to do...

Next question, can you explain how you are proposing to control the 7-SEG displays to me? I'd like to understand what you think you are doing...

Keep up the good work!




-Dave
"Basic research is what I am doing when I don't know what I am doing"
Back to top

Gabytzu
Thu May 07 2009, 12:59PM
 User Offline
Registered Member #18255
Joined: Wed May 06 2009, 11:51AM

Posts: 7
Thanked 0 times in 0 posts
this is a homework for a project at university and the component can't be the same.they differ by person to person.i need some materials with 8051 microcontroller if you can to help me.the 7 segment display must start when the relaxing of taste made.i need book wrote by mazidi.

8051
Back to top

DavesGarage
Thu May 07 2009, 05:19PM

 User Offline
Registered Member #14254
Joined: Tue Jan 20 2009, 08:14AM

Posts: 620
Thanked 116 times in 112 posts
I'm sorry, but I am getting confused. You mention "taste" in your last message, but you mention a "washing machine" in your first message.

What exactly are you trying to build here? A washing machine is a machine that can be used to wash clothing. It has several "cycles" that can be chosen for delicate, sturdy, or normal clothing. It also can have features like how many times to rinse the clothing.

Taste is something your mouth does when you eat food...

sorry for any confusion, but let's start again, and help me to understand exactly what you want to accomplish. Once I understand this, I will be able to point you in the right direction...



-Dave
"Basic research is what I am doing when I don't know what I am doing"
Back to top

Gabytzu
Fri May 08 2009, 12:41AM
 User Offline
Registered Member #18255
Joined: Wed May 06 2009, 11:51AM

Posts: 7
Thanked 0 times in 0 posts
sorry my mistake.must to make a washing machine with the 8051 controller withe external ram an external rom,external timer,external pio with 4 7 segment display and a keyboard with 3 function F T S and 5 operation.

1.CPU Type: 8051;
2. Frequency of the CPU: 21Mhz;
3. Type and the memory ROM: 2764 8kx8 externa;
4. Type of organization RAM: 6264 8kx8 externa;
5. Timer circuit type: external 8253;
6. Type circuit parallel port: external 8255;
7. soaking1 Ti1 time: 25min;
8. soaking2 Ti2 time: 32min;
9. soaking3 Ti3 time: 43min;
10. wash1 Ts1 time: 19min;
11. wash2 Ts2 time: 31min;
12. rinsing1 TC1 Time: 25min;
13. rinsing2 TC2 time: 36min;
14. drying1 Tu1 time: 23min;
15. drying2 Tu2 time: 32min;
16. Number of cells display led 4 cell displays

8051
Back to top

DavesGarage
Fri May 08 2009, 11:34AM

 User Offline
Registered Member #14254
Joined: Tue Jan 20 2009, 08:14AM

Posts: 620
Thanked 116 times in 112 posts
Something like this?





-Dave
"Basic research is what I am doing when I don't know what I am doing"
Back to top

Gabytzu
Fri May 08 2009, 02:00PM
 User Offline
Registered Member #18255
Joined: Wed May 06 2009, 11:51AM

Posts: 7
Thanked 0 times in 0 posts
if you can help me i need to make the machine code.this with MOV,MOVX,DPTR....for display 7 segment to work in scheme.i'm a beginner programmer and i can't make this.i'm finish de scheme but i have a question?where i put the 8253 timer free pins out1 out2 gate clk.thanks

8051
Back to top

ExperimenterUK
Fri May 08 2009, 03:13PM
 User Offline
Registered Member #9602
Joined: Tue Aug 05 2008, 04:15PM

Posts: 1245
Thanked 199 times in 198 posts
It seems odd to use an 8051, which has timers, memory etc built in
and then use so many external devices.

Are you sure you should not be using an 8085 ?

Should it be 12.00 meg not 21.00 meg ?

Your display driver is wrong.
Remove U7 and drive each segment from a pin on the 8255.

As Dave said, you have left CS ,OE etc, pins not connected
that need to be connected.

I think it will be hard for the user to select a wash program using
three buttons and this led display.
Can you use an LCD display instead ?.


[ Edited Fri May 08 2009, 03:21PM ]
Back to top

Go to page       >>   

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