Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by RyanAchtenSoma · May 06, 2015 at 11:08 PM · arduinohardwaresystem.ioport

Uniduino, Arduino & Unity 5

Hi Unity Community!

I have been trying to work with Unity and Arduino microcontrollers on OS X (10.9), first using the System.IO.Ports approach, but as is well documented on the web this is a tricky endeavour with OS X, so I opted to go for the Uniduino plugin by EDWON to speed things up.

When trying to connect an Arduino Uno (using Standard Firmata) to Unity 5 at a baud rate of 57600 on comport 3, the Arduino seems to have some form of connection (designated by the Tx led response when ‘Query’/'Connect’ etc are clicked on the test panel) but the Unity scene remains at the ‘Guessing that arduino is device…’ (it is attempting to connect to the correct port).

I have posted on the Uniduino forum, but have not heard back from the developer; does anyone know if Uniduino is still being maintained? Is it compatible with Unity 5?

Or alternatively has anyone successfully managed to resolve the ports issue when to connecting an Arduino to Unity on OS X? Any information on this current status would be greatly appreciated!

Many thanks in advance, Ryan

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by sebastian960 · Oct 22, 2015 at 08:18 AM

@ RyanAchtenSoma , man, I found this information about the comunication Between Arduino and unity 3d . This is the link : http://www.alanzucconi.com/2015/10/07/how-to-integrate-arduino-with-unity/

Could you say me the way of Which you fix the problem , please?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RyanAchtenSoma · Oct 22, 2015 at 10:07 AM 0
Share

As I'm not currently working on a project using Unity && Arduino at the moment, I can't verify this resource personally. This tutorial looks like a solid resource though; will remember this when I encounter this problem again!

Will accept this as the correct answer due to the lack of alternatives outside of pursuing Uniduino.

avatar image
1

Answer by DennisVH · Oct 22, 2015 at 10:11 AM

I also wrote a small tutorial for hooking up an arduino (not osx specific though), you'll find it at:

http://ignisvr.com/arduino-unity-vr/

cheers!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RyanAchtenSoma · Oct 22, 2015 at 10:20 AM 0
Share

Looks awesome, thanks for that! Wish I had found these tutorials a few months ago

avatar image
0

Answer by Voronoi · Jun 21, 2016 at 05:02 PM

This is not the first time I've had to solve this - slow reading of incoming Arduino sensor data. So, I finally looked into a decent fix. This is a very simple Git project that creates a new thread for reading from the Serial port and properly kills it upon exit. This is much faster than trying to read on the main thread or by using a co-routine:

https://github.com/bryanrtboy/ArduinoSerialThreading

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Arduino with Unity: Bad Framerate! 3 Answers

How to find port of bluetooth 0 Answers

Trying to read an integer value from ReadLine() 1 Answer

Unity 3D Set a Default Com Port 0 Answers

Help with Unity communicating with Arduino (serial port communication) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges