# Servo connector dimensions / size

Servo connector (“female”) dimensions are 7.85mm x 2.42mm for JR-style (without the “notch”).

Male servo connector (with the pins inside connector) outside dimensions are 9.17mm x 4.08mm.

# Midi NRPN explained

Buzzled how NRPN commands work at midi?

For example Analog Four sends oscillator 1 tune/finetune in following manner (raw midi bytes), all values are decimal:

[packet on 3 bytes:] 184 99 1
[packet on 3 bytes:] 184 98 0
[packet on 3 bytes:] 184 6 38
[packet on 3 bytes:] 184 38 64

As you can see we got four CC commands in a row. This is a screenshot from Analog Four manual:

The value 184 is CC command for midi channel 9. Then follows the command. There are four different commands:

99 – describe the MSB “register”
98 – describe the LBS “register”
6 – set MSB value
38 – set LSB value

So the actual values are after the bytes 6 and 38 in LSB + MSB format.

# My tricopter dimensions

Just about to dump my well served tricopter, I remembered to write the measurements here:

Front motors: 44cm
Back motor 38cm from boom
Body plate: front 13cm, back 10cm, lenght 25cm

Arms 15mm x 15mm

Here’s the beauty with motors and ESC’s stripped away:

# Quadcopter MultiWii Mongoose board pin mapping

```front left		front right
Arduino=3		Arduino=10
PD3			PB2
Mong: 3			Mong=10

rear left		rear right
Arduino=11		Arduino=9
PB3			PB1
Mong: MOSI		Mong=9
```

When programming pins facing forwards:

```  #define GYRO_ORIENTATION(X, Y, Z) {imu.gyroADC[PITCH] = -Y; imu.gyroADC[ROLL] =  -X; imu.gyroADC[YAW] = -Z;}
```

# Turnigy XT60 dimensions

Self measured:  “male” connector outside dimensions are 15.57mm x 8.04mm.

Dimension :
Female side : L 20mm x W 15mm x H 8mm
Male side : L 20mm x W 15mm x H 8mm
Total Length when conneted together : L 33mm

Source: Hobbyking.

# Inside Turnigy 9025MG servo

TGY-9025MG

First gear is plastic.

# Howto: Arduino Due as MIDI HID device

1) Get the HIDUINO code from: https://github.com/ddiakopoulos/hiduino

2) Get the MIDI library for Arduino at http://sourceforge.net/projects/arduinomidilib/

3) Program the 16u2 chip with ICSP programmer:

../bin/avrdude -C avrdude.conf -c avrispmkII -p m16u2 -P usb -U flash:w:/Users/jouni/Downloads/hiduino-master/Compiled\ Firmwares/HIDUINO_MIDI.hex

To RECOVER I wrote on OS X:

cd /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/sam/firmwares/atmega16u2

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -c usbasp -p m16u2 -U flash:w:Arduino-DUE-usbserial.hex

4) Edit the arduino midi library file MIDI.h and comment row sayin “typedef uint16_t word;” to get rid off compiler error (if occurs).

5) Upload for example the following code to Due:

```#include <MIDI.h>
/*
Basic I/O MIDI tutorial
by Franky
28/07/2009
*/
#define LED 13   // LED pin on Arduino board
void setup() {
pinMode(LED, OUTPUT);
MIDI.begin(4);            	// Launch MIDI with default options
// input channel is set to 4
}
void loop() {
MIDI.sendNoteOn(42,127,1);  // Send a Note (pitch 42, velo 127 on channel 1)
delay(1000);	 // Wait for a second
MIDI.sendNoteOff(42,0,1);   // Stop the note
digitalWrite(LED,LOW);
}
#include <MIDI.h>/*  Basic I/O MIDI tutorial  by Franky  28/07/2009*/
#define LED 13   // LED pin on Arduino board
void setup() {  pinMode(LED, OUTPUT);  MIDI.begin(4);            	// Launch MIDI with default options	 // input channel is set to 4}
void loop() {
digitalWrite(LED,HIGH);     // Blink the LED    MIDI.sendNoteOn(42,127,1);  // Send a Note (pitch 42, velo 127 on channel 1)    delay(1000);	 // Wait for a second    MIDI.sendNoteOff(42,0,1);   // Stop the note    digitalWrite(LED,LOW);

}
```

# Cura quickprint-settings

Here you can find Cura quickprint default settings / presets:

High quality print: Layer height: 0.06 mm Walls: 0.8 mm, Fill: 20%

Normal quality print: Layer height: 0.1 mm Walls: 0.8 mm, Fill: 20%

Fast low level quality: Layer height: 0.2 mm Walls: 1 mm, Fill: 10%

All settings in the source code of Cura https://github.com/daid/Cura/blob/SteamEngine/Cura/gui/simpleMode.py