Final Project: Machinery Controller with Safety Feature (MCSF)Goals:1. To drive the machine according to the user input2. To stop the machine when accidents are about to happenDescription:Develop a program for your STM32L476VG microcontroller to control the stepper motoraccording to user and sensor input. It should input password using keypad and run thestepper motor if the password is correct. Moreover, ultrasonic sensor should alwayscheck the distance between the machine and human. Error message should be generatedand be sent to PC using USART if the distance is too close about stopping the motor. Youshould implement the program using C programming language.General Overview:Functionality:To achieve what the system must do, the system must have the following features.Pr代写MCSF留学生作业、Program课程作业代做、代写C/C++语言作业、C++编程设计作业调试 代做留学生Prolooject Diagram:The overview of the project will look like this.Hardware Components:Input and Sensors:• Keypad• Ultrasonic SensorActuators:• Stepper MotorCommunication Devices:• PC (via USART)Extra:• ULN2003APG driver to control the stepper motorHardware Diagram:Example Hardware setup:Sample Algorithm of code:You can follow exactly same algorithm as shown in below flowchart. If you have adifferent approach, then you can implement in your way as well.Submission:• Each group should present their work in week 14 (December 6, Friday)• Presentation should include:• Program overview• Each member’s contribution• Demonstration (video)All presentation files and source code should be submitted on learn.inha.ac.kr before thepresentation转自:http://www.6daixie.com/contents/13/4554.html
网友评论