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

7 Segment Display Support #41

Open
7 of 8 tasks
GreihMurray opened this issue Apr 6, 2023 · 2 comments
Open
7 of 8 tasks

7 Segment Display Support #41

GreihMurray opened this issue Apr 6, 2023 · 2 comments
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 Seven Segment Display is connected to the Raspberry Pi.

When:
Data is sent to the display.

Then:
The display shows the appropriate numeric or character value based on the input.

Component Functionality:
This component will allow the Pi4Micronaut project to display numbers and characters on a single-digit seven-segment display for various monitoring and control purposes.

Developer Notes:

  1. Draw the circuit setup for hardware connections: Show how the seven-segment display connects to GPIO pins on the Raspberry Pi.
  2. Develop functionality to control the segments: Create a SevenSegmentDisplayHelper.java class that allows setting individual segments or numbers.
  3. Implement methods to display numbers and characters: Support numbers (0-9) and some characters.
  4. Configure GPIO pins appropriately: Ensure compatibility with different seven-segment displays (e.g., common cathode or common anode).
  5. Create an example controller in componets folder to clearly demonstate the working of helper class.
  6. Create a YAML configuration file for display settings: Add fields like name, address, commonType, provider.
  7. Provide code comments for each function to develop documentation.

Acceptance Criteria:

  • Functionality to control the seven-segment display: Should support showing numbers and characters.
  • Component defined in YAML file with:
    • name
    • bus
    • device
  • Schematic diagram accurately depicts the wiring for the seven-segment display.
  • Controller Implementation in components folder
  • Code comments provided for each functionality for documentation purposes.
@GreihMurray GreihMurray converted this from a draft issue Apr 6, 2023
@GreihMurray GreihMurray added enhancement New feature or request good-first-issue Good for newcomers documentation Improvements or additions to documentation labels Apr 6, 2023
@SwindleA SwindleA linked a pull request Nov 15, 2023 that will close this issue
@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

This issue is for documenting the seven segment display #248

and Implementing Code for 7 Segment Display Integration, which includes writing and testing the necessary code to control the display.

@yrlmanoharreddy yrlmanoharreddy removed the good-first-issue Good for newcomers label Sep 9, 2024
@yrlmanoharreddy
Copy link
Collaborator

Below are the @GreihMurray comments

Includes the need for a circuit, breadboard diagram, and functioning code to integrate the component with Micronaut

7 Segment display is an I2C device, may be able to leverage included CrowPi library to expedite the process

@Ed0827 Ed0827 self-assigned this Oct 27, 2024
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.

4 participants