The OpenSegment Serial Display is a versatile and bright single-digit 7-segment display module that is designed for easy integration into a wide range of electronic projects. This display operates via serial communication, allowing users to control it using simple serial commands. The blue 20mm display is highly visible and is commonly used in applications such as counters, timers, and numeric indicators.
Pin Number | Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V to 5V) |
2 | GND | Ground connection |
3 | RX | Serial receive pin |
4 | TX | Serial transmit pin (not used) |
#include <SoftwareSerial.h>
// RX pin is not used, set to -1. TX pin is connected to OpenSegment's RX pin.
SoftwareSerial openSegmentSerial(-1, 2); // RX, TX
void setup() {
// Start serial communication with the OpenSegment display at 9600 bps
openSegmentSerial.begin(9600);
}
void loop() {
// Send a numeric value to the display
openSegmentSerial.print(5);
delay(1000); // Wait for 1 second
// Send a hexadecimal character to the display
openSegmentSerial.print("A");
delay(1000); // Wait for 1 second
}
Q: Can I daisy-chain multiple OpenSegment displays? A: Yes, multiple displays can be daisy-chained, but each must be individually addressed.
Q: How do I change the baud rate? A: The baud rate can be changed using a specific serial command as per the display's datasheet.
Q: Is it possible to control the brightness of the display? A: Yes, the brightness can typically be controlled via serial commands.
Q: Can I display letters as well as numbers? A: The display supports a limited character set, including numbers 0-9 and hexadecimal characters A-F.
For further assistance, consult the manufacturer's datasheet and technical support resources.