Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 3 Note/I only want code and design a. (10 pt.) Design a circuit to interface a 12VDC bipolar stepper motor, a common-cathode seven-segment display,

Problem 3

Note/I only want code and design

a. (10 pt.) Design a circuit to interface a 12VDC bipolar stepper motor, a common-cathode seven-segment display, toggle switch, green LED, and red LED to the PIC16F84A microcontroller. Show all connections in details.

b. (25 pt.) For the circuit you have designed using a stepper motor has 180 step-angle, write a mikroC program to run the motor two revolutions in right direction then four revolutions in left direction. The toggle switch is used to choose between fast and slow speed of motor rotation. Green led and red led are used as indicators for left and right rotation of motor; respectively. The revolution number is displayed on the 7-segment displayPlace this code in a loop so that this sequence is continuously repeated

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

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

How well do you gain participation and involvement from the group?

Answered: 1 week ago