Dr Nick

(3)

$14/per page/Negotiable

About Dr Nick

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Art & Design,Computer Science See all
Art & Design,Computer Science,Engineering,Information Systems,Programming Hide all
Teaching Since: May 2017
Last Sign in: 247 Weeks Ago
Questions Answered: 19234
Tutorials Posted: 19224

Education

  • MBA (IT), PHD
    Kaplan University
    Apr-2009 - Mar-2014

Experience

  • Professor
    University of Santo Tomas
    Aug-2006 - Present

Category > Geology Posted 12 Sep 2017 My Price 15.00

Embedded design project (C language programming).

 

Specification

You will be required to design, build and test a microcontroller based project. You will also be required to produce a technical report based on the project design, build and test. The project will be programmed using Assembly or Embedded C languages, whichever you are more confident writing. When choosing a project, you will need to consider the availability of hardware, the time you have available to you and your programming skills. You may search around the internet for some Microcontroller based project ideas.

An example of small scale Project:

Fig.1 represents a very simple application that can be developed using microcontrollers:

Fig. 1 Programmed Calculator

⢠There are three inputs: Input A, Input B and Select in the figure. There are four functionalities provided to the user i.e. addition, subtraction, multiplication and division.

⢠There is one output in the system (i.e. result) which will vary according to the functionality selected by the user.

⢠The select input decides the function to be executed by the microcontroller on Input A and Input B. The detailed functionality is explained in the table 1

Select Functionality Input A Input B Result

1 Sum x y x + y

2 Subtract x y x - y

3 Multiply x y x * y

4 Division x y x / y

Table 1

In this example we assume, the inputs are taken using push buttons on EB083 Combo Board shown in Fig 2 while the output is validated using seven segment display on EB083 Combo Board. However the students are open to:

⢠Program any functionality using C language in microcontroller. Do not stick to the same example explained above

⢠Use any interface for inputs. For example, the slide switches and switch matrix can also be used as a source for taking inputs from the user instead of push buttons

⢠Use any interface for showing output. For example, LEDâs and LCD can also be utilized as a source for displaying output instead of seven segment display

It should work using MPLAB software with pic18f4520 code and EB083 Combo Board (shown in the picture).

HEADERS should be:

#pragma config OSC = HS //set osc mode to HS high speed clock

#pragma config WDT = OFF // set watchdog timer off

#pragma config LVP = OFF // Low Voltage Programming Off

#pragma config DEBUG = OFF // Compile without extra Debug compile Code

/* Include Files */

#include <p18f4520.h> // Device used is the PICF4520

#include <delays.h> // Include the delays routines

Answers

(3)
Status NEW Posted 12 Sep 2017 01:09 PM My Price 15.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------you----------- fo-----------r v-----------isi-----------tin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion----------- pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m o-----------nli-----------ne -----------or -----------inb-----------ox -----------me -----------a m-----------ess-----------age----------- I -----------wil-----------l

Not Rated(0)