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

8254 programmable timer-microprocessor, 8254 Programmable Timer A diagr...

8254 Programmable Timer A diagram of Intel's 8254 interval event/timer counter is given in Figure. The 8254 consists of 3 identical counting circuits, per of which has GATE and

Assebmly code, You have to write a subroutine (assembly language code using...

You have to write a subroutine (assembly language code using NASM) for the following equation.

Program to perform one byte bcd addition-assembly program, Program : Write...

Program : Write a program to perform a one byte BCD addition. Solution : It is consider that the operands are in BCD form, but the CPU considers it as hexadecimal and acco

Dma controller-microprocessor, DMA controller :     Steps in...

DMA controller :     Steps include in transferring a block of data from I/O devices (for example a disk) to memory: 1. CPU sends a signal to initiate disk transfe

Interrupt table-how interrupt table processed-microprocessor, Interrupt Tab...

Interrupt Table Each interrupt level has a booked memory location, called an interrupt vector.  All these vectors (or pointers) are stored in the interrupt table. Table lies at

Implemented with an arm assembly language program, The problem to be solved...

The problem to be solved and implemented with an ARM assembly language program You are asked to do some image processing on an image composed of characters shaped in For exa

Write a assembly language subroutine, Write a M68000 assembly language subr...

Write a M68000 assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n

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