Hi, I am new to this forum. So if I make some mistake, please let me know!
First of all, I thank so much for User Forum members for valuable discussions!
Thanks for the information, I successfully built a converter from Yamaha FC3A to NORD pedal.
Instead of using MIDI function like this solution (
nord-stage-forum-f3/custom-comprehensiv ... 14141.html), I used NORD pedal jack to use half damper function.
I used Arduino ProMicro for this.
The circuit diagram is shown below:
- Circuit diagram
- IMG_4501.png (855.93 KiB) Viewed 49110 times
The arduino code is below:
Code: Select all
#define LED 3
#define R1 9 // 10k
#define R2 8 // 4.7k
#define R3 6 // 2.2k
#define R4 4 // 880
#define PEDAL A0 // 880
#define THRESHOLD1 120
#define THRESHOLD2 350
#define THRESHOLD3 600
#define THRESHOLD4 850
int sensorValue = 0; // open 0 - closed 1023
int stateValue = 0; // open 0 - closed 4
void setup() {
// put your setup code here, to run once:
pinMode(LED, OUTPUT);
pinMode(R1, OUTPUT);
pinMode(R2, OUTPUT);
pinMode(R3, OUTPUT);
pinMode(R4, OUTPUT);
digitalWrite(LED, LOW);
digitalWrite(R1, LOW);
digitalWrite(R2, LOW);
digitalWrite(R3, LOW);
digitalWrite(R4, LOW);
}
void loop() {
// get pedal position
sensorValue = 1023 - analogRead(PEDAL); // pedal position
// convert FC3A pedal position to NORD triple pedal state
if (sensorValue < THRESHOLD1) {
stateValue = 0;
} else if (sensorValue < THRESHOLD2) {
stateValue = 1;
} else if (sensorValue < THRESHOLD3) {
stateValue = 2;
} else if (sensorValue < THRESHOLD4) {
stateValue = 3;
} else {
stateValue = 4;
}
// push switch according to the state
if (stateValue == 0) {
digitalWrite(R1, LOW);
digitalWrite(R2, LOW);
digitalWrite(R3, LOW);
digitalWrite(R4, LOW);
digitalWrite(LED, LOW);
} else if (stateValue == 1) {
digitalWrite(R1, HIGH);
digitalWrite(R2, LOW);
digitalWrite(R3, LOW);
digitalWrite(R4, LOW);
digitalWrite(LED, LOW);
} else if (stateValue == 2) {
digitalWrite(R1, HIGH);
digitalWrite(R2, HIGH);
digitalWrite(R3, LOW);
digitalWrite(R4, LOW);
digitalWrite(LED, LOW);
} else if (stateValue == 3) {
digitalWrite(R1, HIGH);
digitalWrite(R2, HIGH);
digitalWrite(R3, HIGH);
digitalWrite(R4, LOW);
digitalWrite(LED, HIGH);
} else {
digitalWrite(R1, HIGH);
digitalWrite(R2, HIGH);
digitalWrite(R3, HIGH);
digitalWrite(R4, HIGH);
digitalWrite(LED, HIGH);
}
Serial.println(stateValue);
delay(1);
}
Finally, I built this.
- Device photo
- 無題.png (6.8 MiB) Viewed 49110 times
Connect Yamaha FC3A to the right TRS jack and connect NORD and this device using the left TRS jack via stereo cable, and then supply power to proMicro via USB, and I can play NORD with half damper function using Yamaha FC3A.