- EOL
Attention! The sale of the product has been completed. Check a newerversion. |
Specification
- Supply voltage: 3.3 V to 5 V
- Number of displays (digits): 4
- Common anode
- Four 3 mm diameter mounting holes
- Backlighting: red
- Module dimensions: 48 x 19 mm
Description
Module with four-character 8-segment display. Allows you to display four digits with dots and some letters. This type of arrangement is one of the most popular indicators, characterized by simple operation and small size.
The leads are goldpin connectors (raster 2.54) that allow the module to be connected to anystarter kitorcontact platebywires.
Connection
This is a version with a common anode, so a VCC power line must be connected. Numbers or letters are created by switching on the appropriate segments: A to G or H (dot). The control of the segments is done by giving a low state to the individual outputs.
The display is selected using Dx pins, where x stands for the display number. For example, to switch on the display first, the low state must be given on D1. D2, D3 and D4 should remain in the high state (VCC). Through multiplexing, i.e. fast switching, four digits can be displayed simultaneously atUsing the same control lines.
Arduino compatible product In the network you can finda sample program for Arduino, the description of the connection can be found later in the description. |
Example of connection with Arduino
The module cooperates with Arduino, we present a sample connection:
Pin Arduino | Display pin |
---|---|
11 | D1 |
10 | D2 |
9 | D3 |
6 | D4 |
3,3 V | VCC |
A1 | A |
3 | B |
4 | C |
5 | D |
A0 | E |
7 | F |
8 | G |
13 | H |
The program used in this connection comes fromthis site. However, in order to work properly, lines must be found:
- #define DIGIT_ON HIGH
- #define DIGIT_OFF LOW
and replace them with lines:
- #define DIGIT_ON LOW
- #define DIGIT_OFF HIGH
Useful links |