Skip to main content

Part of the book series: Computer Communications and Networks ((CCN))

  • 1946 Accesses

Abstract

The most fundamental physical interaction of a processor with external devices involves monitoring or setting several input/output package pins simultaneously.

The chapter covers the PIC18 family implementation of Parallel ports; including register structure, pin direction control, electrical and software considerations and the generation of interrupts from state changes at Part B. Topics also include handshaking and electrical parameters; including voltage levels, noise and power considerations.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Aide-mémoire: 0 for Output and 1 for Input.

  2. 2.

    There is no staticizer latch in the low-range 12-bit family.

  3. 3.

    Exceptionally, the PIC18F1220 only uses these buffers on Port B.

  4. 4.

    Typically somewhere between 25 mA and 45 mA (see Example 11.1). Note the 25 mA maximum rating for any one pin limit!

  5. 5.

    Typically around 45–80 mA; see Fig. 11.22.

  6. 6.

    Except movff.

  7. 7.

    But not the PIC18F1220/1330 device.

  8. 8.

    A real stepper motor repeats the coil set several times around the peripheral motor stator giving a finer mechanical step resolution. Thus, if there are four sets of stator coils the 45°C electrical step translates to 11.25°C mechanical.

  9. 9.

    Of course this is how the brain interprets a series of 24 still frames per minute in a movie as a moving image. Each frame is shown twice using a 2-bladed shutter, giving a flicker rate of 48 per second.

  10. 10.

    For an example, see my The Quintessential PIC ® Microcontroller Fig. 11.12.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sid Katzen .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag London Limited

About this chapter

Cite this chapter

Katzen, S. (2010). One Byte at a Time. In: The Essential PIC18® Microcontroller. Computer Communications and Networks. Springer, London. https://doi.org/10.1007/978-1-84996-229-2_11

Download citation

  • DOI: https://doi.org/10.1007/978-1-84996-229-2_11

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84996-228-5

  • Online ISBN: 978-1-84996-229-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics