Dear Diyers,
I would like to control the JUNO60 in MIDI This old syntheziser use DCB protocol http://en.wikipedia.org/wiki/Digital_Control_Bus
i connect the arduino like this -DCB Tx Data -----> Arduino Rx -DCB ground ------> Arduion Ground
I use this program to read the data who send the juno 60
int Led = 13;
int data = 0;
int count=0;
///////////////////////////////////////////////////////////////
//Initialisation de la sorite de la Led et du port Rx en Midi//
void setup() {
}
////////////////////////////////////////////////////////////////
///////////////////////debut de la boucle///////////////////////
void loop() {
Serial.begin(31250);
delay(100);
if(Serial.available() > 0){// un info est elle presente en Rx
data = Serial.read();// enregistrer cette info dans la variable Data
Serial.begin (9600);
Serial.print (data, HEX);
Serial.println (" ");
count ++;
if (count == 7){
Serial.print("/n");
count =0;
}
}
}
That what i read on the serial monitor
I don't understand this data because at the beginning the data seem to ok and when i try to push a key the datra change and never be the same as the beginning Is there anybody who are "friendly" with the type of protocol or maybe i dont interface it correctly
Thank you for your help Xarolium