Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone write a FLOWCHART(symbols matter) for this question? Key A-D Meaning Angle of LED flash Clockwise rotation of motor direction | Counter-clockwise rotation of

image text in transcribedimage text in transcribedimage text in transcribedCan someone write a FLOWCHART(symbols matter) for this question?

Key A-D Meaning Angle of LED flash Clockwise rotation of motor direction | Counter-clockwise rotation of motor direction Speed of motor steps / rotation (Start) Stop and reset logic 1-9 0 DEF 3 Milestone 8.2 Write a C program that decodes a sequence of keypad entries. The sequence is: 1) Angle, 2) Direction, 3) Speed. Once Speed is selected the stepper motor should begin its rotation and continue until 0 is pressed. The 0 key will also be used to reset the sequence entry if a mistake has been made. An LED should be used to provide status/state information about the motor. A state-machine design approach is recommended. Angle Throughout the rotation of the stepper motor it must flash an LED (different LED from status) at specified angles from its starting point (Setting/determining a home position is not required for this lab). You should use Wave Drive or Full Step mode for the motor. A/B/C/D = 11.25/45/90/360 degrees, respectively. Direction Looking at the keyed motor shaft, the motor should turn clockwise or counter- clockwise. */# = clockwise/counter-clockwise, respectively. Speed The speed selection will set the time delay between motor steps and also start motor rotation. The button value (1-9) shall be multiplied by 10ms for the delay between motor steps. For example, 1 = 10ms, 2 = 20ms, 3 = 30ms, etc

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_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions