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

Program to average ten 16-bit values, Write a MC68HC12 assembly language pr...

Write a MC68HC12 assembly language program to average ten 16-bit values that are stored starting at address $1100. Place the two-byte result at $1110. Use indexed addressing. Us

Modes of 8254-microprocessor, Modes of 8254 :   Mode 0 (Inter...

Modes of 8254 :   Mode 0 (Interrupt on Terminal Count)-GATE which value is 1 enables counting and GATE  which value is 0 disables counting, and GATE put not effect on

Pointer and index registers-microprocessor, Pointer and Index Registers ...

Pointer and Index Registers The pointers contain offset within the specific segments. The pointers BP, IP and SP generally containoffsets within thedata, code and stack segment

Relocate program and data, ) What is the difference between re-locatable pr...

) What is the difference between re-locatable program and re-locatable data?

Rol-logical instruction-microprocessor, ROL : Rotate Left without Carry: T...

ROL : Rotate Left without Carry: This instruction rotates the content of the destination operand to the left by the specified count bit-wise excluding the carry. The most signific

Assignment, Write an assembly program that adds the elements in the odd ind...

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?

Assembly Language Program, which uses BIOS interrupt INT 21 to read current...

which uses BIOS interrupt INT 21 to read current system time and displays it on the top-left corner of screen.

Program to find the largest number in an array, Write a MC68H12 assembly la...

Write a MC68H12 assembly language program to find the largest number in an array of ten 8-bit numbers. The array is stored in memory locations starting at address $1100. Use branch

Dma-how dma works-microprocessor, DMA DMA stands for Direct Memory ...

DMA DMA stands for Direct Memory Access It is uses same Address/Data lines on ISA bus It controls the ISA bus instead of the processor ("bus master") Floppy

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