Uploaded by mifem56743

Lab Experiment 01

advertisement
Alexandria University
Faculty of Engineering
Computer and Systems Engineering
Department
CSE343 Embedded Systems
Assigned:
Sunday 27/02/2022
Due:
Friday 11/03/2022
Lab Experiment 01
Objectives
Getting familiar with Arduino Digital Input/Output.
Emergency Vehicle Lights
Emergency vehicle lighting is one or more visual warning lights built in a vehicle for use when the driver wishes
to communicate to other road users(drivers, pedestrians, .. etc.) the urgency of their journey. It comes in many
forms but the most common one is on demand blinking(manually triggering a signal to the lighting source to
blink at constant rate).
You are asked to simulate a similar system using your arduino kit, 1 LED, and a push-button.
Initially, the lighting source is off. Once the driver presses the button for triggering the lighting source, the
lighting source starts to blink at constant rate(1 second ON and 2 seconds OFF). Once the driver, presses the
button again, the lighting source should be turned off, and so on.
NOTES: You should consider using a resistor(330 Ω is a standard) for interfacing the LED and apply the
debouncing code.
Resources: You can refer to the following article for interfacing a LED with Arduino.
•
Blink a LED with Arduino
Link: https://www.arduinoplatform.com/know-your-arduino/blink-a-led-with-arduino/
Delivery Policy
•
Each group must send a 20-second video showing the Arduino kit and external components with the
system at rest, two cycles of action, following rest state.
•
•
•
You should submit a report showing your schematic diagram and the challenges you faced (if any).
You should submit the sketch source code (.ino file(s)).
You should cite any additional resources you used, otherwise the action will be considered as violation to
the academic integrity guidelines and will be heavily penalized.
Further details for the submission instructions will be posted later on MS Teams.
•
Good Luck
Related documents
Download