The SparkFun 7-Segment Serial Display is a versatile and easy-to-use LED numerical display module. It is designed to show numerical information in projects where data visualization is needed. This white LED display is perfect for clocks, timers, counters, or any other project requiring a bright, easy-to-read display. The serial interface simplifies the connection to microcontrollers, such as Arduino, and reduces the number of required I/O pins.
Pin Number | Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V to 7V) |
2 | GND | Ground connection |
3 | RX | Serial data input (TTL level) |
4 | TX | Serial data output (not used in one-way communication) |
#include <SoftwareSerial.h>
// Create a software serial port on pins 2 (RX) and 3 (TX)
SoftwareSerial sevenSegSerial(2, 3);
void setup() {
// Begin serial communication at a baud rate of 9600
sevenSegSerial.begin(9600);
}
void loop() {
// Send a number to the display
sevenSegSerial.write('4');
delay(1000); // Wait for 1 second
}
Q: Can I control multiple displays with one Arduino?
A: Yes, you can control multiple displays by connecting their RX pins to different digital pins on the Arduino and creating multiple SoftwareSerial
instances.
Q: How do I display different characters or symbols? A: The display accepts ASCII characters over the serial interface. Refer to the ASCII table for the corresponding values of different characters and symbols.
Q: Can I adjust the brightness of the display? A: The brightness can be controlled by sending specific commands over the serial interface. Refer to the SparkFun 7-Segment Serial Display datasheet for the command set.
Q: Is it possible to chain multiple displays together? A: This specific model does not support daisy-chaining. Each display must be individually controlled by the microcontroller.
For further assistance, consult the SparkFun 7-Segment Serial Display datasheet or contact SparkFun's technical support.