1. Game not starting lately?
    Fixed in 0.19.4.2
    More information available here

    Dismiss Notice
  2. Intel iGPU (6xx series) crashes
    Fixed drivers available!
    Instructions here

    Dismiss Notice

WIP BeamNG Arduino Dashboard Connector

Discussion in 'Utilities and programming' started by Master0wn3r, Apr 9, 2018.

  1. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    Beta released!

    I am working on a tool that gathers all sorts of data from Beamng and sends it to your Arduino so you can power a Arduino dashboard (with LEDs and such).
    I want to know if a tool like this is wanted by the BeamNG community so I will be showing a few things about it and you guys can tell me what you think!





    Currently I am working to power Canbus instrument clusters using this tool, also a small WIP:
     
    #1 Master0wn3r, Apr 9, 2018
    Last edited: Oct 17, 2018
    • Like Like x 27
    • Staff Pick Staff Pick x 2
  2. NistingurA

    NistingurA
    Expand Collapse

    Joined:
    Nov 22, 2013
    Messages:
    2,097
    Pretty good looking!
    I have an old tacho from my Grandpas Audi and I plan on doing smth simillar
     
    #2 NistingurA, Apr 9, 2018
    Last edited: Apr 10, 2018
  3. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    2,884
    Cool, but - "Licensed to" ?! You are planning to sell this or what?
     
  4. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    We are currently working on this as a group project for school, and we dont want it to leak it out so we assigned it to certain people so we can control who is using this ATM.
     
    • Like Like x 1
  5. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    If its an tacho with analog signals it is a pain in the butt as you need to recreate those signals (PWM/FM), even this fairly modern BMW E46 tacho is half canbus half analog.
    Fuel and speed are analog, speed requires a pulse with 50% duty cycle at 10V and 1770hz for 250km/h. RPM gauge and temp gauge are using canbus and were easily fixed.

    So the best way of building this is using a cluster thats using 100% canbus, atleast for speed and RPM.
     
  6. NistingurA

    NistingurA
    Expand Collapse

    Joined:
    Nov 22, 2013
    Messages:
    2,097
    Im not an electronic specialist by any means so I'm not quite sure what connection my Tacho has. I know it has like a few connection studs on the back. I guess they are for power and the engine sensor signal. Also I only have the Tacho. No electronics what so ever
     
  7. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    If the car is from ~1997-2000 or later chances are it has CanBus, canbus works fairly easy as you can send the RPM value of the game to the tacho without too much hassle, analog gauges however need recreated pulses like they are in the vehicle before they can read them.
     
    • Informative Informative x 1
  8. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    Small status update speedo working as well!
     
    • Like Like x 9
    • Agree Agree x 1
  9. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    Also got the fuel gauge working recently, works with digital potentiometers.
     
    • Like Like x 5
  10. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    • Like Like x 2
  11. iDennis95

    iDennis95
    Expand Collapse

    Joined:
    Aug 7, 2014
    Messages:
    11
    Very nice! i have an E46 speedo aswel but i've seen it's a struggle to get it to work because of the canbus.
    E36 is apperantly easier.

    Do you have an update on the project?
     
  12. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    We tried to get it working on an E39 cluster which is comparable with the E36 one, these clusters only accept pulses like 6000 rpm is 3000 combustions multiplied with the amount of cylindres. This is kind of to much for the arduino to handle it cant keep up.

    The E46 one is half canbus and with the right (cheap) hardware its very easy to control canbus (tacho and temperature gauges are canbus) and light with codes/software.

    The speed signal is 1770kH for 255km/h which we aquired by modifying the pwm signal on the arduino but as you can see in the demo videos it sometimes skips or loses track as it is very demanding for the arduino (imagine doing this for every gauge on the cluster).

    Currently the project is on hold due to summer break but we have a good base and I am thinking about releasing a (yet limited) version of our software so people can explore.
    The software we made consist of 1 windows tool that gathers the games info and outputs ot to com connected devices (such as arduino) and an arduino script to power the gauge cluster but the code can also be modified to power leds on your arduino breadboard.

    Dont know if you've downloaded the powerpoint presentation but that basically is our final product currently.
     
    #12 Master0wn3r, Aug 14, 2018
    Last edited: Aug 14, 2018
  13. charl

    charl
    Expand Collapse

    Joined:
    Aug 12, 2016
    Messages:
    75
    I tried this a while back with the gauges from a salvaged demolition derby car (Geo Prizm, a Toyota Corolla clone), but ran into issues, because when I switched cars, the game would crash with no error code whatsoever. It's really cool to see this working!

    Will you be releasing files?
     
    • Like Like x 1
  14. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    There doesnt seem to be a real interest in this somehow.. so I am not sure if I will release everything we have as is.. I will and maybe can help with your stuff. 2 cars seems to screw up our gauges as welk als it reads the 2 values (one idle and one driving at 4000rpm) results in our gauges moving up and down between 900rpm and 4000rpm.
     
  15. SebastianJDM

    SebastianJDM
    Expand Collapse

    Joined:
    Apr 9, 2017
    Messages:
    995
    i think this is super cool, and will be perfect for my setup (trying to make the most realistic virtual cockpit), so if you could pm the files that would be super awesome.
     
  16. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    Our software (and some hardware from Arduino) is optimalized for BMW E46/E90 so I recommend you get one of those gauges first
     
    • Like Like x 1
  17. onell77

    onell77
    Expand Collapse

    Joined:
    Aug 23, 2019
    Messages:
    1
    Any news of this Project?

    Wiring Diagram,Tutorial

    Help with wiring would be great

    Hardware I have everything so far.

    ARDUINO uno or Mega, Canbus shield

    I already supplied Clusters with electricity
     
    #17 onell77, Aug 23, 2019
    Last edited: Aug 23, 2019
  18. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    Hello, we used Arduino Mego with canshield, for help you may contact me personally
     
  19. ChannelUndefined

    ChannelUndefined
    Expand Collapse

    Joined:
    Sep 29, 2019
    Messages:
    1
    so I could send the RPM value from the arduino directly to the tachometer signal pin?
     
  20. Master0wn3r

    Master0wn3r
    Expand Collapse

    Joined:
    Nov 3, 2014
    Messages:
    24
    You need an Arduino Can shield and you have to know how to convert a numeral rpm value to a form which the cluster can read.
     
    • Informative Informative x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice