Go Down

Topic: Speech Recognition with BitVoicer and Arduino (Read 67139 times) previous topic - next topic


Looks like it's back up now

I uploaded the version I had locally in case you still can't access the other ones


Hey, i've managed to implement this in c# and visual studio. Look for the SpeechRecognitionEngine class (http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine%28v=vs.110%29.aspx). It uses the built-in windows 7 speech recognition feature and any usb mike connected to the computer.

Something like this:
Code: [Select]

class SpeechRecConsole
        static void Main(string[] args)
            // Create an in-process speech recognizer for the en-US locale.
            using (
            SpeechRecognitionEngine recognizer =
              new SpeechRecognitionEngine(
                new System.Globalization.CultureInfo("en-US")))

                // Create and load a dictation grammar.
                recognizer.LoadGrammar(new DictationGrammar());

                // Add a handler for the speech recognized event.
                recognizer.SpeechRecognized +=
                  new EventHandler<SpeechRecognizedEventArgs>(recognizer_SpeechRecognized);

                // Configure input to the speech recognizer.

                // Start asynchronous, continuous speech recognition.

                // Keep the console window open.
                while (true)

        // Handle the SpeechRecognized event.
        static void recognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
            if (e.Result.Text.ToLower() == "lights on") {
                 SerialPort port = new SerialPort("COM6", 9600);
                port.Write("lights on!!");


Wow that's pretty cool Petrovinsky. I'm always thinking about how I should start learning visual studio and more c++.

Is there a way to program the whole BitVoicer sketch onto the Arduino so that it can run as a standalone unit without having to connect it to the computer and starting BitVoicer every time? I feel like this might be very difficult or impossible because you would have to write the entire BitVoicer program onto the Arduino. Any thoughts?


Hey, so I tried to upload your sketch, and I got the error "bitvoicerserial does not name a type"? any ideas?
means your library isnt linking into the sketch properly, im having the same problem atm, by pc is usually a pain when bringing in new libraries, trouble is, i cant remember what i did last time this happened :l did you get anywhere with it?


I got Bitvoicer to work with an Arduino Uno. However, when I switched to using a Arduino Pro Mini (3.3V, 8MHz), I was unable to calibrate the microphone on the BitVoice desktop program. I am getting "0 samples per second" and "Invalid Reference Audio Level"

Anyone got this problem too and manage to solve it? I know its got something to do with the serial command from the PC to the arduino thats initiates the calibration process. Its somehow just not receiving that command.


Have you guys seen this:


Sep 04, 2015, 06:00 pm Last Edit: Sep 04, 2015, 06:38 pm by sketchart Reason: make sure i added that NPE did not erase the applicaton in the program file.
Hi, I am new, but a very experienced engineer. I wanted to let all know that when I ran Norton Power Eraser , which is an incredible virus detection tool for free, that is caught Bitvoicer1.2 in it's detection as a virus. I know that Bitvoicer sends computer info back to Sophia for verification, but I do not know what else it can do. I am, of course , suspicious, for every time I clean my computer, a PC, Windows 7, 64 bit, it picks up Bitvoicer and wants to clear just the setup file and shortcut. Just wanted to let all of you know so you don't do what I did and accidentally erase my only copy of Bivoicer1.1, but Sophia cam to the rescue and gave me great customer service. ? It leaves the application in the program files. I made a backup this time !!!

Bitvoicer works very well for my A/C control. I am working on other projects also. I am excited to get the new MOVI shield as mentioned by Tractor before me. . Thanks a great deal for the tip !!


Hello sketchart ! I found the NGE also while installing a VPN and it is also used to keep one off the blacklist  in case any viruses get into the machine. I had the same problem, but it allows one to just ignore by not selecting a check box. Unzbin is also cauht in it's web. I have been very successful with BitVoicer and the NGE tool is excellent, outstanding. Look at MXToolbox under blacklisting and it gives so much good advice on the subject.

I have not had a Trojan in months because of that one Tool !! I cannot believe it is free.

Also, does anyone have success in running an Arduino Uno R3 with Bitvoicer w/o the USB cable. It seems that if I apply external Vcc that it should run with the electret microphone.

Thanks for the Reminder


can you give me the library(BitVoicer.h)


Hello, I need your help. Could help me please?

I have trying programmer arduino with Bit Voicer for to use with servo motor. I don't know why is wrog.

Please, help me?

#include <BitVoicer11.h>

BitVoicerSerial bvSerial = BitVoicerSerial();

//Stores the data type retrieved by getData()
byte dataType = 4;
//Stores the state of pin 4
int pinVal = 4;

void setup ()  {
 //Sets digital pin 4 as OUTPUT
 pinMode(4, OUTPUT);
 //Turns off pin 4
 digitalWrite(4, pinVal);


void loop()


//This function runs every time serial data is available
//in the serial buffer after a loop
void serialEvent()
 //Reads the serial buffer and stores the received data type
 dataType = bvSerial.getData();

if (dataType == BV_STR)
   if (bvSerial.strData == "Ligar")  
     digitalWrite  (pinVal, 180 );



I have made voice control for my projects...
You can try it on: https://arduino.php5.sk/PHP_en/
Working only under Chrome browser. In settings of that webapp I can use each world language that is supporting Google.
Functionality is very easy. Arduino or ESP board in Webclient mode is reading variable from php file.
Arduino and website programmer

Go Up