Millumin Control Surface 9+2 by Pipapelaa 3d model
Warning. This content is not moderated and could be offensive.
sexy
3dmdb logo
Thingiverse
Millumin Control Surface 9+2 by Pipapelaa

Millumin Control Surface 9+2 by Pipapelaa

by Thingiverse
Last crawled date: 3 years ago
Control Surface for Millumin, OBS and other streaming Software. Yuo can control 9+2 video/media imputs and 3 audio fonts.
Material you need:
Arduino Uno Board
11 resistor 10K
11 Momentary push Buttons
3 potentiometer 10K
Also you need to install in Arduino IDE the llibrary MilluminStream.h
THE CODE
/
streaming.ino
Created by Pipapelaa, 2021.
Creative Commons Attribution-NonCommercial 4.0 International Public License/
include
include
////////////////////////////////////////////////////////////////////////////////
// Initialisation
void setup()
{
// We setup MilluminStream
MilluminStream::setup();
pinMode(A1, INPUT); // pin Analog 1 as input to stream its potentiometer value
pinMode(A2, INPUT); // pin Analog 2 as input to stream its potentiometer value
pinMode(A3, INPUT); // pin Analog 3 as input to stream its potentiometer value
pinMode(2, INPUT_PULLUP); // pin Digital 2 as input to stream its pushbutton value
pinMode(3, INPUT_PULLUP); // pin Digital 3 as input to stream its pushbutton value
pinMode(4, INPUT_PULLUP); // pin Digital 4 as input to stream its pushbutton value
pinMode(5, INPUT_PULLUP); // pin Digital 5 as input to stream its pushbutton value
pinMode(6, INPUT_PULLUP); // pin Digital 6 as input to stream its pushbutton value
pinMode(7, INPUT_PULLUP); // pin Digital 7 as input to stream its pushbutton value
pinMode(8, INPUT_PULLUP); // pin Digital 8 as input to stream its pushbutton value
pinMode(9, INPUT_PULLUP); // pin Digital 9 as input to stream its pushbutton value
pinMode(10, INPUT_PULLUP); // pin Digital 10 as input to stream its pushbutton value
pinMode(11, INPUT_PULLUP); // pin Digital 11 as input to stream its pushbutton value
pinMode(12, INPUT_PULLUP); // pin Digital 12 as input to stream its pushbutton value
}
////////////////////////////////////////////////////////////////////////////////
// Loop
void loop()
{
// First, we need to update MilluminStream
MilluminStream::update();
// Then, we stream pin A1 to A3
MilluminStream::sendAnalogForID(1); // Add the value of A1 pin to the frame
MilluminStream::sendAnalogForID(2); // Add the value of A2 pin to the frame
MilluminStream::sendAnalogForID(3); // Add the value of A3 pin to the frame
// Then, we stream pin D2 to D12
MilluminStream::sendDigitalForID(2); // Add the value of D2 pin to the frame
MilluminStream::sendDigitalForID(3); // Add the value of D3 pin to the frame
MilluminStream::sendDigitalForID(4); // Add the value of D4 pin to the frame
MilluminStream::sendDigitalForID(5); // Add the value of D5 pin to the frame
MilluminStream::sendDigitalForID(6); // Add the value of D6 pin to the frame
MilluminStream::sendDigitalForID(7); // Add the value of D7 pin to the frame
MilluminStream::sendDigitalForID(8); // Add the value of D8 pin to the frame
MilluminStream::sendDigitalForID(9); // Add the value of D9 pin to the frame
MilluminStream::sendDigitalForID(10); // Add the value of D10 pin to the frame
MilluminStream::sendDigitalForID(11); // Add the value of D11 pin to the frame
MilluminStream::sendDigitalForID(12); // Add the value of D12 pin to the frame
// Finally we send just one frame with all our values
MilluminStream::sendFrame();
}

Tags