Download and install Arduino IDE from
Connect your Arduino to your computer using usb cable.
- Select Serial port that is using Arduino board.
Start Arduino software à Open Tool à Ports à select uno port
Upload the StandardFirmata sketch to the board.
Start Arduino software à Open the sketch via File à Examples->Firmata àStandardFirmata and then press Upload. The StandardFirmata sketch will reset all pin states. You can now close the Arduino software.
Buy/Import the Uniduino package into your project.
If you are on Windows, you need to change this setting:
Edit -> Project Settings -> Player
Now in the inspector view under Optimiziation find “Api Compatibility Level”
Set Api Compatibility Level to: .NET 2.0
- Open the UniduinoTestPanel scene located under Uniduino/TestPanel in the project hierarchy. Press Play button.
If you are first time, you will see a window, click on “Install serial support for OSX” button for MAC OS or click on “Install serial support for Windows” button for Windows OS. Restart unity.
- Change the serial port same as the one you selected in the IDE.
- Click on Connect Button. Wait for few seconds.
Thank you for reading my blog. If you have any query, you can write me mail on firstname.lastname@example.org , it would help us a lot.