The OpenSegment Serial Display is a versatile and easy-to-use 20mm alphanumeric display module featuring four 7-segment LEDs with a bright white color. This display is designed for readability and simplicity, making it an excellent choice for projects requiring numerical output that is both compact and visible from a distance. Common applications include clocks, timers, counters, and any project where numerical data needs to be presented to a user.
Pin Number | Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V to 7V) |
2 | GND | Ground connection |
3 | RX | Serial Receive Pin |
4 | TX | Serial Transmit Pin (not typically used) |
To use the OpenSegment Serial Display in a circuit:
#include <SoftwareSerial.h>
// RX pin is not used, set to -1. TX pin is connected to the display's RX pin.
SoftwareSerial displaySerial(-1, 2); // RX, TX
void setup() {
// Start serial communication with the display at the default baud rate
displaySerial.begin(9600);
}
void loop() {
// Send a number to the display
displaySerial.print("1234");
// Optional: Clear the display after a delay
delay(2000);
displaySerial.write(0x76); // Clear display command
delay(500);
}
Q: Can I control the brightness of the display? A: Yes, the display brightness can be controlled via serial commands. Refer to the datasheet for the specific command.
Q: Is it possible to display letters as well as numbers? A: The OpenSegment Serial Display is primarily designed for numerical output, but it can display a limited set of characters that are representable on a 7-segment display.
Q: How do I change the baud rate of the display? A: The baud rate can be changed using a specific serial command. After changing the baud rate, ensure that your microcontroller's serial communication is updated to match the new setting.
Q: Can I daisy-chain multiple displays together? A: This display does not support daisy-chaining directly. Each display requires its own serial connection to the microcontroller.