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

LED does not come on. #59

Open
starletzzang opened this issue Oct 6, 2024 · 6 comments
Open

LED does not come on. #59

starletzzang opened this issue Oct 6, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@starletzzang
Copy link

LED does not come on.
Connected 5V and VCC of LED, DIN to pin 5, GND to GND. Firmware is latest 0.8.
Did I miss another fix?
Thank you

ps. The LED bar is 5V, DIN, GND and is the one used in the old Orbion mouse.

@AndunHH
Copy link
Owner

AndunHH commented Oct 6, 2024

Do you have a link or description of the led stripe?

Until now, the led support is "just" to enable a simple led on or off.

Your description "DIN" makes me wondering, that you are using a more intelligent led stripe, that needs the easy FastLed library. This is not too much effort, but I can't test it now, because I don't have it in hand.

@starletzzang
Copy link
Author

starletzzang commented Oct 7, 2024

i was attached LED image.
Can you tell me what Define LEDpin 5 in config.h means?
so there is a command that defines LEDpin as pin 5, so I connected pin 5 to din. It is like an LED that receives data from din and controls it with pwm to produce each color.

led

@AndunHH
Copy link
Owner

AndunHH commented Oct 7, 2024

The LED support at the moment is only able to pull the pin to GND or high to 5V.

With this very basic implementation only a simple LED can be driven, when connected like this:

image

Do you have a model / ref no. for your LED stripe?
I'm pretty sure we can get it working with the FastLED library, but this is not implemented yet.

What is your expected behavior, when we start to implement it? What should happen where on the LED stripe?

My simplest suggestion:
Turn all LEDs (=bright white), when the 3D connexion driver tells the mouse to turn the led on. But this is really boring...

As this is not yet part of the repository, I mark this issue as a feature request as it is not a bug.

@AndunHH AndunHH added the enhancement New feature or request label Oct 7, 2024
@starletzzang
Copy link
Author

starletzzang commented Oct 9, 2024

thanks reply
Just like you said,
For example, the LED can be specified by color, and the color can also be displayed as a gradient. And for the operation, wouldn't it be possible to create an interesting effect where the LED moves in the direction when the mouse joystick is rolled or twisted? (This is a recent gaming mouse effect)

@stonemandave
Copy link

Anything new with this. I dont know much about coding and im learning. Im williing to help with this if i can. The 3dc software has a calibrate for leds, this would be cool if it worked.

@AndunHH
Copy link
Owner

AndunHH commented Nov 30, 2024

The 3dc software has a calibrate for leds, this would be cool if it worked.

I already looked in to this "calibration" in the driver / USB communictation. I couldn't find out, what is acutally going on, when this is pressed. When a space navigator is connected, only USB commands are send to let the LEDs blink.

Therefore, the command for LED on/off is already gathered and implemented, see SpaceMouseHID.updateLEDState(). The command to calibrate is not found for a space navigator.

Regarding the initial topic of this issue: I got myself a neopixel ring and hope to find some time to integrate it into the mouse as a second option despite only a stupid LED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants