Discussion in "8051 Discussion Forum" started by    adzlan88    Sep 13, 2010.
Mon Sep 13 2010, 03:57 pm
#1
hello,
This is my first time posting to this forum hope u all can guide me. Im doing this project for my fyp. The problems starts in the simulation. I need to simulate the circuit using Multisim but i can't find any AT89S52 only 8051 component. Can i just simulate using the 8051? 2nd problem regarding the infrared receiver, i also can't find it on the Multisim. Can u guys give suggestion on how to simulate this project? Or maybe by using other simulation software..
I really hope u guys can help me with this project.

Below are the circuit.



Mon Sep 13 2010, 03:58 pm
#2
 thanadetBlaxsun like this.
Mon Sep 13 2010, 05:48 pm
#3
Hi adzlan88,

Use proteus ISIS simulator for above circuit.
 adzlan88Blaxsun like this.
Mon Sep 13 2010, 06:00 pm
#4
hi kirangowle, thnks for the suggestion, currently im installing the proteus simulator. I'll get back here if got any problems.
 Blaxsun like this.
Mon Sep 13 2010, 07:32 pm
#5
hi adzlan88
AT89S52 is also not in proteus
at89s52 and at89c52 is basically same
at89s52 has a watchdog timer and at89c52 does not
do it with at89c52

and ir reciever is also not in proteus u can build above circuit in proteus and at the point where ir reciever is used u can use logic state of 1 or 0 to check the ckt behaviour at 0 and 1 logic
 adzlan88 like this.
Mon Sep 13 2010, 08:02 pm
#6
Thanks majoka for the information.
I'll change the controller to at89c52. I already searched libraries for the ir receiver and only found the IRLINK in proteus. Maybe im going to implement your concept by using the logic state.
Mon Sep 13 2010, 09:34 pm
#7
Now im having trouble for the receiver..
To use the logic state, should i make a direct connection to the P1.0 and P1.1 using pulse signal or is there other method?
Sorry because this thing is new for me...

Below is the circuit that i managed to complete and can anyone confirm the connection of the 7 segments is correct?


http://img824.imageshack.us/img824/606/fypf.jpg
 thanadet like this.
Tue Sep 14 2010, 12:25 am
#8
hi adzlan88
u dnt need to connect it direct to p1.0 and p1.0 u connect logic state at that point where ir reciever output is attached to verify the ckt that what it behav at 0 and 1 logic becoz output of ir reciever is 0 and 1 logic
to try ir portion not to simulate it directly implement it on hardware proteus does not give u the correct result for ir portion
as i remmembr i built this ckt in past but ir portion not works
but u try it by urself on hardware u learn alot if u see that it is not working then tell me i give u the circuit

i see the ckt diagram u upload
it seem to me that u r using common cathode 7 seg using port0
if u want to drive it using port0 u need pull up resistors
replace 56k by 10k according to data sheet of at89c52
here is a multiplexing technique is used to display 2 digits on 2 seg but using 1 port
u are driving the both transistors on same pin u need a seperate pinto drive 2nd transistor
before this u should understand multiplexing technique
Tue Sep 14 2010, 09:11 am
#9
majoka, thanks for the explanation.
I'll try to construct the circuit until the ir receiver.
For the 7 segments display, i used the common anode as stated in the proteus library, but not sure about the connection because i just followed the actual circuit diagram from the author itself. Anyway i really appreciate your help. I'll try to understand the multiplexing 1st then i'll get back here.
____________________________________________________________________________________

For the transistor, can i know what u mean by driving the transistor on same pin?
As i know, i connected the base of transistor Q1 and Q2 to pin32 and pin27.


[ Edited Tue Sep 14 2010, 10:42 am ]
Tue Sep 14 2010, 02:10 pm
#10
Ok so here is the complete circuit diagram. I managed to generate a pulse signal using the DCLOCK, i measured the signal at pin3 for each of the 555 and still get the pulse signal but still there is no respond from the 7 segments and for your info the lamp keep lighting up.

here is the circuit diagram that i managed to complete.
http://img255.imageshack.us/img255/1818/fyp1.jpg

here is the proteus circuit and the Hex code.
http://www.mediafire.com/?f3xhhv2hb1zkmbp

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Williamjaf
Tue Apr 16 2024, 12:25 pm
best_yyPa
Tue Apr 16 2024, 09:42 am
ErnestoExpop
Tue Apr 16 2024, 02:57 am
Jamesclepe
Mon Apr 15 2024, 11:10 am
Aliciaelora
Mon Apr 15 2024, 07:59 am
btaletvpcu
Mon Apr 15 2024, 04:36 am
UbvpwcTib
Mon Apr 15 2024, 03:13 am
AmyJow
Sun Apr 14 2024, 11:54 pm