Skip to main content

User Input and Output Devices

  • Chapter
  • First Online:
Getting Started with Tiva ARM Cortex M4 Microcontrollers

Abstract

In this chapter more input and output user interfaces are discussed. In earlier chapters, for user interface UART terminal on host PC and switches were used. So, this chapter will discuss a bit more complex interfaces like 16\(\times \)2 LCD, 16 key keypad and PS/2 based keyboard. LCD and 16 key Keypad are driven using serial shift registers. So, that both of these can be controlled by using just the 5 GPIO’s. Having, such interfaces helps in developing standalone projects, as the user may not need to use host terminal to display messages and for user input. The user can display the messages on LCD and give input using 16 key keypad or PS/2 keyboard.

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 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.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.

    If the multiple switches belonging to the same scan line are pressed, then switch with high priority will be considered. Let scan line 0 detected logic high, it implies that switch (or switches) belonging to this line is pressed. Then, start checking for each switches from the MSB of the output bus, once the switch is determined then do not check the lower output lines.

  2. 2.

    This can be avoided by transmitting the MSB first. In the program code data is shifted out with LSB first.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dhananjay V. Gadre .

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer (India) Pvt. Ltd.

About this chapter

Cite this chapter

Gadre, D.V., Gupta, S. (2018). User Input and Output Devices. In: Getting Started with Tiva ARM Cortex M4 Microcontrollers. Springer, New Delhi. https://doi.org/10.1007/978-81-322-3766-2_16

Download citation

  • DOI: https://doi.org/10.1007/978-81-322-3766-2_16

  • Published:

  • Publisher Name: Springer, New Delhi

  • Print ISBN: 978-81-322-3764-8

  • Online ISBN: 978-81-322-3766-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics