UE4Duino - Arduino to UE4 plugin Release!

Hey Velocityx,

that is awesome! Did it only work when you programmed it with your gameinstance? Or will it now also work if I program a normal blueprint library again as the error was somewhere else?

Hi Velocityx,
Well I just tried it, but the read is not working for me. At the begining the arduino value is read out correct, but after that it doesn’t update anymore and the printstring commad results in the same number all the time. I set the baudrate to 115200 in the levelblueprint to match my arduino which worked fine in the other UE4Duino Plugin version… Any Idea?

Hey! i’m having issues here aswell,

I see a diode flashing on my arduino board whenever i try to write to the serial from Unreal Engine, but i cannot get any data out of it.
And when i Serial.print(“something”) from the arduino, nothing appears when i use the Read Serial node in blueprint and try to print the string.
I see that the port opens correctly from the output log in UE. Tried with 4.10, 4.11 and 4.12, using win10.

I’m working on 4.10.4 and can’t package the game, I must deliver it in 5 hours tops and can’t do squat, I can’t even generate c++ projects (it ask for a source folder each time I try to do it) for it for who know what reason and all of a sudden now UE4 asks me for VS2013 when I installed VS2015.

Manage to solve this, still won’t package on final build: If someone ran into this issue and couldn’t solve it, I advice you not to use this plugin for developing since it seems to be in beta to be fair.

You’d need to write a few functions to control speed with PWM and have something like a hall sensor to record your RPMs to adjust the speed.

Just be sure to power the fan with an external power supply(look up how to connect a 12v motor to an arduino).

Anyone have problems with this if using a Leonardo or Micro/Pro Micro?

Had to rewrite the serial class to make it work.

Hi so i’ve used this in a packaged project and it works,i will rewrite it again when i get a microcontroller cause i had to give mine up for a seperate project.I need to make it have a thread again(it’s technically commented out and it’s code has been put in the tick which might actually be why you are getting issues,it might has it’s buffer getting filled too fast or etc. and because it’s in the game thread the reading is slowed down,it might get hackfixed if you give a bigger delay for the messages but not sure).I will probably make it a real plugin and will make it not use the game instance,i was using it because the previous implementation was a *********** it was creating objects left and right just to make it run and tried to access a bp library object which when packaged does not actually exist

That would be so awesome Velocityx! I’d gladly buy you an arduino if that would help?

i already bought microcontrollers, but they’re on their way probably will take a week and something.

Hi guys,

I need some help to get the plugin working. I tried all available plugin versions I could find here with 4.12 and 4.11:

UE4Duino4.9
UE4Duino_4_10
UE4Duino_Plgin
UE4Duin-versieGidi

If I put one of this folders under C:\Program Files (x86)\Epic Games\4.12\Engine\Plugins\MyPlugins it always shows the same message: Plugin UE4Duino failed to load because module UE4Duino does not appear to be compatible with the current version of the engine. The plugin may need to be recompiled.

So I tried this:

*Hello guys,
I recompiled UE4Duino for 4.12Preview and it works.
So here is the short instruction how to do it by yourself:

  1. Create new project in UE4.12
  2. Add new C++ class (None->next)
  3. Save project
  4. Close it
  5. Create folder “Plugins” in the project folder and put here UE4Duino plugin
  6. Open again your project and UE will ask you to recomplile UE4Duino plugin - you should press YES.
  7. When recompilation will be done, you can close UE and copy UE4Duino from that project to other project. It will work./]

I tried it again with all folders and both versions 4.11 and 4.12. It says The following modules are missing or build with a different version… Would you like to rebuild them now?
If I hit yes, this comes up:

Error: ProjectTitle could not be compliled. Try rebuilding from source manually.

I’m using Win10 64bit. Can someone help?

Thanks

try deleting the binary and intertmediate of the plugin,i do have to say the plugin won’t work if you package if you want to you have to use my project that i posted above where it’s posible to compile,the buffer is giving issues in it but you can compile it

Unfortunately it’s still not working. I tried again all version. Same with your project:

*The following modules are missing or build with a different engine version:

UE4Editor-UE4DUINO.dll

Would you like to rebuild them now?*

Error: ProjectTitle could not be compliled. Try rebuilding from source manually.

Strange thing is, I can see you project under “my projects” with a 4.11 tag on it.

my project wouldn’t require a plugin module,

even by deteting binary and intermediate of the plugin, he must regenerate the solution, so delete that and please right click on your project and regenerate all

Aron, after step 5 make a right click on your .uproject file and hit “generate visual studio project files”.

Hello

Hello

This plugin has a big problem I have not solved … this plugin does not work if you can not package the final project …

Capture1.PNG

I wonder if anyone has managed to package your project successfully.

is that Velocityx is working on it, maybe someone else can support their contribution.

Awesome! Thanks!

I had to solve two issues: Windows SDK 8.1 was missing and Common Tools for Visual C++ 2015 was also not installed. After adding these components it was possible to “generate visual studio project files” and step 6 and 7 worked.

Now Windows 10 64bit with Unreal 4.12 and UE4Duino_4_10 is running.

Thanks again.

Hello @AronBaron
You tried to package your project using UE4Duino?
It works well?

I do not know anyone who has managed to package the proeycto and well-functioning UE4Duino
If you managed to solve this, could you tell us how you did it?

Thanks… :o

Hi, Is there a version of this plugin that is compatible with UE4 v 4.12.5. Thanks!

Hi,

no sorry. I never tried to package my project. I only got the plugin running.

You can use plugin version 4_10 and do some manual modifications steps, see page 6 of this thread. I couldn’t find a version that worked with 4.12 right away .