|
|
Posted - 07/09/2007 : 5:15:03 PM
|
This Project ?Automatic Night Lamp with Morning Alarm? was developed using Microprocessor. It is the Heart of the system. The sensors are made with help of LDR which are Light Dependent Resistors, whose Resistance is inversely proportional to the Light falling on it. The LDR converts the light energy into electrical energy and this variable electrical energy was converted into digital signal (0 or 1) by using the timer IC555. The Timer IC output goes low when light falls on the LDR and the timer IC output goes high when the LDR was placed in dark.
|
|
Country: India ~
Posts: 470 ~
Member Since: 01/06/2007 ~
Last Visit: 01/07/2008
|
|
|
|
|
Posted - 10/10/2007 : 7:27:45 PM
|
| what is CON 1 - the 26 pin IC?? where's the 8085? |
|
|
Country: India ~
Posts: 1 ~
Member Since: 10/10/2007 ~
Last Visit: 10/10/2007
|
|
|
|
|
|
Posted - 11/10/2007 : 08:32:34 AM
|
|
|
|
|
Posted - 05/12/2007 : 11:53:14 PM
|
In the program of ?Automatic Night Lamp with Morning Alarm? how in BSR MODE 60H code switch on the music and switch off the light? AND As according to the details of CON1- 17th pin is PC0(LSB) and 24th pin is PC7(MSB),(MSB)01100000(LSB) and in the circuit diagram of project pins 24 to 20 has no connection, so how come the status of buzzer and light are changing? |
|
|
Country: India ~
Posts: 2 ~
Member Since: 16/10/2007 ~
Last Visit: 05/12/2007
|
|
|
|
|
|
Posted - 06/12/2007 : 09:09:16 AM
|
|
|
|
|
Posted - 06/12/2007 : 2:20:08 PM
|
In this program how is LED and ALARM both getting OFF by 20H?? We have studied in BSR mode only one bit can change at a time. And in which mode is 555timer working? if it is in monostable then isn't a capacitor missing at pin 6? |
|
|
Country: India ~
Posts: 2 ~
Member Since: 16/10/2007 ~
Last Visit: 05/12/2007
|
|
|
|
|
|
Posted - 27/12/2007 : 11:20:53 AM
|
| I hv problem in the direction of LED...how will it switch off when the transistor is working???also,is the 555 working in monostable mode???it's urgent so do reply fast.....thanx!! |
|
|
Country: India ~
Posts: 8 ~
Member Since: 10/10/2007 ~
Last Visit: 21/01/2008
|
|
|
|
|
|
Posted - 28/12/2007 : 8:39:37 PM
|
The devices are not connected in BSR mode. The IC 555 is connected in comparator mode
When a logic 1 is fed to the base of the transistor, then it conducts and the LED is switched on When a logic 0 is fed to the base of the transistor, then it does not conducts and the LED will be switched off
|
|
|
Country: India ~
Posts: 470 ~
Member Since: 01/06/2007 ~
Last Visit: 01/07/2008
|
|
|
|
|
|
Posted - 29/12/2007 : 11:37:39 AM
|
| when logic 1 is fed to transistor,then the LED will conduct.... but in the beginning of the program to switch off both LED and alarm 0 is given to switch off the light,that's okay....but 1 is given at 22 to switch off LED,so is that right??? |
|
|
Country: India ~
Posts: 8 ~
Member Since: 10/10/2007 ~
Last Visit: 21/01/2008
|
|
|
|
|
|
Posted - 29/12/2007 : 2:01:15 PM
|
please give the line number of the program, so that i can find it. Else copy and paste the program here. |
|
|
Country: India ~
Posts: 470 ~
Member Since: 01/06/2007 ~
Last Visit: 01/07/2008
|
|
|
|
|
|
Posted - 30/12/2007 : 1:09:33 PM
|
every where logic 1 has been used to switch off the light..... 0010 4104 3E 20 MVI A,00100000B ;switch off LED and alarm 0016 410F 3E 60 MVI A,01100000B ;Switch on music and off light |
|
|
Country: India ~
Posts: 8 ~
Member Since: 10/10/2007 ~
Last Visit: 21/01/2008
|
|
|
|
|
|
Posted - 30/12/2007 : 1:21:53 PM
|
Sorry there is a correction in the circuit, Connect the cathode of the LED directly to the port. Look up the circuit diagram now |
|
|
Country: India ~
Posts: 470 ~
Member Since: 01/06/2007 ~
Last Visit: 01/07/2008
|
|
|
|
|
|
Posted - 31/12/2007 : 11:55:54 AM
|
if instead of LED I use a proper light or small bulb then can I connect it directly to the port...won't I need an amplifier???? and Thanxxx a lot for ur timely help.. |
|
|
Country: India ~
Posts: 8 ~
Member Since: 10/10/2007 ~
Last Visit: 21/01/2008
|
|
|
|
|
|
Posted - 31/12/2007 : 4:34:57 PM
|
| No you cant connect it directly to the port. Use a transistor at the output. |
|
|
Country: India ~
Posts: 470 ~
Member Since: 01/06/2007 ~
Last Visit: 01/07/2008
|
|
|
|
|
|
Posted - 09/01/2008 : 5:51:38 PM
|
I started the project today..but it did not work,only the lamp glowed,that is, it was not taking the morning part.I couldn't understand the delay part too....what is stored at FFFF which is loaded in HL registers??also,why is 09 loaded in "A"??and finally why is 0005 called,there is no statement there?
0019 4113 0E 14 MVI C,14H ;call delay routine for 10sec 0020 4115 2A FF FF SEC: LHLD 0FFFFH 0021 4118 3E 09 MVI A,09 0022 411A CD 05 00 CALL 0005 0023 411D 0D DCR C 0024 411E C2 15 41 JNZ SEC
Thanks in advance!!! |
|
|
Country: India ~
Posts: 8 ~
Member Since: 10/10/2007 ~
Last Visit: 21/01/2008
|
|
|
|
|
|
Posted - 09/01/2008 : 7:08:49 PM
|
CALL 0005 is used to call a monitor function of the trainer kit. WHich company trainer kit you are using. There will be some inbuilt functions for delay, Reading keyboard, displaying data on the LED display and so on.
Also check the port addresses of the trainer kit you are using. |
|
Country: India ~
Posts: 470 ~
Member Since: 01/06/2007 ~
Last Visit: 01/07/2008
|
|
|
|