Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add serial protocol support for Illucia DTR #47

Open
lazzarello opened this issue Mar 27, 2018 · 1 comment
Open

Add serial protocol support for Illucia DTR #47

lazzarello opened this issue Mar 27, 2018 · 1 comment

Comments

@lazzarello
Copy link

@lazzarello lazzarello commented Mar 27, 2018

I'm working on adding a new device to serialosc in my fork. The current documented protocol looks like this

/*
 illucia dtr
 "deterritorializer"
 microcontroller code version 0.9
 arduino style code (with Teensy++ as the intended target at the moment)
 
 When there is a change in state, send a message to the computer specifiying the change. 
 The message is a 4 byte array with the makeup:
 
 //first byte: char representaiton of type of control element that this message pertains to
 0 = continuous (potentiometer, sensor, etc)
 1 = digital (button, switch, etc)
 2 = jack event (some jack connection or disconnection)
 3 = arbitrary data (currently unused)
 
 //second byte
 if continous or digital: ID number of control element (ie: which pot changed, or which button changed)
 if jack events: first byte pertaining to the state of the grid (for now, just beaming the whole state of the grid over when something changes)
 if arbitrary data: first byte of whatever data is being sent
 
 //remaining bytes:
 if continuous: send 2 bytes (the 10bit value from the analogRead) 
 if digital: send 1 byte (only 1 bit used). send 1 for pressed, 0 for released 
 if jack event: another jack is involved, so send its ID in the next byte, and another byte pertaining to the state (0 for a disconnection, 1 for a connection)
 */

Device detection is TBD.

@lazzarello
Copy link
Author

@lazzarello lazzarello commented Mar 29, 2018

I think the firmware for illucia needs to be changed to fit into the mext protocol, which appears to be documented. I have [made an update] (lazzarello@002c9a5) to my fork but it's not fully worked out. I need to better understand the OSC forwarder patch bay concept to figure out the /monome/dtr/jack/* namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant