For any add-on boards such as VR conditioners, optos and OEM interface boards
By PedroV9
#70741
Is the brightness control done by adjusting the supply voltage of the module? I thought there might be a way to control it via software (although working with PSoC Designer is quite tricky).

If the control is done by adjusting the voltage, we could use a P-channel MOSFET with a pull-down resistor on the gate. When 12V is applied to the gate, the MOSFET turns off, and the current flows through a resistor, reducing the brightness instead of going directly through the MOSFET.
User avatar
By DStage
#70743
If you're asking about the LCD then there's no SW control over brightness. LCD itself of course doesn't accommodate any controls and adding it to PSoC would mean some extra PWM. Could be just 2 levels and done with a GPIO I guess. Another GPIO could serve as a trigger from outside but is it worth to go through SW with something like that when it's probably not even lowering the number of components...

I might misunderstood you if you actually had the LED in mind. In this case yes, there is a SW control over brightness via TM1637. So I guess here a GPIO going through a resistor divider or a transistor (just in case) could do it in 2 step mode.

I also thought about P-MOSFET like you described. In such case i would connect it from the positive side of backlight LED for LCD. However, I would have to check the limits of Usg and Ug overall.
But what do you think about my simple resistor proposal? It dissipates a bit more heat but it's simple and therefore elegant :mrgreen:
By PedroV9
#70754
Initially, I was referring to the TM1637, but I think my train of thought didn’t quite keep up with the text, and everything got a bit confusing… lol 😆

Yes, I wanted to add an I/O pin to control the TM1637, and that can only be done via software, but I have no idea how to do it. I already had some difficulty modifying the code to support the 08x02 display, so I’d never be able to implement the TM1637 on my own.

I really liked your solution using just resistors! Attached is the solution I had used for controlling the LCD brightness.
Attachments
Dimmer controle wdb.png
Dimmer controle wdb.png (34.19 KiB) Viewed 1216 times
User avatar
By DStage
#70758
I should be able to add that dimming option for TM1637. I'll try in next few days. And while I'm at it also add dimming for LCD one way or the other.

Sprinkling of dimming LCD - isn't that MOSFET P the wrong way around? I'm guessing your intention was to limit the current by the means of R19. By the way it is I think when transistor is off so what should be the "dim setting" current will flow through the diode inside the MOSFET. It will still work but it's hard to say what will be the actual current as the diode will try to enforce 0,6-0.7V of drop across R19. Without that diode influence the drop would be somewhere around 2,5V over R19 and current around 2,5mA. I can only guess that with the configuration as on the schematic current will be more like 21mA on the dim setting vs 28mA on the "bright setting". Might be not that much of a difference in the brightness. On the other hand with just the R19, no diode involved the 2,5mA may be even too dim, who knows ;-)
User avatar
By DStage
#70869
I'm aware of that and have no idea why they claim that. Probably so no one blames them in case some cheap knockoff causes engine damage 8-) I'd say as long as it has same characteristics as Bosch LSU 4.9 it will work. I used a few times used OEM probes from various cars which did not say they're Bosch part although probably they were just branded differently for the car manufacturer.
By Rocket
#70963
Hi,
I want to try to make this wb controller with TM1637.
I took a look to schematic, but I don't see which pins are used for TM1637 and for lambda/afr switching? Is it momentary push switch?
Thanks.
User avatar
By DStage
#70967
Rocket wrote: Mon Feb 24, 2025 9:08 pm Hi,
I want to try to make this wb controller with TM1637.
I took a look to schematic, but I don't see which pins are used for TM1637 and for lambda/afr switching? Is it momentary push switch?
Thanks.
It is all written on the first page on GitHub ;-) It is not intended for a momentary switch as I think most people would rather leave it in one mode, so you switch between GND and 5V (one side can use a resistor).
Honda cbr1100 triggering

Australia

Trigger Pattern

That would work!

Geo Metro 3 Cylinder

More sync loss when cold, but at 1900RPM, should b[…]

Thanks, everyone! The problem was solved—it […]

Still can't find what you're looking for?