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

  Build a earthquake proof building

how to build a earthquake proof building

  Determine refractive index and kerr effect and possibly fbg

Simulation of an optical fibre SMF-28 using OPTSIM (RSOFT) software to determine the refractive index and kerr effect and possibly FBG and report

  Plot the relation between the input x(t) and the output y(t)

Plot the relation between the input x(t) and the output y(t). Is this a linear system? For what range of input values is the system linear, if any?

  An external entity relationship diagram

You have been retained as a Software Engineering consultant to the Muddy Springs Bottled Water Company. The company runs a water bottling plant which is currently undergoing dramatic improvements in equipment and capacity.

  Describe what mib is

1. List all standards of IEEE 802.11 from a to z. Describe each of them briey in a sentence or two. 2. Compare and contrast OFDM, DSSS and FHSS in terms of various metrics. Explain the current technology with IEEE 802.11a/b/g/n/ac (i.e., tell if t..

  Determining the lower energy cost

The unit costs of electricity and natural gas are $0.092/kWh and $1.42/therm (1 therm = 105,500 kJ). Determine which system will have a lower energy cost.

  Question 1 many hills in california are known to have

question 1. many hills in california are known to have troubles with landslides when heavy rains soak the area. the

  Calculate the radius of the beam assuming a gaussian profile

What is the focal length of the lens? What is the wavelength resolution for the spectrometer and calculate the radius of the beam assuming a Gaussian profile.

  Burner sequence from start of cycle to end of cycle

What is the burner sequence from start of cycle to end of cycle and list all new requirements for BMS codes

  Summarize the fly a kit slides

The fly a kit slides are attached. Make sure the write-up is in your own words (do not just cut and paste). Focus on the importance of SAP for industrial engineers assignme.

  Power factor are we assuming for the load

For the efficiencies of the transformer, what power factor are we assuming for the load? Also No load losses are the same as the losses in the Core resistance under open circuit test, correct?  Also do we have to do test for both the 120 tap and 2..

  Express the problem on a network by drawing nodes

Waste Management - Express the problem on a network by drawing nodes, arcs, determining node values, arc costs, arc capacities if any, such that no node has a capacity restriction associated with it and no node has a cost for using the node

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