Using Huzzah32 to send OSC for button and fader inputs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
OSCbuttonFaderFunction add files and update Jan 16, 2018
simpleOSCSender add files and update Jan 16, 2018
.gitattributes Initial commit Jan 16, 2018
OSCreceive.maxpat add files and update Jan 16, 2018
README.md Update README.md Jan 31, 2018

README.md

Blog post here: http://www.dotlib.org/blog/2018/1/16/feather-huzzah-32-osc-esp32

Huzzah32OSC

The Huzzah32 is great as it has lots of analogue inputs so we can read lots of sensors. It can connect to Wifi and send OSC to a host computer or indeed tablet app. Its easy to programme the same way as an Arduino over USB and has loads of extra capabilities including Bluetooth/BLE: https://learn.adafruit.com/adafruit-huzzah32-esp32-feather/overview

Using Huzzah32 with Arduino IDE for sending OSC over Wifi

This will tell you how to set the board in the IDE and get the driver, although I had to use the legacy USB driver, even though I am on OS X 10.10, to get it working: https://learn.adafruit.com/adafruit-huzzah32-esp32-feather/using-with-arduino-ide

You will also need the OSC library, and even if you have it, it has recently been updated for ESP32 so you may need to update it. https://github.com/CNMAT/OSC

Everything else is from the WiFi library, it should grab the one you have installed with the Espressif board setup rather than the built in one.

The included sketches show how to send basic ints, strings and floats (**NB - to get the float to send I had to declare a variable to hold it rather than just putting it in the brackets for some reason) and how to efficiently send button and sensor readings.

Also included is a MaxMSP patch showing how I receive and route the button and fader inputs over OSC in Max.

…and don’t forget to add your own network name, password and host IP address!!

***NB - Currently you can not use WiFi and do an analogRead on any pin below 32, i.e. use A2, A3, A4​, A7, A9 https://github.com/espressif/arduino-esp32/issues/102