تم الحل ✓
categoryهندسة الحاسبات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
Problem 1: [30p]
You are requested to write a code for following Arduino project (Given with Complete Connections)
for air flow direction control using LM35 temperature sensor and Servo motor connected to plate
The project is designed to:
1. Read the temperature from the temperature sensor and display it on the computer serially
2. Change the plate angle from 160 to be 50 for temperature higher than 25°C with 2 degrees
step.
3. Change the plate angle from 50 to be 160 for temperature lower than or equal 25°C with 5
degrees step.
Note: To convert the analog signal from LM35
sensor to °C use the following equation
(5.0+reading 100.0)
Temperature (°C)=
1023
LM35
XUNO
Fig. Given Project Connections.
Page 3 of 10
1. Draw below a flow chart for the above problem with help of symbols you learned. (15 points)
2. Write Arduino code for this project. Write comments/explanation for each line of code. (15
points)
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.