# UE4Duino - Arduino to UE4 plugin Release!

**URL:** <https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 1, 2015, 3:03pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963 "2015-05-01T15:03:23Z")\
**Posts on this page:** 20\
**Page:** 14

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7cbf4ea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7cbf4ea](https://forums.unrealengine.com/u/anonymous_user_d7cbf4ea)\
**Post date:** [June 7, 2016, 9:15am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/274 "2016-06-07T09:15:16Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7cbf4ea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7cbf4ea](https://forums.unrealengine.com/u/anonymous_user_d7cbf4ea)\
**Post date:** [June 7, 2016, 9:52am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/275 "2016-06-07T09:52:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8f62f3bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8f62f3bf](https://forums.unrealengine.com/u/anonymous_user_8f62f3bf)\
**Post date:** [June 16, 2016, 5:54pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/276 "2016-06-16T17:54:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8558ff7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8558ff7](https://forums.unrealengine.com/u/anonymous_user_c8558ff7)\
**Post date:** [June 16, 2016, 10:07pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/277 "2016-06-16T22:07:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![wspracklin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wspracklin](https://forums.unrealengine.com/u/wspracklin)\
**Post date:** [June 26, 2016, 10:56am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/278 "2016-06-26T10:56:05Z")

</div>

> [@;528417](#):
>
> [MENTION=41593][/MENTION]
> 
> I’d like to be able to control the RPMs as a function of the maximum speed of my ATV simulator.

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.

---

<div class="post-metadata">

**Author:** ![KernelCrumpet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KernelCrumpet](https://forums.unrealengine.com/u/KernelCrumpet)\
**Post date:** [June 28, 2016, 10:33am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/279 "2016-06-28T10:33:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8f62f3bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8f62f3bf](https://forums.unrealengine.com/u/anonymous_user_8f62f3bf)\
**Post date:** [June 28, 2016, 12:38pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/280 "2016-06-28T12:38:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![KernelCrumpet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KernelCrumpet](https://forums.unrealengine.com/u/KernelCrumpet)\
**Post date:** [June 29, 2016, 8:22am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/281 "2016-06-29T08:22:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AronBaron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AronBaron](https://forums.unrealengine.com/u/AronBaron)\
**Post date:** [July 14, 2016, 4:10am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/282 "2016-07-14T04:10:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![KernelCrumpet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KernelCrumpet](https://forums.unrealengine.com/u/KernelCrumpet)\
**Post date:** [July 14, 2016, 6:57am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/283 "2016-07-14T06:57:39Z")

</div>

> [@AronBaron;564278](#):
>
> 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

---

<div class="post-metadata">

**Author:** ![AronBaron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AronBaron](https://forums.unrealengine.com/u/AronBaron)\
**Post date:** [July 14, 2016, 4:00pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/284 "2016-07-14T16:00:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![KernelCrumpet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KernelCrumpet](https://forums.unrealengine.com/u/KernelCrumpet)\
**Post date:** [July 14, 2016, 10:40pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/285 "2016-07-14T22:40:43Z")

</div>

my project wouldn’t require a plugin module,

---

<div class="post-metadata">

**Author:** ![ZkarmaKun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zkarmakun/32/1194545_2.png) [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Post date:** [July 14, 2016, 11:35pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/286 "2016-07-14T23:35:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7cbf4ea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7cbf4ea](https://forums.unrealengine.com/u/anonymous_user_d7cbf4ea)\
**Post date:** [July 15, 2016, 12:06pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/287 "2016-07-15T12:06:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![3dmauro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3dmauro](https://forums.unrealengine.com/u/3dmauro)\
**Post date:** [July 15, 2016, 6:14pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/288 "2016-07-15T18:14:13Z")

</div>

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](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/7/9b70fb86e68f2e9e90b1bdc490a3f7b2f5db74dc.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.

---

<div class="post-metadata">

**Author:** ![AronBaron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AronBaron](https://forums.unrealengine.com/u/AronBaron)\
**Post date:** [July 16, 2016, 1:55am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/289 "2016-07-16T01:55:22Z")

</div>

> [@Appsite GmbH;565165](#):
>
> Aron, after step 5 make a right click on your .uproject file and hit “generate visual studio project files”.

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.

---

<div class="post-metadata">

**Author:** ![3dmauro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3dmauro](https://forums.unrealengine.com/u/3dmauro)\
**Post date:** [July 18, 2016, 5:27pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/290 "2016-07-18T17:27:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_914c992f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_914c992f](https://forums.unrealengine.com/u/anonymous_user_914c992f)\
**Post date:** [July 18, 2016, 8:09pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/291 "2016-07-18T20:09:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AronBaron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AronBaron](https://forums.unrealengine.com/u/AronBaron)\
**Post date:** [July 20, 2016, 1:15am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/292 "2016-07-20T01:15:39Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![AronBaron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AronBaron](https://forums.unrealengine.com/u/AronBaron)\
**Post date:** [July 20, 2016, 1:29am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/293 "2016-07-20T01:29:34Z")

</div>

> [@KaranMonster;566716](#):
>
> Hi, Is there a version of this plugin that is compatible with UE4 v 4.12.5. Thanks!

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 .

[Previous page](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963.md?page=13)

[Next page](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963.md?page=15)
