Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated...
-
Upload
lionel-adams -
Category
Documents
-
view
219 -
download
0
Transcript of Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated...
Control & Control & ProgrammingProgramming
Controlling a Sports CarControlling a Sports Car
Systems in CarsSystems in Cars
• Many modern cars Many modern cars use sophisticated use sophisticated sensors and control sensors and control systemssystems
• Headlights can be Headlights can be controlled by light controlled by light sensors for examplesensors for example
• What other sensors What other sensors could be used?could be used?
Sports Coupe - InputsSports Coupe - Inputs
Left Door (1)Left Door (1)Left Door (1)Left Door (1)Right Door (2)Right Door (2)Right Door (2)Right Door (2)
Left Seatbelt (5)Left Seatbelt (5)Left Seatbelt (5)Left Seatbelt (5)Right Seatbelt (6)Right Seatbelt (6)Right Seatbelt (6)Right Seatbelt (6)
Display Switch (4)Display Switch (4)Display Switch (4)Display Switch (4)
Headlights (8)Headlights (8)Headlights (8)Headlights (8) Engine Starter (7)Engine Starter (7)Engine Starter (7)Engine Starter (7) Alarm On (3)Alarm On (3)Alarm On (3)Alarm On (3)
Sports Coupe - OutputsSports Coupe - Outputs
Headlights (5)Headlights (5)Headlights (5)Headlights (5) Hazard Lights (2)Hazard Lights (2)Hazard Lights (2)Hazard Lights (2)
Display (3)Display (3)Display (3)Display (3)
Warning Light(4)Warning Light(4)Warning Light(4)Warning Light(4)
Creating the SystemCreating the System
• ProgramsPrograms–Turn display screen on and offTurn display screen on and off
–Control the HeadlightsControl the Headlights
–Flash the warning light if engine is Flash the warning light if engine is on and the doors are open or on and the doors are open or drivers seatbelt is not ondrivers seatbelt is not on
–Control the AlarmControl the Alarm
AnnotationAnnotation
Always add Always add labels to labels to each each flowchart to flowchart to explain what explain what it does!it does!
Always add Always add labels to labels to each each flowchart to flowchart to explain what explain what it does!it does!