Posts

7 segments display

Image
The 7-segment displays are displays that allow you to view a figure or a number using luminous segments. The light sources are internal. It is almost always this type of display which is used on radio clocks when the color of the digits is green or red.  The 7-segment displays mostly emit a red or green light, but there are also some that glow in the blue. to display a number between 0 and 9, at least seven segments are needed, and these segments have been conventionally assigned the first seven letters of the alphabet: A, B, C, D, E, F and G. Common anode: Here is the principle of common anode displays: (Diagram of the inside of the box) To use its displays, you must always follow the instructions for supplying the LEDs. the (+) of the power supply on the anode and the (-) on the cathode. Just like the LEDs, you will need to add a resistor (220 ohms if the power supply is equal to 5v) to reduce the current on each segment of the display. Otherwise you risk toasting the segment...

LCD Display

Image
Definition An LCD display can display numbers, letters and some special characters. This type of display consists of a certain number of lines, made up of a certain number of characters (eg: 2 lines of 16 characters). Each character is made up of a matrix of dots (usually 5 x 7). LCD displays have become essential in all applications requiring the display of parameters, so it is a Human / Machine interface.   Controlling an LCD display Two display operating modes are available, 4-bit mode and 8-bit mode, modes that will be chosen when the display is initialized. 8-bit mode: In this 8-bit mode, data is sent to the display on pins D0 to D7. We set the RS line to 0 or 1 depending on whether we want to transmit a command or data. You must also set the R / W line to 0 to indicate to the display that you want to write. It remains to send a pulse of at least 450 ns on input E, to indicate that valid data is present on pins D0 to D7. The display will read the data on the fa...