ArduSensor Plugin


The process can be simplified for people who need USB serial implementation to connect Arduino sensors to their Android devices.


by CYK


Price History +

ArduSensor Plugin is a Unity plugin that receives sensor values from an Arduino board that communicates serially with Android. This plugin is implemented using Android native code and calls are made from Unity. Applications include temperature, humidity, barometric pressure, gas resistance, altitude, CO2, TVOC and Lux values. And if there is a compatible IMU sensor, it will even detect the IMU value. The IMU is updated at 0.1 second intervals and the remaining sensors are updated at 4 second intervals.



How To Use:

Import the plugin package and build the demo scene to verify the AAR plugin is being imported correctly. If not, refer to Unity's official documentation* to properly import the plugin. All implementations are written in the UnityProject/Assets/Scripts/AarBridge.cs file. Create a Java instance to communicate with Arduino through Android's Native Methods.