Automatic room lights
Mon Sep 13 2010, 03:57 pm
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.
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, 07:32 pm
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
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
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.
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
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
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
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
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
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.
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
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
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
Powered by e107 Forum System