WiFi for Pi
Raspberry Pi MQTT Interface Asset for Unity

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $20
- Category:
- Tools › Input-management
- Developer:
- TomoSoft
- Price:
- $20
- Favorites:
- 2
- Supported Unity Versions:
- 2022.3.11 or higher
- Current Version:
- 1.0
- Download Size:
- 2.13 MB
- Last Update:
- Jan 21, 2025
- Description:
- Asset 'WiFi for Pi' is an interface asset between a single Windows PC and plural Raspberry Pis via WiFi using MQTT communication. This asset can quickly add plural Raspberry Pis 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 include: Raspberry Pi code for obtaining x, y, and z data, reading and transferring data to Unity using MQTT communication, Unity 3D object for displaying data, and more. This asset works as Publisher and Subscriber, also Broker, on the Windows PC, and as Publisher and Subscriber on the Raspberry Pi. Refer to the Quick Start and Design Tips for details on setup and rewriting code.
- Technical Details:
- This asset uses MQTT communication between a single Windows PC and plural Raspberry Pis using the network. The Windows PC connects to the network using LAN or WiFi, while each Raspberry Pi connects using WiFi. The workflow involves: Unity on the Windows PC inputs moving data as Subscriber from Unity topic, the Raspberry Pi outputs moving data as Publisher to Unity topic, Unity on the Windows PC outputs command data as Publisher to the Raspberry Pi topic, the Raspberry Pi inputs command data as Subscriber from Raspberry Pi topic, moving data is for Horizontal or Vertical movement depending on Raspberry Pi No, and command data is for Raspberry Pi No and two input field data.
- Continue »