Question
Using your Launchpad MSP430F5529, solve this problem in Code Composer Studio v7. Build with your MSP430F5529 Launchpad a safety belt system with the following specifications:
Using your Launchpad MSP430F5529, solve this problem in Code Composer Studio v7. Build with your MSP430F5529 Launchpad a safety belt system with the following specifications: The controller will light on a red LED if someone is sitting in a car seat and is not fastened after 15 seconds. If the passenger is fastened within 15 seconds, the controller will light on a green LED respectively. This system has three inputs and two outputs. The inputs are a Push Button Sensor (P1.1) to know when a person is sitting, a Push Button (P2.1) that recognizes whether the belt is tied or not by the passenger and a timer notifying that the required time has elapsed. The controller is idle when there is no one in the seat. When someone sits, the controller turns on the timer. If time is over before the safety belt is tightened, the red LED lights up. If the seat belt is fastened in time, the green LED lights up and the controller enters a surveillance mode. During the surveillance it is checked whether the passenger continues to have the belt tied. When the passenger leaves the seat, the controller returns to idle state. REMEMBER to use
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started