Exercises

5.1 Explain the differences between different colour LEDs.

5.2 What are the important parameters of LED displays?

5.3 Explain what the LED ‘viewing angle’ is, and why is it important?

5.4 Draw a circuit diagram to show how an LED can be used in a microcontroller based project. Why is there need for a current limiting resistor? How can you calculate the value of this resistor?

5.5 What are the advantages of bi-colour and tri-colour LEDs? Give one example use for each LED type.

5.6 Draw a circuit diagram to show how a 7-segment LED display can be connected to a microcontroller.

5.7 Explain how number ‘8’ can be displayed on a 7-segment display.

5.8 Use the mikroC Pro for PIC 7-segment editor to create the pattern for number ‘0’. What is the hexadecimal code for this pattern in both common anode and common cathode configurations?

5.9 Explain how 7-segment LED displays can be multiplexed. Draw the circuit diagram to show a 4-digit multiplexed display. Explain how the number ‘2364’ can be displayed with such a display.

5.10 Explain the differences between 7-segment and alphanumeric LED displays.

5.11 Draw the circuit diagram to show how an alphanumeric display can be connected to a microcontroller. Explain how you would display letter ‘Z’ on such a display.

5.12 Explain how alphanumeric LED displays can be multiplexed. Draw the circuit diagram to show how a 2-digit alphanumeric display can be constructed. Explain how the letters ‘XY’ can be displayed with such a display.

Get Using LEDs, LCDs and GLCDs in Microcontroller Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.