Question: b . A Sensor Based Paper Towel Dispenser control system will be designed with the STM 3 2 F 4 0 1 processor. There are

b. A Sensor Based Paper Towel Dispenser control system will be designed with the STM32F401 processor. There are 2 inputs and 2 outputs. Inputs are sensor input nad Towel paper run out input and Outputs are Motor drive output and Towel paper run out warning LED.System will work as follows. When 1 is detected from the sensor input, the paper feeding motor will be started and stopped after 3 seconds. If there is no paper, 1 will come from the Towel paper run out input. In this case, the engine will not be started and the warning light will be set on and the warning light will remain on until the towel paper is renewed.Suggest that all the settings regarding the input and output of the ports have been made previosly. Write the required software in C language within the Superloop (while (1)).You can use the Delay(int Delay_ms) function for creating delays. (SLO2)20p)STM32F401Sensor InputPCQGPIOCPAOMotor Drive Out 1: Start, 0: StopTowel paper run out input PC1GPIOAPA1 Towel paper run out warning LEDAnswer:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!