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

<div class="post-metadata">

**Author:** ![anonymous\_user\_4fa0c888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4fa0c888](https://forums.unrealengine.com/u/anonymous_user_4fa0c888)\
**Post date:** [November 9, 2015, 5:36pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/127 "2015-11-09T17:36:15Z")

</div>

LeKok,

If you have your serial monitor open, the Arduino IDE is controlling the serial port you’re sending data over. Close the Serial Monitor, or the Arduino IDE as a whole, and try printing values to the screen again in your game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_381e1488](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_381e1488](https://forums.unrealengine.com/u/anonymous_user_381e1488)\
**Post date:** [November 9, 2015, 7:24pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/128 "2015-11-09T19:24:44Z")

</div>

I’ve done what you said, but the program still doesn’t work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_381e1488](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_381e1488](https://forums.unrealengine.com/u/anonymous_user_381e1488)\
**Post date:** [November 10, 2015, 9:34am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/129 "2015-11-10T09:34:01Z")

</div>

I got the program finally working by using another version of the program, however it now has two problems.  
The first problem is that I get a value for the potmeter on the screen, but the value isn’t updated during the program. It just prints the same value over and over again. The only way to get another value is when I close my project and start it again. This is also the only time that the output log says that the serial port is open.  
 ![Serial open.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/e/9e7ee784f9a2731da9864f9907fbbadfbf242674.jpeg)  
When I stop the program and play it again, it gives an error for opening the serial port and just prints the same value as the first time.  
 ![30258e09350b2bf2585a7b310b17a70a8ff12942.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/2/30258e09350b2bf2585a7b310b17a70a8ff12942.jpeg)  
Does someone know why the program isn’t working correctly?

---

<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:** [November 10, 2015, 12:15pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/130 "2015-11-10T12:15:22Z")

</div>

windows 10 update

Thanks for the windows 10 update.  
For anyone who was getting a serial connect but no read values or nothing printed on screen this will fix the issue.

---

<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:** [November 10, 2015, 12:46pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/131 "2015-11-10T12:46:22Z")

</div>

Hey LeKok, sorry you are having problems! What Unreal Engine and Windows versions are you using?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_381e1488](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_381e1488](https://forums.unrealengine.com/u/anonymous_user_381e1488)\
**Post date:** [November 10, 2015, 2:11pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/132 "2015-11-10T14:11:30Z")

</div>

I’m using Windows 10 and Unreal Engine version 4.9.2. I also use the windows 10 update of the plugin.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_783fffcf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_783fffcf](https://forums.unrealengine.com/u/anonymous_user_783fffcf)\
**Post date:** [November 10, 2015, 3:11pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/133 "2015-11-10T15:11:24Z")

</div>

Hi, we’re running into some issues with the Windows 10 Plugin for 4.9.2

The serial is only reading the first value and not updating on subsequent read serials, and we get occasional crashes with the following message:

> [@](#):
>
> MachineId:1BF10D9F4DC3A3046BA9ABB9C7290F65  
> EpicAccountId:498d6918■■■54f10991ff3fb36ea289e
> 
> Access violation - code c0000005 (first/second not available)
> 
> “”
> 
> UE4Editor\_UE4W10Duino!CSerial::SendData() [c:\users\maarten\documents\unreal projects\droidtastic\plugins\ue4w10duino\source\ue4w10duino\private\serialclass.cpp:112]  
> UE4Editor\_UE4W10Duino!ThreadTest::Run() [c:\users\maarten\documents\unreal projects\droidtastic\plugins\ue4w10duino\source\ue4w10duino\private hreadtest.cpp:71]  
> UE4Editor\_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4fa0c888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4fa0c888](https://forums.unrealengine.com/u/anonymous_user_4fa0c888)\
**Post date:** [November 10, 2015, 5:29pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/135 "2015-11-10T17:29:22Z")

</div>

Lekok,

I had similar problems when I started using UE4duino. What kind of game are making? I am making a driving simulator and instead of using “event tick” to check the serial port I used “Input Axis MoveForward” to read the serial port. This may be worth trying, and that event boolean should be available for most types of games.

---

<div class="post-metadata">

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

</div>

Amazing work!!! I m new to arduino and found this plugin super useful and I m so excited about it. I also got the problem with Win10 UE engine 4.9.2. I used the old ver of plugin, which works great but fail on readSerial in UE, but when i tried UEwin10duino, it cant check openSerial from the beginning, looks failed to connect.

---

<div class="post-metadata">

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

</div>

I am making a game where one can cycle through a world. I use the arduino + potmeter to simulate a steer. At the moment I only get the value on the screen when I am using gamemode, and there is Ïnput Axis MoveForward" not available. When I put the program in another bluepront class, I don’t get any value on the screen.

Leron

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f8e97cf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f8e97cf2](https://forums.unrealengine.com/u/anonymous_user_f8e97cf2)\
**Post date:** [November 11, 2015, 7:46pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/138 "2015-11-11T19:46:26Z")

</div>

Hello,

As some of you have noticed, the plugin has a problem with Windows10: reading from Arduino to PC works fine, but writing from PC to Arduino does not work. Skittluier has tried to remedy the problem, but his solution does not work on all machines (he is a student in my class, so I know what I am talking about). I made a new version, which works on both my machine (Windows 8) and his (Windows 10), and it can be downloaded from here: ://drive.google.com/file/d/0B5YmlRw-1rCrM0dfRXRzVG13dDg/view?usp=sharing

Hope this helps!

---

<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:** [November 11, 2015, 8:47pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/139 "2015-11-11T20:47:33Z")

</div>

Hey LeKok,

Unfortunately I don’t currently have Windows 10 on any of my systems to test on. I am hoping to get it installed soon though. From the errors TriumphantBass posted it looks like it might be a threading issue…

---

<div class="post-metadata">

**Author:** ![rievez](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rievez](https://forums.unrealengine.com/u/rievez)\
**Post date:** [November 12, 2015, 9:47am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/140 "2015-11-12T09:47:20Z")

</div>

Thanks Gidi2Go, it works on my win10 now too!!

---

<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:** [November 12, 2015, 12:29pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/141 "2015-11-12T12:29:18Z")

</div>

Opps, must not have refreshed the page before writing my last post!

Thanks Gidi2go for the update!! I will update the link on the first post!

---

<div class="post-metadata">

**Author:** ![madninja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@madninja](https://forums.unrealengine.com/u/madninja)\
**Post date:** [November 15, 2015, 9:42pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/142 "2015-11-15T21:42:33Z")

</div>

I must be doing something wrong as it does not seem to work for me. The ports open and close fine, it does not seem to read anything for some reason…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_381e1488](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_381e1488](https://forums.unrealengine.com/u/anonymous_user_381e1488)\
**Post date:** [November 16, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/143 "2015-11-16T20:19:39Z")

</div>

I have the same problem with the new plugin. Am I doing something wrong or are there still some problems wit hthe plugin and windows 10?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4fa0c888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4fa0c888](https://forums.unrealengine.com/u/anonymous_user_4fa0c888)\
**Post date:** [November 18, 2015, 6:59pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/144 "2015-11-18T18:59:13Z")

</div>

Hey (or anyone),

I got that example you put up for turning an LED on and off to work well, but I’m struggling to scale it up to a more complex level. I am trying to get the body rotations from the ATV out onto the Arduino to do some controlling. The Arduino appears to be reading the data fine, but it is not handling it in the code perhaps? The pictures attached have the blueprint and code. Any and all help is appreciated!

- 

![Screen Shot 2015-11-18 at 12.46.44 PM.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/8/7d85f77405729d04c9c2ed519d9e0e1ad2d4b84b.png) ![Screen Shot 2015-11-18 at 12.46.58 PM.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/c/cac12be67cd33730ef291221583ce849e4643f12.png)

 ![Rotations.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/8/b1805f2128f57eb4aea82b250102c103e9ca6461.png)

---

<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:** [November 22, 2015, 1:52am UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/145 "2015-11-22T01:52:16Z")

</div>

Hey !

On line 17 of your Arduino sketch I think it needs to be “ **!=** ” instead of “ **==** ”.

If that doesn’t fix it let me know!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4fa0c888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4fa0c888](https://forums.unrealengine.com/u/anonymous_user_4fa0c888)\
**Post date:** [November 30, 2015, 6:12pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/146 "2015-11-30T18:12:11Z")

</div>

Made that change after picking through how the code actually functioned. It’s still not working. My most recent attempt I’ve tried beginning and ending the Serial Write string with a hat in order to clear the rotation variable before the usable string is concatenated. Any other ideas?

-

---

<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:** [December 2, 2015, 4:43pm UTC](https://forums.unrealengine.com/t/ue4duino-arduino-to-ue4-plugin-release/28963/148 "2015-12-02T16:43:39Z")

</div>

The plugin for 4.9 also works on the 4.10.  
I’m able to use the Plugin only in editor mode. I get this error when trying to play a windows executable I’ve created  
Plugin ‘UE4Duino’ failed to load because module ‘UE4Duino’ could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project.  
My project it’s already a Code Project, and rebuilding the entire solution doesn’t work for me. How to get this plugin work correctly?

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

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