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?