Write a program to run a DC motor

Assignment Help Electrical Engineering
Reference no: EM132372293

Q1.

(a) Write a program to turn the LEDs ON in the following sequence D3→D4→D5→D6 and then turn them OFF in the following sequence D3→D4→D5→D6. This should loop infinitely. You should incorporate appropriate delay to make sure that it runs smoothly and a human eye can clearly see it.
(b) Write a program to run a DC motor connected to pins 1A and 1B in CW direction and reverse it when SW2 is pressed.

Q2.

Write a program to display (on 7-segment) continuous up-counting numbers from 00 to 50 and then down-counting from 50 to 00 (in decimal system). There should be a sufficient delay between two number display status, where a human can read them. This should loop infinitely.

Q3.

Write a program to read analog input from RA2 when SW5 is pressed and display the following messages on the LCD panel. "input is <= 1V" , "input is < =4V & > 1V", "input is > 4V" depending on the actual real-time analog input. (if the message goes over the first row display area, it should display on second line)

(To test your program: Use Analog out 1 in the sensor/actuator board.)

Q4.

Write a program to display whatever you type on your computer key board(through TeraTerm) on the LCD display and display the message "Hello from CQU PIC Development Board" on TeraTerm terminal emulator on your Windows computer when you press switch S2. (you need to connect your PIC development board to your computer via USB to serial cable and configure TeraTerm appropriately for this. Use baud rate of 4800bps)

Reference no: EM132372293

Questions Cloud

Describe the first five steps in prochaska processes : Clients may experience several traumatic events before seeking treatment. It may take a near-death experience such as alcohol poisoning or a tragic car.
How messages have influenced your experience with gender : Analyze how these messages have influenced your experience with gender. Explain how you might address issues related to sexism in the mass media and diverse.
Simple logistic regression in spss : Construct a research question based on one of those datasets - Remember that your dependent variable must be dichotomous/binary
How might you document the learning you achieved : Write a Discussion post reflecting on your past experiences as they relate to learning outcomes of your degree program (or of this course; or a ORGL course).
Write a program to run a DC motor : ENEX 20001 - Laboratory Practicals - Write a program to read analog input from RA2 when SW5 is pressed and display the following messages on the LCD panel
Discuss recommendations for improving upon the strategies : Prevention strategies must account for the diversity of the population. Understanding how communities consume health information and access health services may.
Examining your personal view of aging : The purpose of this assignment is to prepare you for the course by examining your personal view of aging. Use the grading rubric below to guide your paper.
Advise jasmine of the cgt consequences of the sales : HA3042-Taxation Law-Holmes Institute-Australia-Advise Jasmine of the CGT consequences of the above sales. Include relevant legislative references to support.
Identify messages about gender presented in the mass media : Many marketing efforts perpetuate the gender stereotypes that are steeped in our culture. Two examples at attempts to maintain these stereotypes through.

Reviews

len2372293

9/18/2019 3:56:44 AM

I have an assignment related to the c language. I am attaching here pdf file which contains all criteria is given. Please check and let me know if you can do as per guideline.

len2372293

9/18/2019 3:56:00 AM

Develop your program to solve the problem in each question. When they run successfully, copy the entire program to your answer script in MS WORD. Then close your project and open a new project. Copy your listing from the answer script(WORD document) and paste it into the new project’s main c file. Build the project and run it to check whether it runs smoothly. If it does not run now, it will not run on marker’s computer as that is what the marker does. ( Hint: When you first copy from project to WORD document, WORD may auto-correct some spelling, capitalize initial words, etc. which will prevent your answer from running successfully in the marker’s computer when copy and pasted into a new project.

len2372293

9/18/2019 3:55:50 AM

Allocation of marks: Graphical representation 0 – 20% Working program producing expected outcomes 25 – 50% Explanation of algorithms/procedures, in program comments 0 – 30% No model answer will be provided as there is no unique answer to any of the questions.

len2372293

9/18/2019 3:55:45 AM

This assignment is based on C language programming skills. To obtain full marks students must provide all in detail problem solving and solution development evidences. Each student must have their unique programs developed by themselves. Answer to every problem should include a flowchart / NS-diagram or other similar graphical representation of the solution. All programs should have in-program comment lines and the algorithms/procedures used must be separately explained. A good working program as the answer to a question without evidence of development of it(ex: a soft copy of workbook pages relevant to it) will receive a maximum of 50% of the allocated marks for that question. Provide screenshots of your answers wherever applicable.

len2372293

9/18/2019 3:55:36 AM

All programs should associate with appropriate flowcharts and comments, marks will be given to the explanations of your algorithms and program. You can attach screenshots of running program as well. All these questions are based on the CQU PIC Development kit and the sensor/actuator kit provided. You should use CQU_LCD_Ver2.h or CQU_LCDVer3.h without any modification to them. Your own header files for the LCD display are not allowed for this assessment.

Write a Review

Electrical Engineering Questions & Answers

  Find the hydraulic pressure during the extending stroke

A pump supplies oil at 0.0016 m3/s to a 40 mm diameter double-acting hydraulic cylinder. If the load is 5000 N (extending and retracting) and the rod diameter is 20 mm, find the Hydraulic pressure during the extending stroke.

  Is the diode linear or nonlinear

Use this equation to find i and p for v = 0, ±0:1, ±0:2, ±0:4, ±0:8, and ±1:0 V. Use these data to plot the i - v characteristic of the element.

  Calculate the necessary numbers

A project will cost each of them $600, but provide Ella with benefits of $900 and Joe with benefits of $1000. Is the project progressive, regressive.

  Find relative probability of finding electron at a distance

Determine the relative probability of finding the electron at the distance (a) 12 A beyond the barrier, and (b) 48 A beyond the barrier, compared to the probability of finding the incident particle at the barriers edge. Plot the wave function for ..

  Write down an expression for the voltage waveform

Write down an expression for the voltage waveform - Sketch the waveforms of the harmonic components and  determine the secondary turns.

  Measure the noise on the analog signal entering the adc chip

You'll get a raise if the system can be modified to acquire a 12 bit sample every 100 milliseconds- but it needs to be done by tomorrow! The first thing the engineer does is to measure the noise on the analog signal entering the ADC chip

  How do we know when we need to use one or the other

Loop statements come in two basic varieties, pretest and posttest. What is the difference between these two varieties?

  State three applications of faraday''s law

How would you orient a loop antenna in order to obtain maximum signal from an incident electromagnetic wave which has its magnetic field linearly polarized in the north-south direction?

  Determine the sending-end voltage and the reactive power

The sending-end voltage is always adjusted so as to maintain the receiving-end voltage fixed at 220 kV. Using the power-circle diagram constructed for Prob. 6.12, determine the sending-end voltage and the reactive power supplied by the synchronous..

  What is the minimum op amp open loop gain that is required

The output of a voltage follower is to be within .02% of the ideal value. What is the minimum op amp open loop gain that is required

  What is the permeability of the relays magnetic circuit

The springs effect is addressed below. As a relay some contacts are connected to, and move with, the armature. Other contacts are stationary and would make or break contacts as the armature moves.

  Determine the rotational power loss in hp

A shunt dc motor has RA = 0.1-ohm and VT = 440 V. For an output power of 16.1 hp, nm = 1,213 rpm and IA = 103 A. The field current remains constant. Find the the rotational power loss in hp.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd