Komsi Show RPM

Willkommen in der OMSI-WebDisk!
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet: = Englisch [EN], = Deutsch [DE], = Französisch [FR]. Wenn du die angegebene Sprache nicht beherrschst, schreibe auf Englisch!

Hier gibt es keine verbindliche Software-&Hardwareberatung. Alle Beiträge folgen ausschließlich dem bestem Wissen und Gewissen. Eventuelle eigen verschuldete Folgeschäden sind nicht auf die Hilfestellungen hier in der WebDisk zurückzuführen.

  • Hello guys,


    I want to ask if I can show the motor RPM with KOMSI, connecting a VDO Analogic Gauge. I saw in the arduino code a part with RPM title but I never tested it and I don't know if it actually works. Someone have already tried? Someone know which variable i have to set?

    If someone know the way to get it work please write down here.



    Have a nice day!

    Thanks you!8)

  • Yes RPM is sent as one of the gauge outputs by komsi,


    using the stock arduino sketch by Lars, it's on pin 9 of the arduino, and it will read the engines RPM's i believe even if the bus you are driving does not have a rev counter on the dash,

    Your gauge will expect a similar signal to the tachograph, i.e. the tone signal, so it'll be connected pretty much the same way, pin 9 of the arduino via a transistor to the rev counters input terminal, ground linked to arduino ground, and 12 or 24 volts that the gauge needs to it's relevant terminal.

  • ahh, have you connected any other gauges to the arduino yet?

    i think i used a load of generic pnp transistors for the arduino mega shield pcb i made to connect all lights and gauges and run them on 24 volts,

    but some people wire the gauges directly to the arduino, but doing that you risk sending 12 or 24 volts to it, and it wont like that at all.

  • Hello Gazz,

    I choose to use a servo motor to control the RPM indicator but i have to ask some help with the const value in the KOMSI cfg:


    Servowert 4 Öldruck

    5 <------------ this is the constant that I'm not able to understand how it should be calcolated.

    180 <------------- Min degrees of servo(when 0 in the gauge the servo is at 180°)

    0 <-------------- Max degrees of servo.


    I'm not able to getting the const value to show the real rpm value from omsi to the gauge, I need someone to explain me how must be calcolated the const and how it works.


    Many thanks!

  • unfortunately i havent used any servo's in my gauges yet (i will be doing in the air pressure gauges... but i have to figure out how to fit 2 tiny servos in there to operate the old air operated mechanism)


    With the pwm method, you need to play around with the figures, as one of them adjusts the scale of the needle, i.e. how far it moves around for every number the output from omsi increases or decreases,

    so maybe the first figure is for that.