Pic microcontroller and embedded systems

Assignment Help Other Engineering
Reference no: EM131077279

REFERENCE:

  • Mazidi, McKinlay, and Causey "PIC Microcontroller and Embedded Systems,"

MATERIALS:

  •  Development board HP-488
  •  MPLAB
  •  Logic probe

ACTIVITY 1

Test the operation of the ports of your Development board as follows. Write and compile a program to toggle all the bits of PORTA, and PORTB continuously by sending 55H and AAH to these ports. The PORTA and PORTB pins are connected to the LED of the Board. Use your board to watch the bits of the ports toggle on and off. Make sure that the time delay in between the "on" and "off" states is long enough that you can observe each state clearly.

ACTIVITY 2
Test the PIC's ports for input operation as follows. PORTA and PORTB is connected to the push buttons of on board. Write and run a program to get data from PORTB and send it to PORTA. Any change of status of the switches connected to PORTB will be instantly reflected on LEDs connected to PORTA.

 

Microcontrollers and Embedded Systems
1. Upon reset, all ports of the PIC are configured as _____________ (output, input).
2. Which port of the PIC18F has ADC channels?
3. Which pin(s) of PORTB in the PIC18 is used for low-voltage-programming (LVP) by the Development board HP-488 and can not be used as I/O?
4. In the PIC, explain why we must write "1" to TRISx register in order for the port to be used for input.
5. Explain why we need to buffer the switches used as input in order to avoid damaging the PIC port.
6. Explain the different roles played by the PORTC and TRISC registers in I/O operation.

Reference no: EM131077279

Questions Cloud

Segments appear as one to higher protocols : What device separates a single network into two segments but lets the two segments appear as one to higher protocols?
How is the definition of private property : Prepare a 2-3 page paper using APA format discussing how the Coase Theorem provides an alternative to government regulation and provision of services. How is the definition of private property a critical part of this analysis?
Telecommunication networks frequently interconnect : Telecommunication networks frequently interconnect an organization with its customers and suppliers. Select the best fit for answer?
Advantages evident in use of the abc classification system : Analyze the purpose of inventory management as it applies to operations management, and then evaluate the advantages and disadvantages evident in the use of the ABC classification system.
Pic microcontroller and embedded systems : Test the operation of the ports of your Development board as follows. Write and compile a program to toggle all the bits of PORTA, and PORTB continuously by sending 55H and AAH to these ports. The PORTA and PORTB pins are connected to the LED of t..
What would its definition be in the previous link-based : what would its defi nition be in the previous link-based implementation?
What routing algorithm is being used for : What routing algorithm is being used for? A station in a network forwards incoming packets by placing them on its shortest output queue.
What would you have done differently than joe thomas : what pricing and R&D allocations, etc., you would have put in place over the last four years, 2012 - 2015 - what would you have done differently than Joe Thomas at each decision point?
Write about cause of color blindness is a genetic condition : Write a paper about cause of color blindness is a genetic condition affects one in 12 men in some shape or form. Women are rarely affected by this condition.

Reviews

Write a Review

Other Engineering Questions & Answers

  Find required value of c and minimum required value of gm

Design the cross-coupled LC oscillator of Fig. to operate at ω0 = 20 Grad/s. The IC inductors available have L = 5 nH and Q = 10. If the transistor ro = 5 kΩ, find the required value of C and the minimum required value of gm at which Q1 and Q2 ar..

  Describe concurrent engineering

Describe concurrent engineering

  Describe architecture pattern

Describe your chosen architecture pattern. Explain why you selected the architecture of this case study. Explain how your chosen pattern could be applied to this case study.

  Determine the synchronous reactance of the machine

From the OC and SC tests determine the synchronous reactance of the machine at different values of the field and the machine SCR.

  Does the operation of this circuit rely on charge storage

Figure shows a commonly used circuit of a D flip-flop that is triggered by the negative-going edge of the clock φ. (a) For φ high, what are the values of Q and Q in terms of D? Which transistors are conducting? If Dis high and φ goes low, which tr..

  Determining the pressure in atmospheres

Hydraulic Lift II The piston of a hydraulic automobile lift is 0.30 m in diameter. What gauge pressure, in Pascal's, is required to lift a car with a mass of 1200 kg? Also express this pressure in atmospheres.

  What is engineering and what do engineers do

Write one-page summary on: What is engineering? What do engineers do? How to succeed in engineering

  Read the scenario below and answer the following

read the scenario below and answer the following questionsyou are working on an office automation project in the

  Determine the required airflow for diesel dilution

What is the total development airflow and for a single Stope determine the required airflow for diesel dilution if the requirement is for 0.05 m3/s of air per kW of diesel power?

  Frictionless one-dimensional flow

Water flows through a circular nozzle, exits into the air as a jet, and strikes a plate. The force required to hold the plate steady is 70 N. Assuming frictionless one-dimensional flow, estimate (a) the velocities at sections (1) and (2); (b) the ..

  Process of transforming data using an algorithm

Do project title is Data Encryption and hide in Images the title is in fill (project proposal) and all steps of the project in fill (project planning).

  What airspace model would you advocate and why

What minimum CNS systems would you recommend - What level of CNS would you recommend considering safety, cost and insurance concerns? If you could influence the regulator, what airspace model would you advocate and why?

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