Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sensor Based Paper Towel Dispenser control system will be designed with the STM 3 2 F 4 0 1 processor. There are 2 inputs and

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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions