Embedded Systems 2023
Embedded Systems 2023
Section A
1. Characteristics of embedded systems:
Real-time operation
Low power consumption
Limited resources (memory, processing power)
Task-specific functionality
Integration with physical environment
5. Electrical actuators:
DC motors
Servo motors
Solenoids
8. Arduino Boards:
Arduino Uno
Arduino Mega
Arduino Nano
Arduino Leonardo
Section B
1. Project name: "Dynamic school bell system with LCD"
a. The general functionality of this Arduino and Proteus-related project is to automate the school
bell system. It involves programming the Arduino to control the timing of the bell rings based on
a predefined schedule. An LCD screen can display the current time and bell schedule
information. It may also include features such as manual override and adjustable settings.
c. [Arduino Code]
[This code is a basic outline and may require customization based on specific requirements and
hardware configurations]
```//Arduino codes
#include <LiquidCrystal.h>
// Pin definitions
#define LCD_RS 12
#define LCD_EN 11
#define LCD_D4 5
#define LCD_D5 4
#define LCD_D6 3
#define LCD_D7 2
#define RELAY_PIN 6
RTC_DS3231 rtc;
void setup() {
lcd.begin(16, 2);
if (!rtc.begin()) {
while (1);
if (!rtc.isrunning()) {
rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
pinMode(RELAY_PIN, OUTPUT);
}
void loop() {
lcd.setCursor(0, 0);
lcd.print("Time: ");
lcd.print(now.hour());
lcd.print(":");
lcd.print(now.minute());
lcd.print(":");
lcd.print(now.second());
} else {
```