EspWiFi

TomoSoft

(0)
$18
Publisher TomoSoft
File size 2.08MB
Number of files 20
Latest version 1
Latest release date 2024-08-14 09:16:11
First release date 2024-08-14 09:16:11
Supported Unity versions 2018.4.2 or higher

EspWiFi is an interface adapter between a single Windows PC and plural Esp32s via WiFi using MQTT communication. This adapter can quickly add plural Esp32s 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 Esp32, you write code in purchased assets into the Esp32 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 Esp32 code that obtains x, y, and z data from the Esp32. You write this code to the Esp32 using Arduino IDE.
  • Read x, y, and z data from the Esp32, convert x, y, and z data to byte array data type, and transfer that data to Unity using MQTT communication.
  • The package also includes the Esp32 code that receives numerical data at the Esp32. You write this code to the Esp32 using Arduino IDE.
  • The package includes the Unity 3D object ‘vase’ for displaying the x, y, and z and Inputfield / Dropdown / Button for sending numerical to the Esp32.
  • The Esp32WiFiSampleCode describes receiving the x, y, and z data from Esp32 and sending the numerical data to Esp32.
  • EspWiFi on the Windows PC works as Publisher and Subscriber, also Broker. EspWiFi on the Esp32 works as a Publisher and Subscriber.
  • Refer to ‘EspWiFi Quick Start’ for how to set up the EspWiFi In detail.
  • Refer to ‘EspWiFi Design Tips’ to rewrite the Esp32 code and the Esp32WiFiSampleCode.
  • Refer to ‘Technical details’ below for MQTT communication in EspWiFi.

Requirements:

  • Unity 2022.3 or newer
  • Windows PC (Windows 10 or 11) on Network including WiFi Router.
  • Esp32 (not work Esp32 S3 or Esp32 C3)
  • Arduino IDE, for details, refer to ‘Arduino IDE v2 for Esp32’ for how to set up the development environment.
  • ESPWiFi 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.


Top Publisher Assets