ArduSensor Plugin

CYK

(0)
FREE
Publisher CYK
File size 101.50kB
Number of files 6
Latest version 1
Latest release date 2023-11-03 01:16:14
First release date 2023-11-03 01:16:14
Supported Unity versions 2018.4.2 or higher

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.

Top Publisher Assets