Question: Write a program in Assembly Language using MP LAB for AUTOMSTIC CONTROL OF STREET LIGHTS. The components used are: 1) PIC16F877A Microcontroller to sense the

Write a program in Assembly Language using MP LAB for "AUTOMSTIC CONTROL OF STREET LIGHTS".

The components used are:

1) PIC16F877A Microcontroller to sense the amount of light available.

2) pic16f877a Microcontroller for generating control signal.

3) Light Sensor.

4) A lamp.

(The circuit diagram is also attached for which the code is to be generated)www.microcontrollerslab.com Automatic control of street lights C2 C1 33pF X1 33pF +5V


www.microcontrollerslab.com Automatic control of street lights C2 C1 33pF X1 33pF +5V CRYSTAL U1 L1 13 33 OSC1/CLKIN RBOVINT +12V 14 34 12V OsC2/CLKOUT RB1 35 38 37 38 38 40 RB2 BAT1 R3 RAOIANO RA1/ANI RB3/PGM RB4 12V 4. 10k RAZIAN2/VREF-ICVREF R85 RA3IANIVREF+ RBB/PGC RA4ITOCKIC10UT RB7/PGD 7 RABIANA3S/C2OUT RL1 15 18 17 18 23 24 25 26 ROOT1OSO/TICKI A D1 REOIANS RD RE1ANB/WR RE2IANTICS RC1/T1OSVCCP2 T77S1D10-6V DIODE RC2/CCP1 RC3/SCK/SCL 10 RC4/SOVSDA LDR1 MCLRVPP/THV RC5/SDO RCBITX/CK RC7/RX/DT TORCH_LDR R2 Q1 R1 BC848B 19 20 21 22 RDO/PSPO 10k RD1/PSP1 RD2/PSP2 RD3/PSP3 RD4/PSP4 RD5/PSP5 10k 28 29 30 RD8/PSP8 RD7/PSP7 PIC10F877A ww

Step by Step Solution

3.48 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

We write a program in Assembly Language using MP LAB for ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!