Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use OpenSegment Serial Display - 20mm (White): Examples, Pinouts, and Specs

Image of OpenSegment Serial Display - 20mm (White)Design with OpenSegment Serial Display - 20mm (White) in Cirkit Designer

Introduction

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.

Explore Projects Built with OpenSegment Serial Display - 20mm (White)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-Powered OLED Display Interface: A project utilizing OpenSegment Serial Display - 20mm (White) in a practical application
ESP32-Powered OLED Display Interface

This circuit connects an ESP32 microcontroller to a 0.96" OLED display via I2C communication protocol. The ESP32's pins D22 and D21 are used as the serial clock (SCK) and serial data (SDA) lines, respectively, to interface with the OLED's corresponding SCK and SDA pins. The OLED is powered by the 3.3V output from the ESP32, and both devices share a common ground. The embedded code initializes the display and prints 'Hello, ESP32!' on the screen.

Open Project in Cirkit Designer

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

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)

Usage Instructions

Connecting to a Circuit

To use the OpenSegment Serial Display in a circuit:

  1. Connect the VCC pin to a power supply between 3.3V and 7V.
  2. Connect the GND pin to the ground of your power supply.
  3. Connect the RX pin to the TX (transmit) pin of your microcontroller, such as an Arduino UNO.

Important Considerations and Best Practices

Example Code for Arduino UNO

#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);
}

Troubleshooting and FAQs

Common Issues

Solutions and Tips for Troubleshooting

FAQs

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.