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

<div class="post-metadata">

**Author:** ![grizly32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grizly32](https://forums.unrealengine.com/u/grizly32)\
**Post date:** [May 1, 2015, 3:03pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/1 "2015-05-01T15:03:23Z")

</div>

**[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! 🙂

---

<div class="post-metadata">

**Author:** ![pixelvspixel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pixelvspixel](https://forums.unrealengine.com/u/pixelvspixel)\
**Post date:** [May 1, 2015, 4:46pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/2 "2015-05-01T16:46:45Z")

</div>

Oh this is awesome. I’ve been wanting to add some fans into a VR experience. This should be a huge aid.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a8ac95c8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a8ac95c8](https://forums.unrealengine.com/u/anonymous_user_a8ac95c8)\
**Post date:** [May 1, 2015, 9:52pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/3 "2015-05-01T21:52:59Z")

</div>

Holy Nutballs !!! this is amazing, cant wait to start messing around with it, thank you so much !!

---

<div class="post-metadata">

**Author:** ![Ivey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivey](https://forums.unrealengine.com/u/Ivey)\
**Post date:** [May 2, 2015, 1:47am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/4 "2015-05-02T01:47:20Z")

</div>

Welp, guess and myself are going to be stopping work on our Arduino integration pet projects, haha

Awesome work!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [May 2, 2015, 12:54pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/5 "2015-05-02T12:54:49Z")

</div>

You just saved us a lot of time. Thanks a ton!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0d08e9d6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0d08e9d6](https://forums.unrealengine.com/u/anonymous_user_0d08e9d6)\
**Post date:** [May 2, 2015, 2:55pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/6 "2015-05-02T14:55:23Z")

</div>

This is awesome! Gonna mess around with this for sure.

---

<div class="post-metadata">

**Author:** ![ZoltanJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanJr](https://forums.unrealengine.com/u/ZoltanJr)\
**Post date:** [May 4, 2015, 2:43am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/7 "2015-05-04T02:43:42Z")

</div>

Great work thanks for this, should save me a fair bit of time.

---

<div class="post-metadata">

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

</div>

Seem to be having a few issues here.

Just trying to run some tests with a serial read and/or write but not getting any results back.

In my serial monitor I am getting a readout (Just have the basic DigitalReadSerial example running).

There doesn’t seem to be any way to tell if the open serial is actually working or not. Perhaps a success node on it would be handy?

---

<div class="post-metadata">

**Author:** ![ZoltanJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanJr](https://forums.unrealengine.com/u/ZoltanJr)\
**Post date:** [May 4, 2015, 8:38am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/9 "2015-05-04T08:38:02Z")

</div>

Ok so that was just me being silly and attempting to have 2 things accessing the same serial port at once, so now I have managed the write side of things but I don’t seem to be able to get anything back through the Read Serial. I am assuming I am just doing the wrong thing in the arduino side of things, should I be doing a Serial.write(xx) or Serial.print(xx) or something different entirely?

Thanks.

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [May 4, 2015, 11:18am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/10 "2015-05-04T11:18:26Z")

</div>

Very nice plugin! Seams that I need to wipe the dust from my Ardunio once again 😃

---

<div class="post-metadata">

**Author:** ![grizly32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grizly32](https://forums.unrealengine.com/u/grizly32)\
**Post date:** [May 4, 2015, 6:59pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/11 "2015-05-04T18:59:58Z")

</div>

Thanks all!

@ZoltanJr - You need to use Serial.println() because the code looks for the ’  
’ character to know when the data segment ends. I am working on a quickstart tutorial now and hopefully will have it posted

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0dbac2b41](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0dbac2b41](https://forums.unrealengine.com/u/anonymous_user_0dbac2b41)\
**Post date:** [May 4, 2015, 8:23pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/12 "2015-05-04T20:23:24Z")

</div>

Hi . This is great! Thanks so much for sharing your work! Would it be possible to add a ‘serial event’ node?

Best,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ad3b09bd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ad3b09bd](https://forums.unrealengine.com/u/anonymous_user_ad3b09bd)\
**Post date:** [May 4, 2015, 9:30pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/13 "2015-05-04T21:30:56Z")

</div>

Hello ！

Plug-ins that you have developed is very great.  
I was able to use a plug-in very easily.

Thanks!

Translated into English from Japanese

---

<div class="post-metadata">

**Author:** ![ZioYuri78](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zioyuri78/32/1194615_2.png) [@ZioYuri78](https://forums.unrealengine.com/u/ZioYuri78)\
**Post date:** [May 4, 2015, 9:50pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/14 "2015-05-04T21:50:49Z")

</div>

Great! I love Arduino and i’m very happy to try this plugin, thank!

---

<div class="post-metadata">

**Author:** ![ZoltanJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanJr](https://forums.unrealengine.com/u/ZoltanJr)\
**Post date:** [May 5, 2015, 3:08am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/15 "2015-05-05T03:08:44Z")

</div>

> [@;284663](#):
>
> Thanks all!
> 
> @ZoltanJr - You need to use Serial.println() because the code looks for the ’  
> ’ character to know when the data segment ends. I am working on a quickstart tutorial now and hopefully will have it posted

Thanks . I was using that but still don’t seem to be able to get anything back with the read when I do a Serial.pintln() from an event on the arduino using :  
Serial.println(2);  
Serial.println(‘2’);  
Serial.println(“2”);

I just have the read hooked up on the tick event to a print string so I was under the impression it should also show the write events coming from Unreal itself too?

Im using a Leonardo for this too if that makes any difference since I know it’s got a slightly different serial setup to other boards but it should all still run over serial rather than serial1 im pretty sure,

Thanks.

---

<div class="post-metadata">

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

</div>

Wow, this looks great! Is there a build of the plugin for MacOS right now? Or only Win64?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [May 5, 2015, 1:10pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/17 "2015-05-05T13:10:25Z")

</div>

Just got a flex resistor running with it. Now to build my own VR glove! Have you posted schematics for yours from the video? I’m trying to build a glove for finger position tracking and use the Leap Motion for hand location.

---

<div class="post-metadata">

**Author:** ![grizly32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grizly32](https://forums.unrealengine.com/u/grizly32)\
**Post date:** [May 5, 2015, 4:47pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/18 "2015-05-05T16:47:15Z")

</div>

**Just wanted to let you all know that I released an update to the plugin…please see the top post for details. 🙂**

> [@;284723](#):
>
> Hi . This is great! Thanks so much for sharing your work! Would it be possible to add a ‘serial event’ node?
> 
> Best,

Thanks ! Could you elaborate on what you mean by ‘Serial Event’?

> [@HAY2999;284777](#):
>
> Hello ！
> 
> Plug-ins that you have developed is very great.  
> I was able to use a plug-in very easily.
> 
> Thanks!
> 
> Translated into English from Japanese

That’s awesome! Glad you like it!

> [@nickadoo;284956](#):
>
> Wow, this looks great! Is there a build of the plugin for MacOS right now? Or only Win64?

Right now it’s only for Win64 but I will see if I can port it over to MacOS this weekend. 🙂

> [@;285156](#):
>
> Just got a flex resistor running with it. Now to build my own VR glove! Have you posted schematics for yours from the video? I’m trying to build a glove for finger position tracking and use the Leap Motion for hand location.

Hey ! I can get a schematic together and post it up. Leap Motion is a good idea! I was trying to use a Hydra Razer controller strapped to my forearm for position data…it was working ok but a bit on the wonky side lol…

> [@ZoltanJr;284923](#):
>
> Thanks . I was using that but still don’t seem to be able to get anything back with the read when I do a Serial.pintln() from an event on the arduino using :  
> Serial.println(2);  
> Serial.println(‘2’);  
> Serial.println(“2”);
> 
> I just have the read hooked up on the tick event to a print string so I was under the impression it should also show the write events coming from Unreal itself too?
> 
> Im using a Leonardo for this too if that makes any difference since I know it’s got a slightly different serial setup to other boards but it should all still run over serial rather than serial1 im pretty sure,
> 
> Thanks.

Hey ZoltanJr! Sorry you are still having troubles. I have never used a Leonardo but I would think it would work fine with this.

I made a simple example just printing out the number two…here are the sketch and blueprint:

 ![SketchTest.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/1/f107563da58b34533d36d6e40878130285327b6e.jpeg)

 ![d190cc70bbf984bd8aa4d344cd7bcc513d9239a9.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/9/d190cc70bbf984bd8aa4d344cd7bcc513d9239a9.jpeg)

Also, be sure that your Serial Monitor from your Arduino window is closed before playing your UE4 scene. Hope that helps, but if not let me know!

-

---

<div class="post-metadata">

**Author:** ![nickadoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nickadoo](https://forums.unrealengine.com/u/nickadoo)\
**Post date:** [May 5, 2015, 7:27pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/19 "2015-05-05T19:27:45Z")

</div>

Awesome, thank you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2abc45731](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2abc45731](https://forums.unrealengine.com/u/anonymous_user_2abc45731)\
**Post date:** [May 5, 2015, 7:52pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/20 "2015-05-05T19:52:16Z")

</div>

Now where did that bloody thing go?! The minute something cool happens to my arduino, I can’t find it!

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