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

<div class="post-metadata">

**Author:** ![fvrcifer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fvrcifer](https://forums.unrealengine.com/u/fvrcifer)\
**Post date:** [March 8, 2017, 10:18pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/361 "2017-03-08T22:18:55Z")

</div>

UE4DUINO 2.0 problem with string

Hello guys,

I’m currently working on connecting two Arduino simultaneously. So I installed new version of ue4duino and i have problem with output of Arduino inside Unreal Engine. The serial monitor of arduino shows that everything is ok and my potentiometer works fluently. Inside UE4, values are freezing or working with huge delay, or working for some time and freezing.

My script is below  
My blueprint is classic - as posted above.

Thank you in advance

int val2,val3,val4 = 0;

void setup()  
{  
Serial.begin(9600); // setup serial  
}  
void loop()  
{  
val2 = analogRead(A2);  
val3 = analogRead(A3);  
val4 = analogRead(A4);  
Serial.print(val2); Serial.print(‘,’);  
Serial.print(val3); Serial.print(‘,’);  
Serial.println(val4);  
delay(1);  
}

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cff13049](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cff13049](https://forums.unrealengine.com/u/anonymous_user_cff13049)\
**Post date:** [March 21, 2017, 8:08pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/362 "2017-03-21T20:08:42Z")

</div>

Hi,

I am having a problem with the plugin. I am using the version that posted but on a 4.12 version. The problem I am having is that only the “Open Com Port” node is showing up in Blueprints, rest of them do not. Any idea why?

Thanks in advance!

CC:

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f6364a65](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f6364a65](https://forums.unrealengine.com/u/anonymous_user_f6364a65)\
**Post date:** [March 22, 2017, 10:57am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/363 "2017-03-22T10:57:34Z")

</div>

Hello

I am new to Unreal4 Blueprints and I am fighting against it to make a simple blueprint to make my servo move, and I have no idea how to make it work so when I press J the servo moves a little bit and when I press U the servo goes back a little bit. I’ve put the code inside the arduino and tested it myself on the input window, but I am sure I am doing something wrong somewhere in the blueprints. I’ve tried looking all over the internet about examples on U4 Blueprints with the Arduino plugin but no luck at all. Could someone help me?

 ![Captura.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/9/a9f9124794511482f462c38deae0f2e77a3e2b15.png)

Thanks in advance.

EDIT: Nevermind, it was a problem inside Unreal, silly me and my noobiness on Unreal

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_14d49766](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_14d49766](https://forums.unrealengine.com/u/anonymous_user_14d49766)\
**Post date:** [March 24, 2017, 6:50am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/364 "2017-03-24T06:50:20Z")

</div>

It’s very cool.Thanks a lot.  
And I met a question that UE4.14 is always collapse.Is there any way to solve this problem?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b02c8cc7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b02c8cc7](https://forums.unrealengine.com/u/anonymous_user_b02c8cc7)\
**Post date:** [March 27, 2017, 4:52pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/365 "2017-03-27T16:52:24Z")

</div>

Hello guys i have a question in the blueprint, how can i insert the block “SET” or what is the name for this block?, thank you . 🆒

---

<div class="post-metadata">

**Author:** ![DIVOT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DIVOT](https://forums.unrealengine.com/u/DIVOT)\
**Post date:** [March 29, 2017, 9:44pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/366 "2017-03-29T21:44:46Z")

</div>

^ second this i just need a variable type

---

<div class="post-metadata">

**Author:** ![rajpootathar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rajpootathar](https://forums.unrealengine.com/u/rajpootathar)\
**Post date:** [April 1, 2017, 6:04pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/367 "2017-04-01T18:04:21Z")

</div>

update it to 4.15?

---

<div class="post-metadata">

**Author:** ![joeycampbell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeycampbell](https://forums.unrealengine.com/u/joeycampbell)\
**Post date:** [April 1, 2017, 8:12pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/368 "2017-04-01T20:12:44Z")

</div>

fvrcifer - did you manage to get separate two arduinos linked with unreal? If so how did you open two different com ports at the same time?

---

<div class="post-metadata">

**Author:** ![TSG\_DEADLOCK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TSG\_DEADLOCK](https://forums.unrealengine.com/u/TSG_DEADLOCK)\
**Post date:** [April 6, 2017, 6:37pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/369 "2017-04-06T18:37:18Z")

</div>

4.15 Update

> [@;283009](#):
>
> **[6th UPDATE! 4.10 Compatible! 1/25/16]**
> 
> Updated to UE4 4.10! Click link below to download!
> 
> [http://www.fusionlabz.com/downloads/UE4Duino\_4\_10.zip](http://www.fusionlabz.com/downloads/UE4Duino_4_10.zip)
> 
> * * *
> 
> **[5th UPDATE! 4.9 Compatible! 9/22/15]**
> 
> Big thanks out to Providence94 for updating the plugin to 4.9!!
> 
> Click on his link below to download!
> 
> ://drive.google.com/file/d/0B7hqDvPVJ\_50X2ZYUlZnVkhnZGs/view
> 
> **WINDOWS 10 USERS! Use the link below!**
> 
> Thanks out to Gidi2go and Skittluier for updating plugin to Windows 10!!
> 
> ://drive.google.com/file/d/0B5YmlRw-1rCrM0dfRXRzVG13dDg/view
> 
> * * *
> 
> **[4th UPDATE! 4.8.2 Compatible! 7/22/15]**
> 
> Just updated the download link. Plugin now compatible with engine version 4.8.2.
> 
> Enjoy! 🙂
> 
> Just use the download link below!
> 
> * * *
> 
> **[3rd UPDATE! SOURCE RELEASED! 6/10/15]**
> 
> Just updated the download link. Download now includes the source files for the plugin.
> 
> Enjoy! 🙂
> 
> Just use the download link below!
> 
> * * *
> 
> **[2nd UPDATE! 5/10/15]**
> 
> Just updated the plugin again.
> 
> There was an issue with the string return of ‘Read Serial’ having some extra characters (null, return, newline, etc…) so that an string ‘equals’ node wouldn’t work as expected.
> 
> It is now fixed and those pesky extra characters removed. 🙂
> 
> Thanks out to Tesla Dev for finding that bug and letting me know!
> 
> Just use the download link below and replace if you have already downloaded.
> 
> * * *
> 
> **[UPDATED]**  
> Just updated the plugin and added a some debugging info. Now you should see info in the Output Log as to if the Thread has started/stopped and Serial Port has opened/closed.
> 
> I also added a new Blueprint node that returns true if the Serial Port opened correctly.
> 
> Just use the download link below and replace if you have already downloaded.
> 
> * * *
> 
> Hi all,
> 
> I have been wanting to use my Arduino in conjunction with UE4 for a while now and have finally managed to figure it out.
> 
> Here are a couple of vids:
> 
> ://www.youtube.com/watch?v=hhVILt6duXE
> 
> ://www.youtube.com/watch?v=rzh9wh\_SfDs
> 
> I made a plugin from it and just wanted to share with whoever might want to use it. 🙂
> 
> To download, click this link:  
> [http://www.fusionlabz.com/downloads/UE4Duino\_Plugin.zip](http://www.fusionlabz.com/downloads/UE4Duino_Plugin.zip)
> 
> To use the plugin just drop the “Plugins” folder from the zip into your project folder.
> 
> Be sure that the plugin is activated in 'Windows-\>Plugins"
> 
> ![b0c761267f3554fcfea238997fbe25264e1bcb32.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/c/b0c761267f3554fcfea238997fbe25264e1bcb32.jpeg)
> 
> I created Blueprint nodes to access the Arduino. You can find them by right clicking in a Blueprint and scrolling down to ‘UE4Duino’.
> 
> The four nodes are:
> 
> - Open Serial
> - Close Serial
> - Read Serial
> - Write Serial
> 
> Here is an example:
> 
> ![c7c9e24359d3ca5b06a11a58ed953f3cdc19fc50.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/c/c7c9e24359d3ca5b06a11a58ed953f3cdc19fc50.jpeg)
> 
> \*Be sure to use ‘Close Serial’ at some point in your project before or at ‘End Play’ node is fired off so that the serial port and thread are closed.
> 
> I plan on submitting an example scene soon for the Marketplace that will have some tutorials and examples…
> 
> Enjoy and please let me know if you have any issues/questions/comments…thanks! 🙂

Hi, the thread has been inactive for some time… Are you still planning to add 4.15 support? that would be great, since im working on a vr experience and using arduino for the inputs, and the vr performance has greatly improved since 4.10

Hopyou see this message…

---

<div class="post-metadata">

**Author:** ![ALPHA\_KENT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ALPHA\_KENT](https://forums.unrealengine.com/u/ALPHA_KENT)\
**Post date:** [April 18, 2017, 8:42am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/370 "2017-04-18T08:42:18Z")

</div>

Just read some messages below, it says how to recompile for 4.15, and has a downlodable version of 4.14

---

<div class="post-metadata">

**Author:** ![rajpootathar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rajpootathar](https://forums.unrealengine.com/u/rajpootathar)\
**Post date:** [April 20, 2017, 8:08am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/371 "2017-04-20T08:08:57Z")

</div>

i have one question  
how can we find desired port?

user can connect our device to any port?

---

<div class="post-metadata">

**Author:** ![BlackHawk17](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackHawk17](https://forums.unrealengine.com/u/BlackHawk17)\
**Post date:** [April 21, 2017, 12:48pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/372 "2017-04-21T12:48:33Z")

</div>

For those having laggy serial read problems on Windows 10, the solution is to put some delay at the end of your code so that Unreal doesn’t get flooded with too much information coming back to back. Setting the frame rate cap to 60 also helped get rid of the lag. I set the delay to 33 ms and I now have zero lag when reading my Arduino’s information through Unreal 🙂

---

<div class="post-metadata">

**Author:** ![YosoyKura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YosoyKura](https://forums.unrealengine.com/u/YosoyKura)\
**Post date:** [April 21, 2017, 1:18pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/373 "2017-04-21T13:18:16Z")

</div>

Hi guys,

The plugins work perfect until now in ue 4.15, great work, thank you.

i hope you can help me and maybe help others too.

How can I store the instance from the port COM (the one before the flush COM (Set Arduino)). It is a variable? and what kind? object? there are too many, and another thing, when i create the blueprint class which one you recommend?

Thnks for everything.

---

<div class="post-metadata">

**Author:** ![smbv1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@smbv1](https://forums.unrealengine.com/u/smbv1)\
**Post date:** [April 26, 2017, 4:05pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/374 "2017-04-26T16:05:11Z")

</div>

I have installed 4.14 version on my 4.15 installation, now it’s visible in Plugins window, I did not do anything, I was thinking to packege it and I got some error.  
Please check why I cannot export project to Windows10 64 bits:

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…  
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/ArduinoUE4/Ar2bp/Ar2bp.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/ArduinoUE4/Ar2bp/Ar2bp.uproject -cook -stage -archive -archivedirectory=D:/ArduinoUE4 -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.e  
xe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output  
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.  
UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\ArduinoUE4\Ar2bp\Ar2bp.uproject  
UATHelper: Packaging (Windows (64-bit)): Project.Build: \*\*\*\*\*\*\*\*\*\* BUILD COMMAND STARTED \*\*\*\*\*\*\*\*\*\*  
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\UE\_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -generatemanifest -nobuilduht -xgeexport -remoteini=“D:\ArduinoUE4\Ar2bp” -NoHotReload  
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: No modules found to build. All requested binaries were already part of the installed engine data.  
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 0.6276691s to run UnrealBuildTool.exe, ExitCode=5  
UATHelper: Packaging (Windows (64-bit)): Program.: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\UE\_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -generatemanifest -nobuilduht -xgeexport -remoteini=“D:\ArduinoUE4\Ar2bp” -NoHotRe  
load. See logfile for details: ‘UnrealBuildTool-2017.04.26-15.12.58.txt’  
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)  
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)  
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.XGEPrepareBuildWithUBT(String TargetName, UnrealTargetPlatform Platform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictio  
nary`2 InTargetToManifest) UATHelper: Packaging (Windows (64-bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.ExecuteBuild() UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute() UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String] Arguments) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 , Object Param)  
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.()  
UATHelper: Packaging (Windows (64-bit)): Program.: AutomationTool exiting with ExitCode=5 (5)  
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED  
PackagingResults:Error: Error Unknown Error

Upd:  
I got plugin working under WIndows 10, UE4.15 with Blueprint FirstPerson Template, but cannot package it, always some error, please help to fix it!

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [May 12, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/375 "2017-05-12T16:45:22Z")

</div>

Long time no see

Sorry, guys! I wasn’t being notified for this thread and saw nothing until today when I was messing around with the forum’s settings.

I’m very happy to have helped some people! 😃  
Thanks to @DylanBatt74 for helping with good insights.

The ones having problems, it’s so many things I don’t know where to start from. 😕

I see the most occurring is the "  
" one. Could someone please elaborate more on it so I can try to solve it?

@fvrcifer and anyone else having trouble with lag:  
From the UPDATE release notes:

> [@](#):
>
> Not threaded. Reading when there’s no data to read will return instantly. When reading serial inside Arduino code, remember to use Serial.setTimeout(10) on the setup function, so the Serial.readStringUntil (and other functions that interpret a group of bytes) return faster.

You’re missing [FONT=Lucida Console]Serial.setTimeout(10); on the Arduino code.

If you’re still having problems (I don’t know since I’m late), please PM me. I’ll try to keep a better eye on this thread anyways. I advise though: depending on the problem complexity, it may be better to do a consultation and I’ll charge US$ 30/hour for those. For people reading this years from now, the price has most likely raised LOL

---

<div class="post-metadata">

**Author:** ![darkskyfell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkskyfell](https://forums.unrealengine.com/u/darkskyfell)\
**Post date:** [May 21, 2017, 4:46am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/376 "2017-05-21T04:46:36Z")

</div>

Hi Guys,  
Been having real issues with the following project, I got a Protocentral Pulse/Ox board strapped to an arduino. now my goal is to get both values of the heartrate and the Ox to show within unreal. the setting up of the Protocentral board and arduino went perfect.  
Now to get these values to show up within unreal has been a massive struggle. This is a school project and hoping to find someone who can either teach me or can provide me with a blueprint that makes this possible. I am willing to pay (what is in my budget) to compersate for the time it takes.  
if you think you can help me out of this nightmare please email me at [darkskyfell@yahoo.com](mailto:darkskyfell@yahoo.com). I hope its ok to post this here but i am past despirate.

---

<div class="post-metadata">

**Author:** ![Speck97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Speck97](https://forums.unrealengine.com/u/Speck97)\
**Post date:** [May 26, 2017, 9:10am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/377 "2017-05-26T09:10:57Z")

</div>

@DylanBatt74, , @ ;  
Does someone of you (or anyone else) have a clue how to adjust your UE4Duino Plugin to the version 4.16. Alas I do not know how to do it myself…

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [May 26, 2017, 4:17pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/378 "2017-05-26T16:17:01Z")

</div>

@Speck97 I’ll try to do it this weekend 🙂

---

<div class="post-metadata">

**Author:** ![Speck97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Speck97](https://forums.unrealengine.com/u/Speck97)\
**Post date:** [May 27, 2017, 12:07pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/379 "2017-05-27T12:07:57Z")

</div>

RVillian: ://media.giphy.com/media/NbgeJftsErO5q/giphy.gif  
Aweesome 🙂 thanks for your quick reply 🙂 I am forever grateful you making this real!

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [May 29, 2017, 3:06am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/380 "2017-05-29T03:06:51Z")

</div>

[UPDATE] Compatible with UE 4.16,  
fixed

**UPDATE!**

_ **UE4Duino 2.1** _

Mainly, this version updates the plugin to comply with Unreal Engine 4.16 IWYU standards and corrects the  
problem when reading lines from Arduino (thanks @crgallac for pointing that out).  
There are a few minor changes as well, but only one that **may break a connection in Blueprints** : the OpenPort member function had one of it’s inputs renamed to match the OpenSerialPort static function. This may break an existing connection to that input.

The zip below contains binaries for UE 4.16.0, but it compiles successfully on 4.15.  
**Download:** [UE4Duino\_2.1\_UE4.16.zip](http://files.rvillani.com/unreal/UE4Duino_2.1_UE4.16.zip)

I’ve also created a Git repo on GitHub, so if anyone fixes or improves something, please issue a pull request.  
**GitHub repo:** RVillani/UE4Duino

**CHANGE LOG**

- **Fix -** ReadLine correctly filters out Arduino’s Serial.println "  
" line ender from returned String;

- The plugin successfully compiles and packages on Unreal Engine 4.16;

- Added functions comments so you know what a node does by hovering the mouse over it;

- Changed all “COM” in function names to “Serial port”. It won’t affect existing code nor Blueprints;

- Added WriteLineEnd variable to choose the kind of line ending used with PrintLine;

- Added LineEndToString function to convert LineEnd enum variable to String;

- Added Arduino script “ArduinoTypesExample” showing how to send integer and float values to Unreal (not Strings).

- Updated and added Example images.

- Unreal Engine 4.16 uses the IWYU convention, so:

- Updated UE4Duino.Build.cs to enfoce IWYU compliance and updated the deprecated constructor;

- Removed plugin PCH file;

- Included only minimum required headers to compile. Compiling is much faster now.

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

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