Announcement

Collapse
No announcement yet.

UE4Duino - Arduino to UE4 plugin Release!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by brownoo View Post
    Wchich plugin version i tried with 4.10 but didn't recompile
    i think in 2 days i'll have the plugin rewriten for 4.12 with the ability to actually package it and some other improvements

    Comment


      Hello [MENTION=4260]Velocityx[/MENTION]

      I'm glad that you can fix this plugin

      All cumindad should be very grateful to you

      Thank you for your great contribution

      Comment


        Hello [MENTION=68304]amauricio3d[/MENTION]!

        I've released a cross platform Arduino plugin for UE4 that works in 4.12. If you want to check it out, you can take a look at: https://forums.unrealengine.com/show...Plugin-for-UE4
        Last edited by danielvmacedo; 08-01-2016, 04:36 PM.

        Comment


          [MENTION=1910]danielvmacedo[/MENTION]
          Hey, thanks for sharing this! It works fine even in packaged Game!
          [MENTION=4260]Velocityx[/MENTION]
          Thanks for your work. Check out danielvmacedo's version he now already did it and it might save you some time...

          Comment


            [MENTION=1910]danielvmacedo[/MENTION]
            Hi I further tested it, if I print the String it looks alright, but as soon, as I try to convert the ReadText to a float, the Values start to strangly jump around. I guess the String is not correctly converted.
            Any Ideas how to fix this?
            Thanks!

            Comment


              HI, was your promblem solved ? I met the same condition!

              Comment


                Hello
                [MENTION=4260]Velocityx[/MENTION] [MENTION=1910]danielvmacedo[/MENTION] [MENTION=481880]brownoo[/MENTION]

                It has managed to fix the UE4Duino or ArduinoKit plugin?

                The problem is that UE4Duino can not be packaged ..

                I tried another plugin called ArduinoKit, developed by [MENTION=1910]danielvmacedo[/MENTION] this plugin if you can package, but when running, after a few minutes resulting in a crash.. This almost ready

                Hopefully we will soon have a fully functional plugin, either ArduinoKit or UE4Duino

                Any solution?

                Cheers
                Last edited by 3dmauro; 08-19-2016, 05:26 PM.

                Comment


                  Originally posted by amauricio3d View Post
                  Hello
                  [MENTION=4260]Velocityx[/MENTION] [MENTION=1910]danielvmacedo[/MENTION] [MENTION=481880]brownoo[/MENTION]

                  It has managed to fix the UE4Duino or ArduinoKit plugin?

                  The problem is that UE4Duino can not be packaged ..

                  I tried another plugin called ArduinoKit, developed by [MENTION=1910]danielvmacedo[/MENTION] this plugin if you can package, but when running, after a few minutes resulting in a crash.. This almost ready

                  Hopefully we will soon have a fully functional plugin, either ArduinoKit or UE4Duino

                  Any solution?

                  Cheers
                  UE4duino can be packaged so first u should create black c++ project and build it with VS2015, then add the ue4duino plugin (delete the binaries and intermediate) and build your plugin
                  and try to package !

                  Comment


                    Hi guys! I see you've managed to get it working under 4.12! Kudos for that! Can anyone share working version with us - non coders

                    Comment


                      Hi All:

                      I had try use this plugin in different version of UE4 both 4.9 and4.10 under windows 10 , both of them can not open the serial port in the UE4(I'm just simply serial println number 2, I don't know what I got wrong.Serial monitor are working fine in arduino, and I did close it before I test in ue4.

                      Comment


                        Got this working on 4.13.1 on Windows 7

                        Download UE4Duino_4.10 plugin
                        Open your UE4 4.13 project first, then add an empy C++ class (even when you're only using Blueprints, this will convert your project to be C++ compatible, you need Visual Studio 2015)
                        Save and quit your project, then make a Plugins folder in your project and copy UE4Duino_4.10 into it.
                        Start your project again, now it will ask you to rebuild the plugin, click yes, and the plugin should now work with 4.13.1

                        I'm a complete beginner with Arduino, but so far I managed to toggle the little light on and off on the Arduino board, by pressing a button in UE4.
                        Last edited by Sleeper.; 10-11-2016, 06:07 AM.

                        Comment


                          Do you think it will work on Win10, too?

                          Comment


                            Can't say for sure, I don't have W10, but I don't see why not.

                            Comment


                              Confirmed working in W10 UE 4.13.1 with Visual Sudio 2015 Community Edition. It's important to install the right stuff with the VS installation (common tools).

                              Comment


                                But is it normal that UE crashes very often when using this plug? I have build a very basic setup in the FP-Shooter template (mostly taken from this thread) and it works. But after ten or so executions of the trigger events UE crashes. (Win10, UE 4.13.1, Arduino Unos)

                                Arduino sketch:

                                int incomingByte;

                                void setup() {
                                // put your setup code here, to run once:
                                pinMode(LED_BUILTIN, OUTPUT);
                                digitalWrite(LED_BUILTIN, LOW);
                                Serial.begin(115200);


                                }

                                void loop() {
                                // put your main code here, to run repeatedly:

                                incomingByte = Serial.read();
                                if (incomingByte == 'Y')ssssss
                                {
                                digitalWrite(LED_BUILTIN, HIGH);
                                }
                                else if (incomingByte == 'N')
                                {
                                digitalWrite(LED_BUILTIN, LOW);
                                }
                                }


                                Level Blueprint:

                                Click image for larger version

Name:	lbp.JPG
Views:	1
Size:	66.0 KB
ID:	1116533

                                Comment

                                Working...
                                X