Unreal Engine Serial Communication Plugin (Serial COM)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • New FREE plugin for Arduino enthusiasts and anyone who needs professional Serial Communication from and to Unreal Engine (4.25/4.26/4.27/5.0EA).
    "Communication Serial Port (Serial Com)" Unreal Engine Plugin.
    Official Github repository of this plugin:
    github.com/vid...
    I waited for almost a year for the UE4Duino plugin to be fixed (It wouldn't work natively in UE4.26 or UE4.27, and if you didn't have the right SDK's and Visual Studio installed it wouldn't compile either when trying to import the plugin.
    The need for this plugin is bigger than ever for Virtual Production.
    Native support for Serial Communication is the biggest missing feature in Unreal Engine. Having access to the Serial Port you have access to literally any peripheral with the most documented communication protocol that you will ever find.
    Yes, I can hear the screams from Epic Games developers "Use the LiveLink library!!!"... I understand. But the LiveLink library is too big and complicated for my small brain. At engineering, we learn to: "KISS"... "Keep It Simple STUPID!" ... and the Serial Communication plugin is just that, a simple method to communicate via a Serial Port.
    Since all my motion control project are going to depend on that library, I was already planning to expand the plugin, and since the plugin was last touched almost two years ago, I decided to fork the UE4Duino plugin and add all the functionalities that I will need later inside that forked plugin.
    All my love and respect goes to Gryzly32/FuzionLabs(v1), and Rodrigo Villani (v2) for making this plugin in the first place and maintaining it.
    Since I am doing so much work with the Serial Port, it only makes sense for me to fork this repo and add all the add-ons myself.
    So, the new Plugin is called "Communication Serial Port" and short name is "Serial Com". The version starts at v3 because it is literally a fork of EU4Duino 2.2.5 plus some extra perks that I am adding to the plugin.
    If you need early access to the beta test, please ask me. I have night builds that needs beta testers.
    Feel free to ask for future requests. Either way, here or at Gigthub.
    Just to clarify one thing. This is NOT EU4Duino v3. The plugin identifier is "SERIALCOM" instead and you will not be able to replace the library 1-on-1. The functions are compatible, but you will have to replace each one of the functions by hand with the similar function if you have an old project build with EU4Duino.
    If Rodrigo Villani decides to make a version 3 of EU4Duino, he will be able to continue that path. I am taking a new path. I hope that is clear.
    Official Github repository of this plugin:
    github.com/vid...
    Links:
    JOIN THE DISCORD SERVER!!!: discord.ramiro...
    TH-cam: youtube.ramiro...
    TWITTER: twitter.ramiro...
    GITHUB: github.ramirosl...
    CLUBHOUSE: @RAMIROMDO
    SUPPORT THE CHANNEL BUYING NFTs: nft.ramiroslab...
    SUPPORT THE CHANNEL DONATING NFTs: 0x2BEf61929d96D1847c254994e048661Dd4Ca1167
    #unrealengine #motioncontrol #cameratracking #vive #oculus #metaverse #realsense #lidar #dji #NFT #Arduino #UE4Duino #UnrealEnginePlugin

ความคิดเห็น • 56

  • @sxpv
    @sxpv ปีที่แล้ว +2

    Thanks a ton! Great plugin Ramiro

  • @GRIFFARTCENTER
    @GRIFFARTCENTER ปีที่แล้ว

    it works with sharp distance sensor and UE 5.1.1, I'm a beginner, and my mind is blown, thank you!

  • @leonidlypkan4422
    @leonidlypkan4422 ปีที่แล้ว +2

    I know it is not in the scope but how can I make it work on Android build?

  • @bruceaquina1799
    @bruceaquina1799 2 ปีที่แล้ว +2

    Thank you for this post! I am happy to stumble on this and can continue mess around more with Microcontrollers & UE 4.27+. Previous version (UE4Arduino) I had managed to have Brekel Body Tracker move a skeletal mesh inside Unreal and with a boundary box, had the actor trigger a LED when approaching. The light was also triggered in the virtual scene and when the actor rotated the Controller it rotated the Static Mesh in Unreal making a more immersive experience. I'm glad to continue with this on newer version of UE thanks to your talent and skill. However, if you do post a UE 5 video about your plugin could you discuss the FilterPlugin under "Config" that's in the SerialCOM_Plugin Master folder? I noticed this folder was omitted from the individual versions/download of the Plugin and was not mentioned in this video. I'm not so tech saavy, but time and great tutorials help heaps. Stay awesome and happy holidays Ramiro!

    • @RamirosLab
      @RamirosLab  2 ปีที่แล้ว +3

      That's just a script for the compiler. It tells the builder what files to include (or exclude) and copy those files to the new package. Also, I copy the extra files manually. Technically that file is garbage because is not being used. Thanks for pointed out. I will clean it to avoid confusion.

  • @erikherbert9959
    @erikherbert9959 11 หลายเดือนก่อน +2

    Do you plan a Update for Unreal 5.3?

  • @user-ny3gx3hv1d
    @user-ny3gx3hv1d ปีที่แล้ว +1

    How do serial com plugins receive HEX data?

  • @princess_hd
    @princess_hd ปีที่แล้ว +2

    Dear good sir, any chance there will be a new revision for UE5.1 soonish ? :)

  • @pixelasm
    @pixelasm 2 ปีที่แล้ว +2

    Thanks for the update but it seems like the latest version is not compatible with Unreal 5.0.2
    At least I get the message "The following modules are missing or built with a different engine version: SERIALCOM Would you liket to rebuild them now?" Then it says "... could not be compiled. Try rebuilding from source manually."
    What can I do?
    Any plans for an update?

  • @4865213
    @4865213 ปีที่แล้ว +2

    Hello, I have a question for you. Can the Unreal Serial Port Plugin run on mobile?

  • @kirill2525
    @kirill2525 5 หลายเดือนก่อน

    is this the same kind of communication that RC aircraft radios use? there must be a way to use RC radios with a USB output in unreal as they are used in flight simulaters to practice flying

  • @JosephineDeBellefroid
    @JosephineDeBellefroid 2 หลายเดือนก่อน

    Thank you so much, this is great! I'm using this to mark events in my unreal game and analyse the brainwaves at those specific moments using EEG. Iam not exactly sure how to link all 3 together and how to mark those specific events, any idea?

  • @tonydev3569
    @tonydev3569 ปีที่แล้ว +1

    Hello! I am making a game with a car and I'm trying to send data like speed, amount of gas, values for the pedals, wheel axis, etc.. to a specific port. My question is how can I do this? Do I need a port for each value? Can I send all values to a single port? The idea is that each value is constantly refreshed so we can use this data and represent the car's board with in-game values in a physical interface. Thanks in advance for this plugin, is a huge help!

    • @RamirosLab
      @RamirosLab  ปีที่แล้ว

      No, you can send a stream of packets for each value.

  • @Qing_Chang
    @Qing_Chang ปีที่แล้ว

    Hello,I also tried this plugin ,Successful packaging is complete,At this time, after running the packaged program, Indicates that the plugin is missing,Do you know what's going on?

  • @benjavides
    @benjavides 2 ปีที่แล้ว +2

    You mentioned that you think the problems with livelink are related with not closing the connection. Is there a specific function we should call when using livelink when closing the game? I couldn't find it in the docs

    • @RamirosLab
      @RamirosLab  2 ปีที่แล้ว

      Sorry, I just saw this comment, but yes, I answered this on the Discord server. I think that not closing the port is the main reason why LiveLink has to be re-initiated or actually the whole system some times has to be re-started. Is a ridiculous solution, but since this was solved on the last hot fix, probably that's the fix that they did.
      But always, is a good practice to close the ports of any connection that you are using.
      In live link is called "Remove Source" and you linked to the "Event END Play" event. Is the event that execute when you hit the stop button.

  • @iswiu2bl
    @iswiu2bl 2 ปีที่แล้ว +2

    Hi, thanks for really useful plugin. I am also having the same problem compiling it with the engine version 5.0.2. It just won't compile. It would be super fantastic of you to make this work... on beyond early access versions...

    • @indieartsmidwest4042
      @indieartsmidwest4042 2 ปีที่แล้ว

      Agreed UE4duino 4.27 never worked for me and multiple instances of UE is not good. I'll just stick to keyboard emulation via micro. I would be great if plugins worked similar to Blender. I understand the importance of compiling blah blah blah but at this point marketplace is at least consistent.

  • @andybourne8439
    @andybourne8439 ปีที่แล้ว

    Thanks for plugin! I have this working with a Black Forest Pine II controller, but I just get odd strings of data back. I was expecting some useful information about where the stepper motors were. Should I be requesting this information in some way?

  • @original9vp
    @original9vp 2 ปีที่แล้ว +2

    LOL at the ceremony! :)

    • @RamirosLab
      @RamirosLab  2 ปีที่แล้ว +1

      Not disappointing, right 😂😂😂

  • @rdileepkumar4898
    @rdileepkumar4898 2 ปีที่แล้ว

    How to get audrino value replicated to client and server I am not able to figure it out pls help

  • @bajantraian
    @bajantraian 6 หลายเดือนก่อน

    Thank you ! ❤

  • @dagonstudios2452
    @dagonstudios2452 ปีที่แล้ว

    So awesome thanks

  • @user-uy7re5uv9c
    @user-uy7re5uv9c ปีที่แล้ว

    谢谢你,Ramiro,么么哒!

  • @lealemtaye
    @lealemtaye ปีที่แล้ว

    Thank you for the video

  • @dublan99
    @dublan99 2 ปีที่แล้ว +2

    Hey Ramiro! I'm in a game development class and we're all excited about using the plugin.
    Unfortunately, it's working great for windows users, but on Mac computers, the plugin is not working. It shows up in the Plugin list, but none of the commands show up in blueprints (and the sample one doesn't compile).
    Any idea whats up? Really appreciate it!

    • @kirill2525
      @kirill2525 5 หลายเดือนก่อน

      sorry for the shitty answer but dont use mac, don't even support mac. they are a shitty company with shitty business practices.

  • @digimikeh
    @digimikeh 9 หลายเดือนก่อน +1

    Hi!.. thanks for this plugin and video..
    i have downloaded version 5.3.2 and using it with Unreal 5.3.2 as well..
    i have wrote a very basic program to control a potentiometer maped from -175 to -20, on the terminal Putty it prints ok and instantly.... but in Unreal, i have a lag, i change the potentiometer and values are printed on the screen some 3 or 4 seconds later... what could be?..
    thanks.

    • @jatinchawla1680
      @jatinchawla1680 6 หลายเดือนก่อน

      Bro im using unreal 5.3.2 but when I hit play nothing appears and I'm just interacting with the level, there's no serial port connected message or not connected message

    • @digimikeh
      @digimikeh 6 หลายเดือนก่อน

      @@jatinchawla1680 are you c++ ?

  • @muhammadhuzaifa2441
    @muhammadhuzaifa2441 หลายเดือนก่อน

    I bought the Aurdino UNO but the it says post not open. port number is correct. I think the one I bought is Chinese. would that effect the communication?

    • @MimasAnimations
      @MimasAnimations หลายเดือนก่อน

      Same problem here. Have you already figured it out? Its so frustrating

  • @s3d454
    @s3d454 2 ปีที่แล้ว

    Hi, thank for our work. When do you think this plugin will be suitable for the last version of Unreal (5.0.2)? Thanks

  • @persio1998
    @persio1998 6 หลายเดือนก่อน

    Does it run in Meta Quest 2?

  • @omarpalumbo6971
    @omarpalumbo6971 2 ปีที่แล้ว +1

    Hi, thank you for your work! Will the plugin be suitable also for the new UE5 version? I tried to use it but it works only in the Early Access version

  • @CptCredible
    @CptCredible 16 วันที่ผ่านมา

    Does this work on mac ?

  • @nawakman
    @nawakman 2 ปีที่แล้ว +1

    This is incredible, does it also works in the compiled versions of projects or only in editor ?

    • @why__die
      @why__die ปีที่แล้ว

      great question? did you ever test it?

    • @nawakman
      @nawakman ปีที่แล้ว

      @@why__dieI tested it with a gyroscope to rotate static meshes and it worked well in ue5 editor, but I didn't tested on a compiled version because it was on the 5.0.0 EA and the compile button was broken(at least for me)

  • @philipnguyen7408
    @philipnguyen7408 2 ปีที่แล้ว +1

    Hi, is modbus features available? Or would I need to write it from scratch?

    • @RamirosLab
      @RamirosLab  2 ปีที่แล้ว +1

      This is a simple UART library. If you want to implement Modbus on Arduino or STM32, is better to implement it from the microcontroller.
      Are you trying to do the implementation outside the computer or from the computer, that would be the question.

    • @philipnguyen7408
      @philipnguyen7408 2 ปีที่แล้ว +1

      @@RamirosLab I want to hook up a gyroscope to a pc and unreal so I can use it as a steering input for a bicycling game I am making. I bought this wt901c 485 gyroscope on Amazon and it’s connected to my pc via a usb cable they recommend. I see the data coming in to the computer but it’s in Modbus rtu. Thanks for the response.

    • @RamirosLab
      @RamirosLab  2 ปีที่แล้ว +1

      @@philipnguyen7408 ... I think is better to connect it through Arduino instead. You'll have more control of the data and control of the IMU since you can update the settings via code.

    • @RamirosLab
      @RamirosLab  2 ปีที่แล้ว +1

      @@philipnguyen7408 ... But yes. Not a bad idea to make a tutorial with some of the most popular IMU... probably a 9DOF.

  • @Maxhawk
    @Maxhawk 4 หลายเดือนก่อน

    Hey this plugin works great, but I have to disconnect and reconnect the arduino every time I play otherwise it doesn't get detected.
    Am I doing something wrong? Please let me know.

    • @RamirosLab
      @RamirosLab  4 หลายเดือนก่อน

      You have to add the script to disconnect the port before the application closes, or the port will stay open. Another trick is to disconnect the ports at the beginning of the program (on the UE blueprint).

    • @sa3adman
      @sa3adman 2 หลายเดือนก่อน

      on event end play add close serial port node

    • @MimasAnimations
      @MimasAnimations หลายเดือนก่อน

      How did you get it to work? I always appears that the port is not connected.

    • @sa3adman
      @sa3adman หลายเดือนก่อน

      @@MimasAnimations show me how u did it

    • @MimasAnimations
      @MimasAnimations หลายเดือนก่อน +1

      @@sa3adman thank you for your quick response. I acutally already figured it out :)
      Didnt know that the problem is caused due to serial monitoring in the arduino program

  • @ahmetdastan8253
    @ahmetdastan8253 4 หลายเดือนก่อน

    Does this plugin support Linux?

    • @RamirosLab
      @RamirosLab  3 หลายเดือนก่อน

      not yet