ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
303 stars 21 forks source link

Issue with Leds L9 to L16 #482

Closed OmsInSerial closed 1 year ago

OmsInSerial commented 1 year ago

I'm experiencing an issue with BiLeds above L8. I've written a very simple max patch and an erbui file to reproduce the issue with a kivu12 board. The pot allows the BiLed to turn linearly from green to red (FCCW to FCW). No issue with L1 to L8. With BiLed from L9 to L16 the behavior is different. Leds turn from solid orange (FCCW to 9) to green to red (9 to 3) then solid orange (3 to FCW).

Capture d’écran 2023-03-30 à 10 37 23 Capture d’écran 2023-03-30 à 10 37 58
ohmtech-rdi commented 1 year ago

Hi @10T25

Could you please give it a try with Led instead of LedBi? I think that would make it easier to see what is going on.

I think it's been a long time since I tested from L9, so there might be an issue, but I don't really see where.

Could you please also measure your resistors on L9 to L16 to ensure they are all around 1KΩ?

Thanks!

OmsInSerial commented 1 year ago

Hi @ohmtech-rdi Resistors are all 1K +/- 0,1%. No issue for LED L1 to L8. L9 --> green led, L10 --> red led FCCW to 9 : solid green and red 9 to 3 : light green to full green, solid red to light red (expected behavior) 3 to FCW : solid green and red Thanks

Capture d’écran 2023-04-12 à 11 42 23 Capture d’écran 2023-04-12 à 11 42 36
ohmtech-rdi commented 1 year ago

Great, thanks for the test. I'm going to make a "kivu12 eval board" to be able to debug that. I should have done this a long time ago I think. In the meantime, I'll try to reroute the signal from another front panel.

ohmtech-rdi commented 1 year ago

This is a work-in-progress. I've put everything that kivu12 supports. I still need to had the normalisation prove, and the PCB will be also the front panel to ease access to signals as well as keeping the price low. This will help me to debug this issue.

image

OmsInSerial commented 1 year ago

I had this idea of exposing every in/out/pots .... some kind of super patch.init. You were faster than me!

ohmtech-rdi commented 1 year ago

Got a few things to fix but that should be it:

image

OmsInSerial commented 1 year ago

And with the normalisation probe! ;-) can't wait!!!

ohmtech-rdi commented 1 year ago

Also there was a bug with the pads orientation, but it's fixed now. For some reason the pads in Kicad do not follow the orientation of their parent footprint!

OmsInSerial commented 1 year ago

Tested and validated. Bug fixed, well done.