Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Copy of The Automatic Night Lamp With Morning Alarm System

No description
by

Helmy Jeffery

on 10 April 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Copy of The Automatic Night Lamp With Morning Alarm System

Introduction
Automatic Night Lamp with Morning Alarm System is a simple yet powerful concept, which uses transistor as a switch. By using this system manual works are 100% removed. It automatically switches ON lights when the sunlight goes below the visible region of our eyes. This is done by a sensor called Light Dependant Resistor (LDR) which senses the light actually like our eyes. It automatically switches OFF lights whenever the sunlight comes, visible to our eyes and activates the morning alarm.
By using this system energy consumption is also reduced because nowadays the manually operated street lights are not switched off even the sunlight comes and also switched on earlier before sunset. In this project, no need of manual operation like ON time and OFF time setting. LDR and transistor are the main components of the project.
The resistance of light dependant resistor (LDR) varies according to the light falling on it. This LDR is connected as biasing resistor of the transistor. According to the light falls on the LDR, the transistor is operated in saturation and cut off region. This transistor switches the relay to switch on / off the light. This project uses regulated 12V, 750mA power supply. 7812 three terminal voltage regulator is used for voltage regulation. Bridge type full wave rectifier is used to rectify the ac output of secondary of 230/18V step down transformer.


Objectives:
• To build a night lamp that can detect bedroom light and switch it on
• To build a morning alarm that can detect daylight and switch it on
• To combine two different circuit into one circuit.
• To design the circuit layout using Multisim


Project Scope:
The first is to do is to study the principles and the objectives of the project. The proper sources for the project that related to the project must be search first to make sure that the project is in the right lane. The scope of the project is to design a night lamp and morning alarm. Both circuit will be using same input voltage. The night lamp with morning alarm circuit will have two light-dependant resistor (LDR). LDR1 will detect bedroom light and switch on the night lamp. LDR2 will detect daylight and switch on the morning alarm. The circuit will be design using the popular timer IC NE5555, which is configured as monostable. The melody will be control by melody-generator IC UM66.
Results
Several results from these methods;
Simulation
Measurement
Discussion
This is a very advanced application of the 68k microprocessor. In this section, we will discuss about several criteria that become the main factors on this system. These are;
1. Cost
2. Safety
3. Sustainability

The Automatic Night Lamp With Morning Alarm
Cont.
Cost
-A
bout RM 150.00, with this configuration plus the work pay

Safety
-has less exposed components, less prone to the electrical hazard.
-However, due to the nature of the LDR is an extremely light sensitive, this system should placed in a proper setup.

Sustainability

- Smart and energy efficient, while also enhancing the application of the 68000 microprocessor.
-Less electronic hazards, such as mercury and carbon dioxide.

Simulation
Simulation-Circuit of LDR and comparator

40-pin Connector

LED and Buzzer

Overall Circuit

PCB Layout

The Operation of the System
When surrounding is dark (night)
-the LDR will sense that there is no light present.
-The resistance will be high, but due to this condition, there will be the inverted logic, which is active LOW.
-The LED lights out.
-The system is designed in this configuration.
-A set of the instructions is applied to the 68000 microprocessor.
-Then, the 68000 will be connected to this system via PI/T 40-pin connector.
-The pins connected are: Port 1 for RA0, Port 16 and 18 for GND, Port 17 for VCC, Port 27 for RB0 and Port 29 for RB1.
After that, the system is in operation.
When the light is present(day)
-The LDR senses the light presents
-The resistance will be low
-The LED will not light and the buzzer rings.
Assembly Code
Group Members
MUHAMMAD HELMYREZA (51110212046)
MUHAMMAD TAQIUDDIN (51117212028)
THANK YOU
Flowchart

-We are able to design the application in the daily life by using the microprocessor.
-We learnt the importance of the 680000 assembly language that can control the hardware of any system.
-We are also learnt to how to write an assembly language that will control the hardware and function it as the user desires.
-We also realize that the microprocessor is a very convenient system in Smart Home technology.
Conclusion
Benefits
1. Energy efficient=LED will turn off during the day less power consumption at the same time
2. Automatic controlling system= no need to switch on/off manually
3. Convenient= Minimized the human effort to use the lighting system
4. Low maintenance costs= less moving parts and a microprocessor has a feedback system
5. The alarm feature is beneficial to the users = helps the users to wake up in the morning especially.

START ORG $080C00
BSR INIT

MAIN BTST.B #0,$100011 *'0' MORNING '1' NIGHT
BEQ MORNING *IF '0' MORNING GO TO MORNING(ALARM ON)
MOVE.B #$01,$100013 *LAMP ON
BRA MAIN *BACK TO MAIN

MORNING MOVE.B #$02,$100013 *ALARM ON
BSR DELAY *ALARM DELAY TO TURN OFF
MOVE.B #$00,$100013 *ALARM TURN OFF

LOOP_1 BTST.B #0,$100011 *CHECK TIME STATUS
BEQ LOOP_1 *IF '0' MORNING LOOPING
BSR DELAY_S
BRA MAIN *BACK TO MAIN

DELAY MOVE.L #$003FFFFF,D0
LOOP_D SUBI.L #1, D0
CMP.L #0,D0
BNE LOOP_D
RTS

DELAY_S MOVE.L #$00011111,D0
LOOP_S SUBI.L #1, D0
CMP.L #0,D0
BNE LOOP_S
RTS

INIT MOVE.B #$00,$100005
MOVE.B #$FF,$100007
MOVE.B #$80,$10000D
MOVE.B #$80,$10000F
MOVE.B #$00,$100011
MOVE.B #$00,$100013
RTS
END START
Full transcript