首页 > > 详细

辅导MCSF留学生、Program讲解、辅导C/C++语言、C++编程设计调试讲解留学生Prolog|解析C/C++编程

Final Project: Machinery Controller with Safety Feature (MCSF)
Goals:
1. To drive the machine according to the user input
2. To stop the machine when accidents are about to happen
Description:
Develop a program for your STM32L476VG microcontroller to control the stepper motor
according to user and sensor input. It should input password using keypad and run the
stepper motor if the password is correct. Moreover, ultrasonic sensor should always
check the distance between the machine and human. Error message should be generated
and be sent to PC using USART if the distance is too close about stopping the motor. You
should implement the program using C programming language.
General Overview:
Functionality:
To achieve what the system must do, the system must have the following features.
Project Diagram:
The overview of the project will look like this.
Hardware Components:
Input and Sensors:
• Keypad
• Ultrasonic Sensor
Actuators:
• Stepper Motor
Communication Devices:
• PC (via USART)
Extra:
• ULN2003APG driver to control the stepper motor
Hardware Diagram:
Example Hardware setup:
Sample Algorithm of code:
You can follow exactly same algorithm as shown in below flowchart. If you have a
different 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 the
presentation

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!