Develop an assembly language program, Assembly Language

Assignment Help:

• To develop an assembly language program to control a "simulated" intelligent domestic lighting system with the intention of deterring burglary.
• To produce a schematic circuit diagram of the proposed system.
• To make use of the MPLAB environment with its simulator and appropriate stimulation file(s) to implement the software of the system.
• To investigate the modifications required in order to develop the system around an alternative microcontroller.

Introduction

The idea is to develop a program to control the electric lights in a home. According to a recent crime survey the highest percentage of homes burgled (77%) were those that were not occupied at the time. The idea behind this assignment is to develop a system that records the lighting pattern of an occupied home so that, when the home is unoccupied, the system will turn lights on and off to give the impression that the home is occupied.

The development should start by looking at the control of a single house-light. However, you should bear in mind how your program will deal with more than one light.

The system is to have two modes of operation:

• Record mode

• Playback mode

When the system is placed into record mode, it should monitor the status of the light, what time it came on, what time it was turned off, and record this data in memory.

When placed into playback, the system should turn the light on and off according to the recorded on/off pattern at the correct time.

The system will, of course, need to keep some sort of record of 'time of day'. In a practical system the light could be controlled by a triac. The system itself would be powered from the mains, via suitable circuitry.


Related Discussions:- Develop an assembly language program

Or-logical instruction-microprocessor, OR: Logical OR: The OR instruction ...

OR: Logical OR: The OR instruction carries out the OR operation in the similar way as described in case of the AND operation. The restriction on source and destination operands ar

Modes of 8255 a-microprocessor, The modes are determined by the contents of...

The modes are determined by the contents of the control register, whose format is given in Figure These modes are: Mode 0: If a group is in mode 0, it is divided into 2 sets.

PIC MCU, CAN U GIVE BRIEF THEORY

CAN U GIVE BRIEF THEORY

Instruction set of 8086-microprocessor, Instruction set of 8086 : The 8...

Instruction set of 8086 : The 8086/8088 instructions are categorized into the following major types. This section describes the function of each of the instructions with approp

Input output interface-microprocessor, I/O interface I/O  devices such ...

I/O interface I/O  devices such as displays and keyboards  establish  communication of computer with outside world. Devices may be interfaced in 2 ways Memory mapped I/O and I/

Imul-arithmetic instruction-microprocessor, IMUL: Signed Multiplication: T...

IMUL: Signed Multiplication: This instruction multiplies a signed byte by a signed bit in source operand e in the register AL or signed word in source operand by signed word in th

Mlil-arithmetic instruction-microprocessor, MLIL: Unsigned Multiplication ...

MLIL: Unsigned Multiplication Byte or Word: This instruction multiplies an unsigned byte or word by the contents of the AL. The unsigned byte or word can be in any one of the gene

LAB homework, 1. Write a program that calculates the Fibonacci series: 1, 1...

1. Write a program that calculates the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, ….. (Except for the first two numbers in the sequence, each number is the sum of the preceding two n

Find out the content of program, a- Trace the following program fragment an...

a- Trace the following program fragment and find out the content of ax after the          the execution of the program.         X db   5,7  -3,-9,4,-7,9               Mov

PIC lights on, errorlevel -302 ;prevents error code for this...

errorlevel -302 ;prevents error code for this chipset __config 0x373A ;chip config PIC spec page 146 processor 16F877A ;chipset reset code

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd