Go Down

Topic: Can I I2C wire two Arduinos with USB cables on both? (Read 1 time) previous topic - next topic

mariocarta

#10
Jan 28, 2013, 06:14 pm Last Edit: Jan 28, 2013, 08:43 pm by mariocarta Reason: 1
So, I finally got his answer and he sent me these schematics:
https://www.dropbox.com/s/6tk037c5u8g8pz1/EasyVR_Shield_R1D_sch.pdf

I hope that has anything that helps!

Cheers!

pylon

I guess it should work with the EasyVR Command if you set it to slow mode and load the following sketch to the Leonardo before using it:

Code: [Select]
void setup() {
  Serial.begin(115200);
  Serial1.begin(115200);
}

void loop() {
  if (Serial.available()) {
    Serial1.write(Serial.read());
  }
  if (Serial1.available()) {
    Serial.write(Serial1.read());
  }
}


This is just copying data from the USB to the hardware serial and vice versa. Configure the jumper for hardware serial, also during the EasyVR Commander session.

The only problem that may still exist is the RST line. It's connected to the RESET line of the Arduino. If the EasyVR Commander controls that line via the DTR of the serial interface, I don't have a solution for that shield. Then it's probably easier to just buy a standard UNO for this shield.

mariocarta

#12
Jan 29, 2013, 09:27 pm Last Edit: Jan 29, 2013, 10:02 pm by mariocarta Reason: 1
Thanks!

I'll try it! But I think that this means that I'll have to connect pins 0 and 1 from both together (the shield is now only connected via RST, GND, 5V pins 12 to 8 and 13 to 9 to the arduino). No biggie... jumper wires for the job!

Later I tell you what happened... :)

Edit: It didn't work as well...

But I'm resigned. No big deal. I can always change it with the seeeduino everytime I want to update the soundtable or voice commands...

Thank for your willing to help all the time! I learned so much from here and the manuals!

Go Up