The Adafruit 7 Segment FeatherWing - Red is a versatile and user-friendly electronic component designed to display numerical information in a clear and readable format. This component features a bright red 4-digit, 7-segment LED display, which can show numbers, some letters, and a few special characters. It is commonly used in digital clocks, timers, counters, and other projects where numerical data needs to be presented to the user.
Explore Projects Built with Adafruit 7 Segment FeatherWing - Red
Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
This circuit consists of an Arduino UNO connected to an Adafruit OLED FeatherWing display via I2C communication (SDA and SCL lines). The Arduino is powered through a Vcc source and provides 3.3V and GND connections to the OLED display. The Arduino runs a program to display 'Hello, World!' on the OLED screen.
This circuit features an Arduino UNO microcontroller connected to two seven-segment displays, a pushbutton, a red LED with a 330-ohm resistor, and an AHT10 temperature and humidity sensor. The Arduino controls the segments of the displays via its digital pins and reads the pushbutton state. The LED is used as an indicator, and the AHT10 sensor interfaces with the Arduino over I2C to provide environmental data.
This circuit features an Adafruit HUZZAH32 ESP32 Feather board as the central microcontroller, which is connected to an Adafruit Quad AlphaNumeric Featherwing display and an Adafruit ADXL343 accelerometer via I2C communication (SCL and SDA lines). The ESP32 controls a vibration motor connected to one of its GPIO pins (A5_IO4) and shares a common power supply (3.3V) and ground (GND) with the other components. The purpose of this circuit is likely to read acceleration data, display information on the alphanumeric display, and provide haptic feedback through the vibration motor.
This circuit features an Arduino Nano microcontroller connected to a 7-segment display, a relay module, a pushbutton switch, and an LED. The Arduino controls the display to show a countdown timer, which can be incremented by pressing the button. When the countdown is active, the relay is engaged, and it disengages once the countdown reaches zero; the LED indicates the 3.3V power supply status.
I2C Addresses: 0x70 (default), selectable with solder jumpers
Pin Configuration and Descriptions
Pin
Description
GND
Ground connection
3V
3.3V power supply
SDA
I2C data line
SCL
I2C clock line
RST
Reset pin (optional)
Usage Instructions
How to Use the Component in a Circuit
Powering the Display: Connect the 3V pin to a 3.3V power supply and the GND pin to the ground on your microcontroller board.
I2C Communication: Connect the SDA and SCL pins to the corresponding I2C data and clock lines on your microcontroller.
Address Selection: If using multiple displays, adjust the I2C address using the solder jumpers on the back of the FeatherWing.
Important Considerations and Best Practices
Ensure that the power supply voltage matches the operating voltage of the FeatherWing to prevent damage.
Use pull-up resistors on the I2C lines if they are not already present on the microcontroller board.
When stacking multiple FeatherWings, ensure that each has a unique I2C address.
Avoid exposing the display to direct sunlight for extended periods to prevent fading.
Example Code for Arduino UNO
#include <Wire.h>
#include <Adafruit_LEDBackpack.h>
#include <Adafruit_GFX.h>
Adafruit_7segment matrix = Adafruit_7segment();
void setup() {
matrix.begin(0x70); // Initialize the display with its I2C address
}
void loop() {
matrix.print(1234, DEC); // Display the number 1234
matrix.writeDisplay(); // Refresh the display with new data
delay(5000); // Wait for 5 seconds
// Display a hexadecimal number
matrix.print(0xBEEF, HEX);
matrix.writeDisplay();
delay(5000);
}
Note: This example assumes that the Adafruit LED Backpack library is installed in your Arduino IDE.
Troubleshooting and FAQs
Common Issues
Display Not Lighting Up: Check the power connections and ensure the I2C lines are properly connected.
Garbled or Incorrect Display: Verify that the I2C address is correctly set and that there are no conflicts with other devices on the I2C bus.
Dim Display: Ensure that the power supply is providing sufficient voltage and current.
Solutions and Tips for Troubleshooting
Double-check wiring connections for any loose or incorrect connections.
Use the i2cdetect utility or similar tools to confirm the device's address on the I2C bus.
If using multiple displays, ensure each has a unique I2C address by adjusting the solder jumpers.
FAQs
Q: Can I use this display with a 5V microcontroller?
A: Yes, the display can be used with a 5V microcontroller, but ensure that the logic levels for I2C communication are compatible.
Q: How do I change the brightness of the display?
A: The brightness can be adjusted using the setBrightness(uint8_t b) function provided by the Adafruit LED Backpack library.
Q: Can I display letters as well as numbers?
A: Yes, the display can show some letters and special characters that can be formed with 7 segments.
Q: How many of these displays can I chain together?
A: You can chain up to 8 displays by setting unique I2C addresses using the solder jumpers on the back of each FeatherWing.
For further assistance, refer to the Adafruit support forums or the product's official documentation.