Skip to content

SamueleFurnari/ESP32OSCDataLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The code in this repository can be used to log Serial OSC messages sent by an OSC sender.

The code relies on the WiFiManager library to manage WiFi connections and the OSC library to interpret OSC messages.

The code has been tested with PlatformIO on an ESP32 Wroom.

First Boot

After the first boot, the ESP activates an AP with SSID OSCDataLogger. Connect to it using password as the password, and then connect the ESP to your network.

After the device reboots, open a serial terminal at 115200 baud and connect with the ESP. If the connection is successful, you will see the message Connected to WiFi! on the serial monitor, indicating that the board is connected to your WiFi network. A second message will show the IP address assigned by your router to the device, followed by the string Listening on port 8000, indicating that the UDP server was started successfully.

Usage

For testing purposes, you can download the sendosc utility to send OSC messages to the data logger.

Below are some example usages of the sendosc tool:

.\sendosc.exe 192.168.178.112 8000 /test1 s "hello"
.\sendosc.exe 192.168.178.112 8000 /test1 i 10
.\sendosc.exe 192.168.178.112 8000 /test1 f 1.2

In this example 192.168.178.112 is the IP address assigned by the router to your device. Use s to send a string, i to send an integer and f to send a float.

About

ESP32 Wroom tested OSC data logger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages