0% found this document useful (0 votes)
9 views

Embedded System

electrical
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Embedded System

electrical
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

PROGRAMMING PRINCIPLES 2

TEST 1

SIBELA SIMASIKU
2023039153
1. Embedded System: Electro-mechanical system designed to perform a specific function. Operates
without human assistance and are required to respond to real-time events.
2. Automotive: Used in engine control units, anti-lock braking system(ABS), and infotainment
systems to enhance vehicle performance, safety, and user experience.
Industrial Automation: Controls machinery, robots, and production lines, improving efficiency,
precision, and safety in manufacturing processes.
Consumer Electronics: Found in smartphones, smart TVs, and home appliances, managing
device operations, user interfaces, and multimedia processing.
Medical Devices: Integrated into pacemakers, insulin pumps, and diagnostic machines to
perform critical health monitoring and treatment functions.
Telecommunications: Power routers, modems, and mobile network infrastructure, ensuring
reliable communication and data processing.
Aerospace and Defense: Embedded in avionics, missile systems, and unnamed vehicles,
providing real-time control and data processing for critical missions.
Smart Home Systems: Used in devices like smart thermostats, security systems, and lighting
controls, enabling automation and remote management of home environment.
3. Microcontroller: It is a programmable device mostly used in embedded systems.
4. "PIC" stands for Peripheral Interface Controller. It refers to a family of microcontrollers
developed by Microchip Technology, widely used in various applications for its ease of use and
versatility.
5. PIC MICROCONTROLLER ARCHITECTURE

6. To configure Port A as outputs and Port B as inputs set Port A as Outputs Configure the TRISA
register with 0x00 (all bits set to 0). set Port B as Inputs: Configure the TRISB register with 0xFF
(all bits set to 1). This makes all Port A pins outputs and all Port B pins inputs.

7. The PIC16F877A operates with a crystal oscillator frequency range of 4 MHz to 20 MHz.
8. I would typically connect the four zone motion sensors to the interrupt-capable pins of the
PIC16F877A. These are:
• RB0 (Pin 6)
• RB1 (Pin 7)
• RB2 (Pin 8)
• RB3 (Pin 9)

These pins can be configured to trigger interrupts, allowing my program to respond when a sensor
detects motion.

You might also like