1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

Conect Lego Mindstoms like beamng input?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by iTzPolipolo, Mar 7, 2017.

  1. iTzPolipolo

    iTzPolipolo
    Expand Collapse

    Joined:
    Mar 4, 2015
    Messages:
    230
    I buy a LEGO Minstorms a long time ago and i like to conect it to beamng, there is some way to do it?
    i can conect it like a bluetooth
     
  2. JetPoweredMacintoshâ„¢

    JetPoweredMacintoshâ„¢
    Expand Collapse

    Joined:
    Feb 23, 2016
    Messages:
    1,566
  3. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,347
    oh sh*t that's a good idea, I'm interested in this. I mean, the program on pc can read servo rotations when the NXT is connected with usb. So it could be possible somehow to build your own controller with lego.
     
    • Agree Agree x 2
  4. iTzPolipolo

    iTzPolipolo
    Expand Collapse

    Joined:
    Mar 4, 2015
    Messages:
    230
    right now, I build a handbrake and a sequantial shifter xD
     
  5. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,347
    That's what I want to do too :D But I'm not sure how to go about setting the controls so that windows reads them
     
  6. iTzPolipolo

    iTzPolipolo
    Expand Collapse

    Joined:
    Mar 4, 2015
    Messages:
    230
    windows read it, beamng no :(
     
  7. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    if you can configure the Lego Minstorms to use the Human Interface Device Profile on the bluetooth then you are good to go

    or you could do this with an arduino
     
  8. iTzPolipolo

    iTzPolipolo
    Expand Collapse

    Joined:
    Mar 4, 2015
    Messages:
    230
    how i do this?
    anyway thanks for your help :)
    I found this, a boy haves the same question https://lejos.sourceforge.io/forum/viewtopic.php?f=7&t=1664
     
  9. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    thats going the other way and with a reflashed NXT.

    Its not something you can do with a stock NXT and something where unfortunately, looking at what others have done, I wont call it impossible but if you remotely had the ability to do it, you'd not be asking unfortunately.
     
  10. iTzPolipolo

    iTzPolipolo
    Expand Collapse

    Joined:
    Mar 4, 2015
    Messages:
    230
    Thanks anyway :(
     
  11. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    I don't really know the limitation of the NXT.
    With the basic Arduino you have 12 or input/output and 6 analog input

    I think if you can program in C and understand basic electronics you should get an Arduino or something similar

    I will post a picture of what I did with
     
  12. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    that doesnt deal with the PC communication still.

    Theres external boards for the arduino which can do USB HID *device*. Or I suppose you're stuck writing custom emulated input drivers on windows backed from the serial port the arduino possesses. Only leonardo and due have USB capability otherwise.
     
  13. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    You can add HID to other Arduino by modifying the bootloader (not recommended for a beginner)

    On chinese site you can find the Leonardo cheaper than the UNO because people buy more of those one even if it's less powerfull and have less functionality.

    The example on arduino site are very simple but can suit your needs
    Code:
    Keyboard.press('n');
    that way you can code the key-layout of BeamNG and then the game will only think you pressed it on a normal keyboard
     
  14. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    Look again, its not new bootloader, its reflashing the USB to serial adapter onboard the arduino board, a part alot of arduinos (particularly chinese cloans) implement *very* differently.
     
    • Agree Agree 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