# 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:** 15

<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 22, 2016, 6:54pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/294 "2016-07-22T18:54:16Z")

</div>

ok i got my microcontroller from the mail today,i’ll start doing stuff for it tommorow

---

<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 25, 2016, 4:26pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/295 "2016-07-25T16:26:53Z")

</div>

Hello @Velocityx

I hope that you achieve solve this problem …

The ideal is to compile the game using this plugin.

I’m not a programmer but if you need help with something, I will gladly’m willing to Collaborart …

---

<div class="post-metadata">

**Author:** ![Gabriel\_Lima](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gabriel\_Lima](https://forums.unrealengine.com/u/Gabriel_Lima)\
**Post date:** [August 1, 2016, 12:59am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/297 "2016-08-01T00:59:17Z")

</div>

@Velocityx what does the “f\*\*ck serial” node do?

---

<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:** [August 1, 2016, 7:49am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/298 "2016-08-01T07:49:45Z")

</div>

i had issues getting the code to work because the old one worked cause it got itself slow enought for the buffer not to empty before it got filled,so i was wondering why it didn’t work for me so i made a function to pull the buffer on command amd thats how i found out i needed to use a function that the plugin didn’t have because it was so slower,basically that node is just a debug node,but all my debug stuff is normally curse words XD

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1e5f0599](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1e5f0599](https://forums.unrealengine.com/u/anonymous_user_1e5f0599)\
**Post date:** [August 1, 2016, 3:11pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/299 "2016-08-01T15:11:45Z")

</div>

> [@Stupzow;523475](#):
>
> 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’m sure this method is useful with UE4.11.
> 
> Hope it will be helpful 🙂

Wchich plugin version i tried with 4.10 but didn’t recompile ☹

---

<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:** [August 1, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/300 "2016-08-01T15:15:01Z")

</div>

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

---

<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:** [August 1, 2016, 4:04pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/301 "2016-08-01T16:04:25Z")

</div>

Hello @Velocityx

I’m glad that you can fix this plugin

All cumindad should be very grateful to you

Thank you for your great contribution 🙂

---

<div class="post-metadata">

**Author:** ![valentegamedev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/valentegamedev/32/1068844_2.png) [@valentegamedev](https://forums.unrealengine.com/u/valentegamedev)\
**Post date:** [August 1, 2016, 7:59pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/302 "2016-08-01T19:59:50Z")

</div>

Hello @amauricio3d!

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: ://forums.unrealengine.com/showthread.php?118851-FREE-ArduinoKit-Cross-Platform-Arduino-Plugin-for-UE4

---

<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:** [August 2, 2016, 7:17am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/303 "2016-08-02T07:17:47Z")

</div>

@danielvmacedo  
Hey, thanks for sharing this! It works fine even in packaged Game!  
@Velocityx  
Thanks for your work. Check out danielvmacedo’s version he now already did it and it might save you some time… 🙂

---

<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:** [August 2, 2016, 8:15am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/304 "2016-08-02T08:15:13Z")

</div>

@danielvmacedo  
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!

---

<div class="post-metadata">

**Author:** ![gaofei7439](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gaofei7439](https://forums.unrealengine.com/u/gaofei7439)\
**Post date:** [August 4, 2016, 2:46am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/305 "2016-08-04T02:46:02Z")

</div>

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

---

<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:** [August 19, 2016, 6:05pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/306 "2016-08-19T18:05:08Z")

</div>

Hello  
@Velocityx@danielvmacedo@brownoo

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 @danielvmacedo 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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1e5f0599](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1e5f0599](https://forums.unrealengine.com/u/anonymous_user_1e5f0599)\
**Post date:** [August 19, 2016, 9:47pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/307 "2016-08-19T21:47:06Z")

</div>

> [@amauricio3d;583822](#):
>
> Hello  
> @Velocityx@danielvmacedo@anonymous_user_1e5f0599
> 
> 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 @danielvmacedo 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, add the ue4duino plugin (delete the binaries and intermediate) and build your plugin  
and try to package !

---

<div class="post-metadata">

**Author:** ![milmarg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@milmarg](https://forums.unrealengine.com/u/milmarg)\
**Post date:** [September 3, 2016, 3:20pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/308 "2016-09-03T15:20:35Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_481450e2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_481450e2](https://forums.unrealengine.com/u/anonymous_user_481450e2)\
**Post date:** [September 25, 2016, 7:23am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/309 "2016-09-25T07:23:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Sleeper\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sleeper\_1](https://forums.unrealengine.com/u/Sleeper_1)\
**Post date:** [October 11, 2016, 10:01am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/310 "2016-10-11T10:01:52Z")

</div>

Got this working on 4.13.1 on Windows 7

Download UE4Duino\_4.10 plugin  
Open your UE4 4.13 project first, 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, 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.

---

<div class="post-metadata">

**Author:** ![pechart](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pechart](https://forums.unrealengine.com/u/pechart)\
**Post date:** [October 11, 2016, 10:53am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/311 "2016-10-11T10:53:58Z")

</div>

Do you think it will work on Win10, too?

---

<div class="post-metadata">

**Author:** ![Sleeper\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sleeper\_1](https://forums.unrealengine.com/u/Sleeper_1)\
**Post date:** [October 11, 2016, 11:26am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/312 "2016-10-11T11:26:15Z")

</div>

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

---

<div class="post-metadata">

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

</div>

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).

---

<div class="post-metadata">

**Author:** ![pechart](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pechart](https://forums.unrealengine.com/u/pechart)\
**Post date:** [October 11, 2016, 6:21pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/314 "2016-10-11T18:21:46Z")

</div>

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 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:

 ![ffc2fabaca51edee6f025243d2ace1acbe07f886.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/c/ffc2fabaca51edee6f025243d2ace1acbe07f886.jpeg)

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

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