Plugin for using Bluetooth Low Energy (BLE) like HC-05 and HC-06 with Unity3d Android plugin link: github.com/bentalebahmed/Blue...
КОМЕНТАРІ: 50
@mounirouadi58637 місяців тому
well done Ahmed!
@ianborges17328 місяців тому
Cara bem bacana que vc esteja fazendo este conteudo pois procurei e achei somente este videio que gratis
@ahmedbentaleb68658 місяців тому
Happy it helped you
@thomaslefebvre58485 місяців тому
Great Job
@nicholasshiroma23738 місяців тому
Great plugin! I'm having a problem when I send a text from serial monitor, it doesn't show up on my phone log, and vice-versa. Is there any Arduino script I should have uploaded? Or maybe pin assignment for HC-05. I have paired my phone to the HC-05 and it showed the "True" status after I pressed start.
@ahmedbentaleb68658 місяців тому
you can use an FTDI with the BLE to check the functionality, no arduino script needed, check the baud rate as 9600, and follow the video carefully.
@sreynitkhatt961417 днів тому
Hi Ahmed, I am trying to connect a GoDirect respiration belt to an Occulus quest via Bluetooth and collect data from the respiration belt. Do you think this plugin works for that purpose? Thank you.
@ahmedbentaleb686517 днів тому
If the GoDirect has a classic BT module, yes, but you have to work a bit on the oculus quest side to make it work ( i didn't teet the plug-in for the quest). If GoDirect has low energy BT, check this plug-in github.com/Velorexe/Unity-Android-Bluetooth-Low-Energy
@sreynitkhatt961417 днів тому
@@ahmedbentaleb6865 The GoDirect has low-energy BT, I will check out the link you sent. Thank you so much!
@user-og4kt5ej2k8 місяців тому
I see cube in reporterscane and cylinder in test 1, where am I biased?
@ahmedbentaleb68658 місяців тому
Go to Assets/Scenes and you will find the Sample scene, use it to build the app and receive data in scripts
@kam12shah6 місяців тому
can u suggest how send text from mobile apk to oculus build vice versa via bluetooth
@ahmedbentaleb68656 місяців тому
I always wanted to test that, as i don't have access to an oculus for now. If you have time and oculus, feel free to try, and i ll try my best to help you.
@AmadoMagbanuaIV5 місяців тому
Hello, I just want to ask if this plugin will make Bluetooth communication between an Arduino Nano 33 BLE and a Unity mobile app work?
@ahmedbentaleb68655 місяців тому
Yes, It should work, please keep me updated if you face any difficulties
@AmadoMagbanuaIV5 місяців тому
After manually connecting the Arduino Nano 33 BLE to the app through Bluetooth, I entered the device name into the input field. The report indicates the following: "Start connection status: Error" "MyNano33BLE status: False" By the way, the Arduino Nano 33 BLE requires just a few lines of code to enable Bluetooth advertising using the Arduino IDE. I've successfully accomplished that and can now pair it with my phone. However, these errors still persist.
@furkanuzumcu40478 місяців тому
ım getting "Scene 'reporterScane' couldn't be loaded because it has not been added to the build settings or the assetBundle has not been loaded" error pls help me :)
@ahmedbentaleb68658 місяців тому
Did you add your scene to the building settings?
@furkanuzumcu40478 місяців тому
@@ahmedbentaleb6865 yes i added it but i am downloading assetbundle right now
@RobolearningМісяць тому
Great video , could I know how to access the phone's gps location and send it over to the bluetooth device ?
Hi, I want to connect unity with beacons for indoor navigation. Will it work with it? Thanks
@ahmedbentaleb68654 місяці тому
yes, it should work, give it a try and let me know
@user-vh3mj8eb8z6 місяців тому
hello, maybe I want to use it to communicate HJ-180, I am not sure whether it can do or not?
@ahmedbentaleb68656 місяців тому
Probably it will work, as it is similar to hc-05 and 06
@user-vh3mj8eb8z6 місяців тому
okok thank you very much!!!I'll try it@@ahmedbentaleb6865
@yogijain110611 днів тому
not able to build the apk showing gradle error
@ahmedbentaleb686511 днів тому
Could you email me error log, and what version of the plugin you are using, Android API too, also check your SDK installation
@lauregirard36396 місяців тому
Hello, to begin with, thank you for making this plugin. Do you know if it works with Hololens 2? I tried to connect it to my Hololens paired to my Android phone, but when I enter the name of my Hololens device on your app, I have the error "Start connection status: False". Thank you very much!
@ahmedbentaleb68656 місяців тому
the plugin is made for Bluetooth like HC-05 and Android mobile, I guess it won't work directly with Hololens, probably because of the baud rate and other parameters related to Hololnes, feel free to check the source code and modify it to your needs, I ll be happy to help on that.
@ahmedbentaleb68656 місяців тому
Also, check this link (stackoverflow.com/questions/46607707/how-to-detect-ble-beacons-on-unity3d-hololens-app ) and ( mtaulty.com/2017/02/21/windows-10-uwp-hololens-a-simple-two-way-socket-library/ ), it might be a permission problem.
@lauregirard36396 місяців тому
@@ahmedbentaleb6865 Ok, thank you very much for answering me! I will keep you updated!
@phantomBlurrrrr19 днів тому
how do u do this but for a PC unity game? NOT android..
@ahmedbentaleb686518 днів тому
Try to use .Net bluetooth library
@user-jj7xg5ug5i5 місяців тому
What device do you use to send messages to a mobile phone?
@ahmedbentaleb68654 місяці тому
HC-06 or HC-05 BLE module with an arduino uno
@kizilordusubayiМісяць тому
Hello I am making a toy car with esp32. Also a car game from unity. Can I combine unity game and esp32 with this plugin?
@ahmedbentaleb6865Місяць тому
Yes, you can do that. Contact me if you face difficulties
@kizilordusubayiМісяць тому
@@ahmedbentaleb6865 thank you, i'm doing this for a school project.
@briangodd_unityGDМісяць тому
Hello~ Can this plugin work with Adafruit Bluetooth LE 8B5C ? I just try the V2 app on my phone but it went to : "Start connection status: Error" " Adafruit Bluetooth LE 8B5C status: False"
@ahmedbentaleb6865Місяць тому
Try V3, and it should work
@briangodd_unityGDМісяць тому
@@ahmedbentaleb6865 Thanks, but I just tried and failed🥲. ( Input the mac something like FA:78:62:07:8B:5C at the inputfield , then press "start". It turned out : StartConnection Error:java.io.IOException: read failed, socket might closed or timeout, read ret:-1 )
@briangodd_unityGDМісяць тому
but I'm sure that Bluefruit Connect App can work on my phone with that Adafruit BLE.
@ahmedbentaleb6865Місяць тому
So the Adafruit LE 8B5C is a low energy bluetooth module, and i did not implement this connectivity in my plug-in, check this plug-in for LE modules: github.com/Velorexe/Unity-Android-Bluetooth-Low-Energy
@briangodd_unityGDМісяць тому
@@ahmedbentaleb6865 ok! Thanks very much!
@mohammadmohammadi93506 місяців тому
Hello please add IOS support to these plugin thank you.
@ahmedbentaleb68655 місяців тому
I have never worked with IOS, so if you have some experience i ll be happy to help you creating this plug-in in IOS
@anashossam4715Місяць тому
Hello ! i need your help , how can i contact you ?