Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 Digit 7 Segment Display #44

Open
9 tasks
GreihMurray opened this issue Apr 6, 2023 · 1 comment · May be fixed by #275
Open
9 tasks

4 Digit 7 Segment Display #44

GreihMurray opened this issue Apr 6, 2023 · 1 comment · May be fixed by #275
Assignees
Labels
enhancement New feature or request New Component Implementing new component support

Comments

@GreihMurray
Copy link
Collaborator

GreihMurray commented Apr 6, 2023

Given:
A four-digit seven-segment display is connected to the Raspberry Pi.

When:
Data is sent to the display.

Then:
The display shows the appropriate four-digit numeric or character values based on the input.

Component Functionality:
This component will allow the Pi4Micronaut project to display multi-digit numbers (e.g., clock, counters) on a four-digit seven-segment display for advanced monitoring and control purposes.

Developer Notes:

  1. Draw the circuit setup for hardware connections: Show how the four-digit display connects to GPIO pins, including common anode/cathode configurations.
  2. Develop functionality to control the display: Create a FourDigitSevenSegmentDisplayHelper.java class to manage individual digits and segments.
  3. Implement methods to display multi-digit numbers: Support numbers (0000-9999) and basic character representation.
  4. Handle multiplexing: Implement the timing logic to control all four digits using multiplexing.
  5. Configure GPIO pins appropriately: Ensure compatibility with common four-digit seven-segment displays.
  6. Create an example controller in componets folder to clearly demonstate the working of helper class.
  7. Create a YAML configuration file for display settings: Add fields like name, address, commonType, provider.
  8. Provide code comments for each function for future documentation.

Acceptance Criteria:

  • Functionality to control the four-digit display: Should support multi-digit numbers and characters.
  • Component defined in YAML file with:
    • name
    • bus
    • device
  • Controller Implementation in components folder
  • Schematic diagram accurately depicts the wiring for the four-digit display.
  • Code comments provided for each functionality for documentation purposes
  • Complete the hardware testing for this component
@GreihMurray GreihMurray converted this from a draft issue Apr 6, 2023
@GreihMurray GreihMurray added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 6, 2023
@SwindleA SwindleA self-assigned this Nov 8, 2023
@adelgadoj3 adelgadoj3 self-assigned this Nov 8, 2023
@adelgadoj3 adelgadoj3 linked a pull request Nov 13, 2023 that will close this issue
@SwindleA SwindleA linked a pull request Nov 13, 2023 that will close this issue
@ruthvikm ruthvikm moved this from 📋 Backlog to 🏗 In progress in Pi4Micronaut Backlog Dec 20, 2023
@ruthvikm ruthvikm moved this from 🏗 In progress to 📋 Backlog in Pi4Micronaut Backlog Jan 24, 2024
@ruthvikm ruthvikm added New Component Implementing new component support and removed documentation Improvements or additions to documentation labels May 8, 2024
@yrlmanoharreddy
Copy link
Collaborator

yrlmanoharreddy commented Oct 21, 2024

Below are the @GreihMurray comments

May be an SPI component, may be I2C, may be DigitalOutput, answer is unclear. Unfortunately CrowPi does not have support for this component so code will have to be handled manually

@leandrumartin leandrumartin linked a pull request Oct 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request New Component Implementing new component support
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

6 participants