WiFi for Pico
A Unity package that enables communication between a Windows PC and multiple Raspberry Pi Pico W devices via WiFi using MQTT, allowing for the use of sensors and display panels in games.

* 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:
- 1
- Supported Unity Versions:
- 2022.3.11 or higher
- Current Version:
- 1.0
- Download Size:
- 2.03 MB
- Last Update:
- Sep 16, 2024
- Description:
- This package provides an interface between a Windows PC and multiple Raspberry Pi Pico W devices via WiFi using MQTT communication. It allows for the use of sensors and display panels in games without requiring code modifications. The package includes:
* Pico W code to obtain x, y, and z data from the device
* Unity scripts to read and convert x, y, and z data to byte array data type and transfer it to Unity using MQTT
* Pico W code to receive numerical data
* Unity 3D object and UI elements for displaying data and sending numerical data to the Pico W
* Sample code for receiving x, y, and z data from Pico W and sending numerical data to Pico W
The package works as a Publisher and Subscriber on the Windows PC, and as a Publisher and Subscriber on the Pico W. It requires Unity 2022.3 or newer, a Windows PC with Windows 10 or 11, a Raspberry Pi Pico W, and Arduino IDE.
The package uses MQTT communication between the Windows PC and Pico W devices, and the workflow involves:
* Unity on the Windows PC inputs moving data as Subscriber from Unity topic
* Pico W outputs moving data as Publisher to Unity topic
* Unity on the Windows PC outputs command data as Publisher to Pico W topic
* Pico W inputs command data as Subscriber from Pico W topic
* Moving data is for Horizontal or Vertical movement depending on Pico W No
* Command data is for Pico W No and two input field data
The package includes third-party libraries under their respective licenses, which are listed in Third-Party Notices.txt.
In case of any trouble, contact the author for assistance. - Technical Details:
- The package uses MQTT communication between the Windows PC and Pico W devices. The Windows PC connects to the network using LAN or WiFi, while each Pico W connects using WiFi. The workflow involves:
1. Unity on the Windows PC inputs moving data as Subscriber from Unity topic
2. Pico W outputs moving data as Publisher to Unity topic
3. Unity on the Windows PC outputs command data as Publisher to Pico W topic
4. Pico W inputs command data as Subscriber from Pico W topic
5. Moving data is for Horizontal or Vertical movement depending on Pico W No
6. Command data is for Pico W No and two input field data - Continue »