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
0
Question by devil Games · May 17, 2015 at 07:44 PM · arduinoserialport

Two Arduino Boards for Same project

Hi,

I would like to know is it possible to connect two arduino boards to PC and get data from serial port communication with unity3D. one arduino board i connect with out any trouble and also get the data with out any problem. my project needs two arduino boards is it possible to connect ? is it possible to read two serial ports at same unity3D project :)

Thanks in advance..

Comment
Add comment · Show 5
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 Graham-Dunnett ♦♦ · May 17, 2015 at 07:45 PM 0
Share

No idea, but if you have two serial devices connected to your PC, then they'll need different ports. If you are using a serial input class, then using different ports is probably needed.

avatar image devil Games · May 18, 2015 at 05:08 AM 0
Share

I connect it but the problem is unity is getting stuck :(

avatar image abhi_360 · May 18, 2015 at 06:37 AM 0
Share

put your Port.Open() in a try catch block for both ports and post the exception you get if any.

avatar image devil Games · May 18, 2015 at 07:54 AM 0
Share

Hi abhi_360,

Now i can connect both. I use try catch blocks for both :D now problem is when i am execute the scene unity gets stuck :( and become unresponsive :(

thanks for your answer :)

avatar image RaviRK · Feb 13, 2018 at 07:03 AM 0
Share

hey please share the method if your problem is solved or u found an alternative way to connect two Arduino and use it.

0 Replies

· Add your reply
  • Sort: 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

The Semaphore Timeout Period Has Expired 0 Answers

Using Arduino as controller in Unity is giving me bad framerate 1 Answer

Arduino Unity3d FPS drop after twisting Potentiometer 0 Answers

unity to serial ports ( blink LED ) 0 Answers

HELP: Arduino Genuino 101 to Unity3D. Serial 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