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

Add a new "Screen Display" Instrument #2365

Open
mariobehling opened this issue Feb 11, 2023 · 2 comments
Open

Add a new "Screen Display" Instrument #2365

mariobehling opened this issue Feb 11, 2023 · 2 comments
Labels
Feature New addition to the existing app

Comments

@mariobehling
Copy link
Member

The goal of the "Screen Display" instrument is to display characters, text, images on an I²C screen. The transfer should be possible through Bluetooth or USB.

@31shobhit
Copy link

To achieve the goal of displaying characters, text, and images on an I²C screen with the ability to transfer data through Bluetooth or USB, you'll need to consider the following steps:

1.Determine the specific I²C screen you'll be using and familiarize yourself with its documentation and programming interface. This will include understanding the commands and protocols required to send data to the screen via I²C.

2.Choose a programming language that supports I²C communication, Bluetooth, and USB. One popular language for this purpose is Python, as it offers libraries such as smbus for I²C communication and pySerial for Bluetooth and USB.

3.Set up the communication interface for Bluetooth or USB, depending on your preference and the capabilities of your device. For Bluetooth, you'll need to establish a Bluetooth connection between your device and the screen. For USB, you may need to install drivers and ensure your device can communicate with the screen via USB.

4.Write code to send the desired characters, text, or images to the I²C screen. This will involve utilizing the I²C communication protocol and the specific commands required by your screen. You can use the appropriate library functions in your chosen programming language to send data over I²C.

5.If you choose Bluetooth as the communication method, write code to transfer data from your device to the screen via Bluetooth. You'll need to establish a Bluetooth connection and send the data packets over the connection. Libraries like pySerial in Python can help you achieve this.

6.If you choose USB as the communication method, write code to transfer data from your device to the screen using USB. This may involve using USB libraries or APIs provided by your programming language to send the data packets over the USB connection.

7.Test the code by sending various characters, text, and images to the I²C screen using Bluetooth or USB. Make sure the data is correctly received and displayed on the screen.

@VinnuReddy18
Copy link

if it still open to contribute, i want to work on this..

@mariobehling mariobehling added the Feature New addition to the existing app label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New addition to the existing app
Projects
None yet
Development

No branches or pull requests

3 participants