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

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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