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

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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