# \[FREE\] ArduinoKit - Cross Platform Arduino Plugin for UE4

**URL:** <https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362>\
**Category:** Plugins\
**Tags:** unreal-engine\
**Created:** [August 1, 2016, 1:32am UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362 "2016-08-01T01:32:24Z")\
**Posts on this page:** 20\
**Page:** 2

<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 2, 2016, 8:47pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/22 "2016-08-02T20:47:50Z")

</div>

> [@danielvmacedo;574786](#):
>
> Yeah… its not opening the port with the arduino.
> 
> My last attempt is to change the associated port with your arduino in device manager…
> 
> Select your arduino and go to properties
> 
> ![1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/0/e50350ce61f17f84d395bd7f27b59c0035e76f6d.png)
> 
> Port settings
> 
> ![2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/3/c9398b8f9d4aefbd93c8d9ddcf199d220dfcc0fd.png)
> 
> Advanced Button and change the port to a number lower than COM10 and use the regular string like “COM3” in unreal Open node
> 
> ![3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/c/52c163acc224c9749068c936bdd7707cab6c2cc7.png)
> 
> than disconnect and connect your arduino, check if it’s found and assigned to the right port and try the code inside Unreal.
> 
> If this doesnt work… I’m sorry… I have no clue why it’s not connecting =(

Still same problm failed ☹ whats wrong with open !!

---

<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 3, 2016, 7:47am UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/23 "2016-08-03T07:47:52Z")

</div>

i reboot my pc and i tried to read the float variable,it works, but when i disconnect the arduino and connect it again the read failed

---

<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 3, 2016, 8:19am UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/24 "2016-08-03T08:19:00Z")

</div>

> [@danielvmacedo;574786](#):
>
> Yeah… its not opening the port with the arduino.
> 
> My last attempt is to change the associated port with your arduino in device manager…
> 
> Select your arduino and go to properties
> 
> ![1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/0/e50350ce61f17f84d395bd7f27b59c0035e76f6d.png)
> 
> Port settings
> 
> ![2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/3/c9398b8f9d4aefbd93c8d9ddcf199d220dfcc0fd.png)
> 
> Advanced Button and change the port to a number lower than COM10 and use the regular string like “COM3” in unreal Open node
> 
> ![3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/c/52c163acc224c9749068c936bdd7707cab6c2cc7.png)
> 
> than disconnect and connect your arduino, check if it’s found and assigned to the right port and try the code inside Unreal.
> 
> If this doesnt work… I’m sorry… I have no clue why it’s not connecting =(

Hey i closed the UE4 launcher and i tried again to send variable,it works, but when disconnect the arduino and connect it again the read failed so u should close your project and run it again !!any solution for this problem

---

<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 3, 2016, 4:27pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/25 "2016-08-03T16:27:51Z")

</div>

Heyyy, for UE 4.12.5 users u can use this Plugin for arduino Serial communication !!! check this link below  
[https://drive.google.com/open?id=0B-ceJtyIRIf0a3RDQWdBOU56Zkk](https://drive.google.com/open?id=0B-ceJtyIRIf0a3RDQWdBOU56Zkk)

enjoyyyyy 😃 !!

---

<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 3, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/26 "2016-08-03T20:41:09Z")

</div>

> [@brownoo;575036](#):
>
> Hey i closed the UE4 launcher and i tried again to send variable,it works, but when disconnect the arduino and connect it again the read failed so u should close your project and run it again !!any solution for this problem

Yeap, but if you force a close before you try to open again after you disconnected and connected again you dont need to restart the editor. I will check this bug during weekend! Thanks!

Cheers!

---

<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 3, 2016, 8:50pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/27 "2016-08-03T20:50:36Z")

</div>

> [@brownoo;575279](#):
>
> Heyyy, for UE 4.12.5 users u can use this Plugin for arduino Serial communication !!! check this link below  
> [https://drive.google.com/open?id=0B-ceJtyIRIf0a3RDQWdBOU56Zkk](https://drive.google.com/open?id=0B-ceJtyIRIf0a3RDQWdBOU56Zkk)
> 
> enjoyyyyy 😃 !!

Yes! UE4duino is a very nice alternative, the thing is that I needed something that works in a Mac OSX too 🙂

I’m also planning on making a stacking system for the incoming data from arduino and not only the last string, that is the way UE4duino works and didn’t work for me.

Cheers!

---

<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 4, 2016, 12:35am UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/28 "2016-08-04T00:35:43Z")

</div>

Hello @brownoo

The plugin if you read the data and works very well, but still regard being had the same problem of packaging …

You can not package the project with Windows 10 x64

---

<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 4, 2016, 8:54am UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/29 "2016-08-04T08:54:21Z")

</div>

> [@danielvmacedo;575435](#):
>
> Yeap, but if you force a close before you try to open again after you disconnected and connected again you dont need to restart the editor. I will check this bug during weekend! Thanks!
> 
> Cheers!

hey, SO how can i force close can you give me an example ?

---

<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 4, 2016, 1:15pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/30 "2016-08-04T13:15:43Z")

</div>

> [@brownoo;575694](#):
>
> hey, SO how can i force close can you give me an example ?

![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/8/2d8b22908ab8e41361960b45cf45ce8c785f4e5c.png)

If I do this, I always connect fine to my arduino… even after a disconnect/connect.

I hope it works there.

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 4, 2016, 1:54pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/31 "2016-08-04T13:54:15Z")

</div>

it works thnx 😉 !! for the plugin i uploaded how can i fix the problem with packaging ?

---

<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 4, 2016, 2:23pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/32 "2016-08-04T14:23:11Z")

</div>

> [@brownoo;575809](#):
>
> it works thnx 😉 !! for the plugin i uploaded how can i fix the problem with packaging ?

I’m glad that it worked =)

I don’t know… I dont use it… I’m sorry.

But I will try to find some free time during the weekend to improve the reading process of my plugin… so it can read strings in a much simpler way. 😉

---

<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 4, 2016, 2:33pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/33 "2016-08-04T14:33:56Z")

</div>

> [@danielvmacedo;575822](#):
>
> I’m glad that it worked =)
> 
> I don’t know… I dont use it… I’m sorry.
> 
> But I will try to find some free time during the weekend to improve the reading process of my plugin… so it can read strings in a much simpler way. 😉

All the best 😉 !!

---

<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 4, 2016, 4:30pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/34 "2016-08-04T16:30:41Z")

</div>

Hi developers

You did a great job creating this plugin for Arduino  
I have experimented with two different plugin. UE4Duino and ArduinoKit.  
Working with Windows 10 x64 and Unreal Engine 4.12.5  
Both plugin work very well …  
-------------- But none can be packaged ----------------

It would be ideal if these plugin will work in full !!  
Maybe someone can develop a plugin that can be packaged. ???

I would have the knowledge to help them solve this once and for all, but my talent is 3D art…

---

<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 4, 2016, 5:26pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/35 "2016-08-04T17:26:56Z")

</div>

Just updated the code in the repo!

Info:

- The **Read Text Node** pops the last string that was read from arduino. If node is found, it will return a blank string.

- The **Get All Available Texts Node** will return the whole stack of strings that was read from arduino. The last one is the most recent. After you call this node, the stack is cleared.

- All strings sent from arduino \*\*must \*\*have the ending character “/n” or use Serial.println () instead of Serial.print().

- The **Open Node** now tries to close any previously opened connection.

- The **Open Node** have a new input parameter that is the size of the stack that will hold all strings read from arduino. If it is filled, it will discard the oldest one and push the new one on the top of the stack.

Updated Nodes:

 ![ArduinoKit.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/0/0098dbbd517e9691146e02d86669c4b5bd63125b.png)

---

<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 4, 2016, 5:27pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/36 "2016-08-04T17:27:45Z")

</div>

> [@brownoo;575825](#):
>
> All the best 😉 !!

Check out the new version! =)

---

<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 4, 2016, 5:28pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/37 "2016-08-04T17:28:42Z")

</div>

> [@amauricio3d;575890](#):
>
> Hi developers
> 
> You did a great job creating this plugin for Arduino  
> I have experimented with two different plugin. UE4Duino and ArduinoKit.  
> Working with Windows 10 x64 and Unreal Engine 4.12.5  
> Both plugin work very well …  
> -------------- But none can be packaged ----------------
> 
> It would be ideal if these plugin will work in full !!  
> Maybe someone can develop a plugin that can be packaged. ???
> 
> I would have the knowledge to help them solve this once and for all, but my talent is 3D art…

I can pack all my projects using ArduinoKit… they are all C++ projects tho. I will check it out using a Blueprint only project.

Thanks for the feedback

EDIT:

I just tested in a Blueprint Only project and it packed successfully. Did you remove the other plugins? Make sure you have only ArduinoKit installed. Or try in a new project.

Cheers

---

<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 4, 2016, 6:54pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/38 "2016-08-04T18:54:22Z")

</div>

> [@danielvmacedo;575917](#):
>
> I can pack all my projects using ArduinoKit… they are all C++ projects tho. I will check it out using a Blueprint only project.
> 
> Thanks for the feedback
> 
> EDIT:
> 
> I just tested in a Blueprint Only project and it packed successfully. Did you remove the other plugins? Make sure you have only ArduinoKit installed. Or try in a new project.
> 
> Cheers

Hello @danielvmacedo

well, it works, and I can read well and compile data …

You are a genious

I have a concern on tests … I’m doing, the states are not read at each reading frame … skip … reading is not fluent, it is not continuous …

I am doing something wrong ??

![a85d11858fed4da2b7e7cac58565aa355d4e8cb7.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png) ![50293605a464401caae2625ff925b866b7faf88b.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<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 4, 2016, 6:58pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/39 "2016-08-04T18:58:58Z")

</div>

> [@amauricio3d;575963](#):
>
> Hello @valentegamedev
> 
> well, it works, and I can read well and compile data …
> 
> You are a genious
> 
> I have a concern on tests … I’m doing, the states are not read at each reading frame … skip … reading is not fluent, it is not continuous …
> 
> I am doing something wrong ??
> 
> ![a85d11858fed4da2b7e7cac58565aa355d4e8cb7.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png) ![50293605a464401caae2625ff925b866b7faf88b.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

Thanks!! Im glad that it worked! 😉

You have to check if the string length is bigger than 0 before printing! If you read and nothing is there, it will return an empty string.

I hope it will help!

---

<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 5, 2016, 9:41am UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/40 "2016-08-05T09:41:52Z")

</div>

> [@danielvmacedo;575913](#):
>
> Check out the new version! =)

Nice :D, for the the readText node is not continuous u can fix it 😉 !!  
Cheers

---

<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 5, 2016, 5:40pm UTC](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362/41 "2016-08-05T17:40:07Z")

</div>

> [@danielvmacedo;575967](#):
>
> Thanks!! Im glad that it worked! 😉
> 
> You have to check if the string length is bigger than 0 before printing! If you read and nothing is there, it will return an empty string.
> 
> I hope it will help!

Well … I can already solve the jump frame …

I can also package the game

I found a mistake.

When the project run packaging … after a few minutes get an error… this crash

 ![crash.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/b/bbd2475f4966c62a70439d795755343e755fe407.jpeg)

I’m not sure if this is the plugin … but not had this problem before

[Previous page](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362.md?page=1)

[Next page](https://forums.unrealengine.com/t/free-arduinokit-cross-platform-arduino-plugin-for-ue4/70362.md?page=3)
