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

<div class="post-metadata">

**Author:** ![anonymous\_user\_5b0c6e9e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5b0c6e9e](https://forums.unrealengine.com/u/anonymous_user_5b0c6e9e)\
**Post date:** [May 21, 2015, 3:18pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/41 "2015-05-21T15:18:37Z")

</div>

Hi,

I believe some plugins are not compatible with source builds (Kinect 4 Unreal is one example) I’m trying to use the Leap motion and Kinect plugins together but that is not possible right now. I’m not sure if the same issue applies to the UE4Duino plugin but I have a feeling it is the case.

---

<div class="post-metadata">

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

</div>

Hi ,

Thanks, I realized I had forgotten to connect Read Serial to Set. After the connection the Blueprint seems to work but the issue is that HR is always set to 0. I don’t know why that is happening. When I open the serial monitor in my Arduino IDE I can see values for Heart Rate being displayed. Also is my method to close serial on pressing J correct? Thanks

---

<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 23, 2015, 2:57pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/43 "2015-05-23T14:57:54Z")

</div>

Hey karanparikhpgl,

I tried using your setup and was able to get everything to work right…here is the blueprint:

 ![95c0e947b4190e0376224f9120b1b1bd7d6c4bb9.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/c/95c0e947b4190e0376224f9120b1b1bd7d6c4bb9.jpeg)

I see that you have your baud rate set to 115200…is it set to that in your arduino sketch as well?

And you can use a keyboard press to close the serial, but it would probably be better to add it to add it to Event End Play instead just to be sure it is closed.

Hope this helps! Let me know if you get it to work! 🙂

-

---

<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 23, 2015, 3:02pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/44 "2015-05-23T15:02:54Z")

</div>

Forgot to mention that the proper way to use “Is Serial Port Open” node is to use it with a Branch:

![56b143a588579a4a4ae13b1d11126c89b8c82e80.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

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

</div>

MacOS port?

> [@;285285](#):
>
> Right now it’s only for Win64 but I will see if I can port it over to MacOS this weekend. 🙂

How did you go with the MacOS port?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bd24a4a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bd24a4a1](https://forums.unrealengine.com/u/anonymous_user_bd24a4a1)\
**Post date:** [June 5, 2015, 10:01pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/46 "2015-06-05T22:01:34Z")

</div>

Grizzly, I appreciate your plugin. Like many other users, I am hopeful you will add a SerialEvent node to it, because without one it is somewhat processor intensive (since it is reading the serial port even though there is no new data). Have you been able to do this, or have a suggestion on how I can achieve the same thing? This is important, because without one you have the nodes constantly firing for no reason, which can cause latency issues from sensors.

Thanks for your work!

---

<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:** [June 10, 2015, 2:56pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/47 "2015-06-10T14:56:29Z")

</div>

Hey guys, sorry for the late response! I have been crazy busy lately and didn’t see your questions.

Unfortunately I won’t have much time to work on the plugin anytime soon, but I will release the source in the next couple of days for anyone who wants to add or improve the code 🙂

Thanks!

-

---

<div class="post-metadata">

**Author:** ![Erling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erling](https://forums.unrealengine.com/u/Erling)\
**Post date:** [June 10, 2015, 8:47pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/48 "2015-06-10T20:47:00Z")

</div>

This is fantastic! Thanks so much for doing this work. It’s very inspiring!

---

<div class="post-metadata">

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

</div>

Now somebody make a firmata plugin on top of this

---

<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:** [June 11, 2015, 1:47am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/50 "2015-06-11T01:47:36Z")

</div>

Hey guys!

Just uploaded the plugin again with source code included…just go to the first post and use the download link there to get it.

I apologize for the lack of comments in the code, just didn’t have much time to get it ready to be released.

If anyone has any questions about the code, feel free to ask!

Enjoy! 🙂

-

---

<div class="post-metadata">

**Author:** ![Ravneson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravneson](https://forums.unrealengine.com/u/Ravneson)\
**Post date:** [June 11, 2015, 2:52pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/51 "2015-06-11T14:52:05Z")

</div>

Woah, awesome! Can’t wait to play with this!

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [June 11, 2015, 3:46pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/52 "2015-06-11T15:46:07Z")

</div>

Any this works on Android? I’m looking to make an Android app to control an Arduino

---

<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:** [June 12, 2015, 4:02am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/53 "2015-06-12T04:02:03Z")

</div>

Haven’t tried hooking it up to Android…but as long as it’s a serial connection I don’t see why it wouldn’t work. 🙂

---

<div class="post-metadata">

**Author:** ![jeremycouillard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jeremycouillard](https://forums.unrealengine.com/u/jeremycouillard)\
**Post date:** [June 15, 2015, 5:11pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/54 "2015-06-15T17:11:55Z")

</div>

this is so awesome. got it working on 4.7.6 fine…anyone know how to get it work for 4.8? i get a compile error when i boot it up.  
thanks so much for making this!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bd24a4a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bd24a4a1](https://forums.unrealengine.com/u/anonymous_user_bd24a4a1)\
**Post date:** [June 17, 2015, 12:44am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/55 "2015-06-17T00:44:39Z")

</div>

So this works great in Windows, but does anyone have advice for how I could get this working on POSIX? i.e. I need to be able to run this code on windows/mac/linux versions of ue4

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5b0c6e9e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5b0c6e9e](https://forums.unrealengine.com/u/anonymous_user_5b0c6e9e)\
**Post date:** [June 24, 2015, 4:15pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/56 "2015-06-24T16:15:41Z")

</div>

Hi, I can’t get this working with UE 4.8 for some reason It works just fine with 4.7.

---

<div class="post-metadata">

**Author:** ![Kinslayer\_13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kinslayer\_13](https://forums.unrealengine.com/u/Kinslayer_13)\
**Post date:** [July 7, 2015, 5:21am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/57 "2015-07-07T05:21:33Z")

</div>

Can I use this plugin to read my PIR Sensor connected to Arduino in UE4. How can I do Digital read using this plugin.Please help.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6ddb3312](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6ddb3312](https://forums.unrealengine.com/u/anonymous_user_6ddb3312)\
**Post date:** [July 10, 2015, 9:40am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/58 "2015-07-10T09:40:39Z")

</div>

I’m trying to make a simple serial test scene (Using Arduino DUE) but the serial port doesn’t work.  
Here is my sketch on Arduino and my Blueprint  
 ![4a5bfdb6556daabb244833635b2cf5b814fe3407.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/5/4a5bfdb6556daabb244833635b2cf5b814fe3407.jpeg)

 ![Blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/f/0f558b5ebbb926280674e2cbdd1bb5ff63fe9299.png)

In UE Log I see clearly that the serial port is opened and closed correctly.

(Using the Arduino Serial Monitor everything works right)  
Can you help me please?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5b0c6e9e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5b0c6e9e](https://forums.unrealengine.com/u/anonymous_user_5b0c6e9e)\
**Post date:** [July 10, 2015, 8:08pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/59 "2015-07-10T20:08:30Z")

</div>

Is there anyway we could get an updated version compatible with version 4.8

---

<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:** [July 12, 2015, 9:13pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/60 "2015-07-12T21:13:47Z")

</div>

Hey all!

Sorry for the late response…been a crazy month.

I will look into why 4.8 isn’t working with the plugin and get back to you all.

@Jacopo - Your blueprint looks ok, are you using version 4.8? If so it has an issue that I am looking into now…

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

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