This is a paid asset, but now you can download Arduino Bluetooth Plugin Free.
Detail this asset from Unity Asset Store: Original Link
Arduino Bluetooth Plugin v5.2.1
“If possible, please buy the package to support the developer”
NOW THE PLUGIN CONNECTS TO MULTIPLE DEVICES AT THE SAME TIME
This plugin now supports BLE GATT characteristics communication for BLE on Android, MacOS, iOS and UWP.
Android: BLE, BluetoothClassic
MacOS: BLE, BluetoothClassic
Windows PC: Bluetooth Classic, USB Cable
UWP: Bluetooth Classic, BLE
if you have any feature suggestion, you can fill this form
This plugin will help you connect your unity game/app to your arduino robot/project, to control it, transfer data between the arduino and bluetooth enabled MacOS/iOS/Android/Windows PC/UWP.
This plugin allows you to:
Connect iOS device to Arduino via BLE
Connect MacOS PC/Laptop to Arduino via BLE and Bluetooth Classic
Connect Android to Arduino via BLE and Bluetooth Classic
Connect Windows PC to Arduino via Bluetooth Classic
Connect Windows PC to Arduino via USB Cable
This plugin has been tested with HC-05/06, ESP32 modules for bluetooth classic
and HC-08 for BLE
A tutorial is also provided in the plugin to help you use the code.
This plugin does not require Unity Plus
In case of any troubles, contact me on my email so i can assist you.
This plugin only requires .NET 4.x framework
Thank you for the support
Once you get the plugin, move the PLUGIN folder from “BluetoothAPI” folder to the main asset folder. This plugin supports Unity 2018.3 and above.
It can be used with earlier version but the Windows Bluetooth Support may not function as expected