quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryهندسة الحاسبات schoolبكالوريوس event_available2026-07-15

السؤال

Transcribed Image Text:

You are assigned to design a light tracking solar panel system. An Arduino Uno microcontroller, two LDR sensors, two servo motors and other necessary components are used to control the rotation of an outdoor solar panel. The LDR sensitivity to the light is monitored via the change of its resistance values. Write an Arduino program in which both servo motors will start at 0° position. Whenever the light intensity sense by both LDR sensors are the same, both servo motors will remain in their current position (any position from 0° to 180°). If the light intensity sensed by the LDR sensor A is higher than LDR sensor B, the servo motor A will rotate from 0° to 180° position, with an increment of 3° every 0.2 second, until the light intensity sensed by both LDR sensors are the same. On the other hand, if the light intensity sensed by the LDR sensor B is higher than LDR sensor A, the servo motor B will continuously rotate from 0° to 180° position, with an increment of 3° every 0.2 second, until the light intensity sensed by both LDR sensors are the same. (Note: You need to provide the TINKERCAD link of your design to receive full marks)

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top