D1 mini with a Geeetech Voice Recognition Module

Hi everyone,

Trying to get my D1 mini board to work with a Geeetech Voice Recognition Module.

So, I've tested the Geeetech Voice Recognition Module by itself - using AccessPort 137 connected to the hardware serial ports (RX and TX on the D1; to RxD and TxD on the VRM). While connected this way, I can send all the HEX I want to it, and it responds and functions the way the board should (i.e. recording and recognising voice lines).

However, when I try code it up in Arduino 1.8.7, it's as if the board isn't receiving anything I Serial Write to it.

For example:

void setup() {

  // Set Baud Rate to 9600 (default rate).
  Serial.begin(9600);

  // Set VRM to compact return mode.
  delay(2000);
  Serial.write(0xAA);
  Serial.write(0x37);

  // Import voice group 1 and start listening.
  delay(1000);
  Serial.write(0xAA);
  Serial.write(0x21);

void loop() {

}

Even just the above doesn't work. The VRM stays in the rapid blinking LED mode, as it normally does before it has received any commands.

I thought maybe that it wasn't liking the hardware serial port, so I went ahead and changed where the wires connect: removing them from TX and RX (on the D1 side), and over onto the D2 (4) and D3 (0) pins.

I then made the following code:

#include <SoftwareSerial.h>

SoftwareSerial SoftSerial(4, 0);     // Set pin 4 (D2) as RX, and 0 (D3) as TX. 

void setup() {

  // Set Baud Rate to 9600 (default rate).
  Serial.begin(9600);
  SoftSerial.begin(9600);

  delay(2000);
  SoftSerial.write(0xAA);
  SoftSerial.write(0x37);

  // Import voice group 1 and start listening.
  delay(1000);
  SoftSerial.write(0xAA);
  SoftSerial.write(0x21);

}


void loop() {
}

... and this also didn't work - netting me the same result of constant red flashing LED.

Anyone ran across anything similar?

Is this just a 3.3V Vs 5V problem? You mentioned something about connecting to it using "AccessPort 137", which seemed to involve the D1's pins in some way, but I didn't understand what this meant.

PaulRB:
Is this just a 3.3V Vs 5V problem? You mentioned something about connecting to it using "AccessPort 137", which seemed to involve the D1's pins in some way, but I didn't understand what this meant.

Ah sorry, I probably worded that poorly.

AccessPort is just a serial port monitoring tool, can be found here.

I connected the Computer to the D1 mini (via USB), and the D1 mini to the Voice Recognition Module.

I did this in a similar fashion to this (just without the LED bulb circuits):

So D1's RX to VRM's RXD and D1's TX to VRM's TXD.

The only voltage I used is the 5v.

I've tried using a number of different ports on the D1 mini, and changed the SoftwareSerial constructor accordingly, but no progress yet...

At the minute I'm still assuming it's a 3.3V Vs 5V problem, because I can't figure out if you have ruled that out with an earlier test or not. If you did, what did you connect to what, exactly?

I read

I've tested the Geeetech Voice Recognition Module by itself - using AccessPort 137 connected to the hardware serial ports (RX and TX on the D1; to RxD and TxD on the VRM). While connected this way, I can send all the HEX I want to it, and it responds and functions the way the board should

several times but still can't quite figure out what you did there...

ehm, you connected to the hWSerial pins on the UNO, and then managed to communicate with it via the UNO usb ? is that correct ? if so, once you wanted the UNO to communicate with it did you swap the pins over ?