control & programming controlling a sports car. systems in cars many modern cars use...

6
Control & Control & Programming Programming Controlling a Sports Car Controlling a Sports Car

Upload: lionel-adams

Post on 13-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated sensors and control systemsMany modern cars use sophisticated

Control & Control & ProgrammingProgramming

Controlling a Sports CarControlling a Sports Car

Page 2: Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated sensors and control systemsMany modern cars use sophisticated

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?

Page 3: Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated sensors and control systemsMany modern cars use sophisticated

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)

Page 4: Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated sensors and control systemsMany modern cars use sophisticated

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)

Page 5: Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated sensors and control systemsMany modern cars use sophisticated

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

Page 6: Control & Programming Controlling a Sports Car. Systems in Cars Many modern cars use sophisticated sensors and control systemsMany modern cars use sophisticated

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!