Page 318 - ARM Based Microcontroller Projects Using MBED
P. 318

304                      10. USING LIQUID CRYSTAL DISPLAYS (LCDs)

                                                10.6 SUMMARY

                   In this chapter we have learned about the following:
                 • LCD displays
                 • LCD connection to a Nucleo-F411RE development board
                 • LCD functions
                 • Projects using LCDs with the Nucleo-F411RE development board


                                                10.7 EXERCISES

                 1. Draw the circuit diagram to show how an LCD can be connected to a Nucleo-F411RE
                   development board.
                 2. An ultrasonic sensor pair is connected to a Nucleo-F411RE development board. In addition
                   an LCD is connected to the development board. Write a program to display the distance
                   from the sensors on the LCD.
                 3. Draw the circuit diagram to show how a keypad can be connected to a Nucleo-F411RE
                   development board.
                 4. A keypad and an LCD are connected to a Nucleo-F411RE development board. Write a
                   program to display the numbers entered on the keypad on the LCD.
                 5. It is required to connect a display to a microcontroller system. Explain why you might have
                   to choose an LCD instead of a 7-segment display.
   313   314   315   316   317   318   319   320   321   322   323