WiFi for Pico
TomoSoft
$20.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
09/16(2024) |
20.0 |
11/27(2024) |
20.0 |
Jump AssetStore
Asset "WiFi for Pico" is Raspberry Pi Pico W MQTT Interface AssetAsset 'WiFi for Pico' is an interface asset between a single Windows PC and plural Pico Ws via WiFi using MQTT communication. This asset can quickly add plural Pico Ws 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 Pico W, you write code in purchased assets into the Pico W 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:This asset includes the Pico W code that obtains x, y, and z data from the Pico W. You write this code to the Pico W using Arduino IDE.Read x, y, and z data from the Pico W, convert x, y, and z data to byte array data type, and transfer that data to Unity using MQTT communication.This asset also includes the Pico W code that receives numerical data at the Pico W. You write this code to the Pico W using Arduino IDE.This asset includes the Unity 3D object ‘vase’ for displaying the x, y, and z and Inputfield / Dropdown / Button for sending numerical to the Pico W.The PicoWiFiSampleCode describes receiving the x, y, and z data from Pico W and sending the numerical data to Pico W.This asset on the Windows PC works as Publisher and Subscriber, also Broker. This asset on the Pico W works as a Publisher and Subscriber.Refer to ‘Quick Start of WiFi for Pico’ for details on how to set up this asset.Refer to ‘Design Tips of WiFi for Pico’ to rewrite the Pico W code and the PicoWiFiSampleCode.Refer to ‘Technical details’ below for MQTT communication in this asset.Requirements:Unity 2022.3 or newerWindows PC (Windows 10 or 11) on Network including WiFi Router.Raspberry Pi Pico W (Rasberry Pi Pico does not work)Arduino IDE, for details, refer to ‘Arduino IDE v2 for Pico/Pico W’ for how to set up the development environment.This asset includes third-party libraries under their respective licenses, which are scribed in Third-Party Notices.txt.In case of any trouble, contact me by email so I can assist you.Asset 'WiFi for Pico' uses MQTT communication between a single Windows PC and plural Pico Ws using the network. The Windows PC connects to the network using LAN or WiFi. Each Pico W connects the network using WiFi. This asset on the Windows PC works as Publisher and Subscriber, also Broker. This asset on the Pico W works as a Publisher and Subscriber. Workflow is as follows.Unity with this asset on the Windows PC inputs moving data as Subscriber from Unity topic.This asset on the Pico W outputs moving data as Publisher to Unity topic.Unity with this asset on the Windows PC outputs command data as Publisher to Pico W topic.This asset on the 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.