PiBleMobile – BLE Interface for Mobile
TomoSoft
$15.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
08/16(2022) |
10.0 |
03/21(2024) |
15.0 |
11/16(2024) |
15.0 |
Jump AssetStore
PiBleMobile – BLE Interface for MobilePiBleMobile is an interface adapter between Android mobile phone and Raspberry Pi using BLE (Bluetooth low energy). This adapter can quickly add the Raspberry Pi to your game as a gamepad — no code required! To use the sensors device (gyro, accelerometer, GPS, etc.) and the display panel (LED, LCD panel, etc.) on the Raspberry Pi, you write code in purchased assets into the Raspberry Pi and create Unity scripts by referencing sample code in purchased assets. Thereby you can use the sensor device data and the display panel data in your game.Features:- The package includes the Raspberry Pi code (Python script) that obtains x, y, and z data generated by the SIN function from the Raspberry Pi. You copy (use FTP) this code to the Raspberry Pi.- Read x, y, and z data from the Raspberry Pi, convert x, y, and z data to byte array data type, and transfer that data to Unity by using BLE (Bluetooth low energy).- The package also includes the Raspberry Pi code that receives numerical data at the Raspberry Pi. You copy this code to the Raspberry Pi.- The package includes the Unity 3D object ‘tumbler’ for displaying the x, y, and z and Inputfield / Button for sending numerical to the Raspberry Pi.- The Unity script example describes how to receive the x, y, and z data from Raspberry Pi and to send the numerical data to Raspberry Pi.- Refer to ‘PiBleMobile Quick Start’ for how to set up the PiBleMobile in detail.- Refer to ‘PiBleMobile Design Tips’ to rewrite the Raspberry Pi code and the Unity script example. You can transfer array data up to 64 bytes between Android mobile phone and Raspberry Pi to connect your sensor or display panel to the Raspberry Pi.Requirements:- Unity 2022.3 or newer- Android mobile phone (Android 7.0 Nougat or higher)- Raspberry Pi 4(including Raspberry Pi 3 or Raspberry Pi Zero W) or higher. Not work at Python 3.11.x.- Building games for Android, for details, refer to ‘Building games for Android’ for how to build and run game objects for Android.- Android Logcat, for details, refer to ‘Install and Use Android Logcat’ for how to install and use Android Logcat.- Transfer array data up to 64 bytes from Unity to Raspberry Pi and array data up to 64 bytes from Raspberry Pi to Unity by changing the Unity script example and the Raspberry Pi code.In case of any trouble, contact me by email so I can assist you.