Home
Voice Recognition Module V2
Contents
1. START No voice 1 did not make any sound So it replied such message START Speak now Again START Speak again now Different I spoke another words for the second time So it replied such message START Speak now Again START Speak again now Finish one recording one instruction successfully START Again START Finish one START Again START Finish one START Again START Finish one START Again www elechouse com E U U ee START Finish one Group1 finished recording group 1 successfully By now you ve finished instruction recording for group 1 We added another way to import the voice instruction group on V2 For V1 the only way is to send command to it through seria port for example e Send command OxAA21 to import group 1 e Send command OxAA22 to import group 2 e Send command OxAA23 to import group 3 On V2 we added an easy way to import the group Look at the following picture you could control GCH and GCL pins Those two pins are all 5V TTL GCH GCL Working State LOW LOW No Change LOW HIGH Import Group 2 HIGH LOW Import Group 1 HIGH HIGH Import Group 3 Try to connect GND to make sure they have the common ground EE 2 O G Q a me p oO D N m a CC a oe a ee ty ae ONO ial a iii e m r m gt lt gt nytt E z ii Gal an 2 Once the group is important
2. failed Voice for the second chance is different with the first one 0x45 recording one voice instruction successfully 0x46 finish recording group 1 OxeO Instruction error 0x40 Ready for recording you can speak now 0x41 no voice detected 0x42 Speak the voice instruction again Do not speak until getting the START message 0x43 Too loud to record 0x44 voice instruction confirming failed Voice for the second chance is different with the first one 0x45 recording one voice instruction successfully 0x47 finish recording group 2 OxeO Instruction error 0x40 Ready for recording you can speak now 0x41 no voice detected Ox42 Speak the voice instruction again Do not speak until getting the START message 0x43 Too loud to record 0x44 voice instruction confirming failed Voice for the second chance is different with the first one 0x45 recording one voice instruction successfully 0x48 finish recording group 3 Oxcc Successful OxeO Instruction error Oxel1 Importing voice group failed Oxcc Successful OxeO Instruction error Oxel1 Importing voice group failed Oxcc Successful OxeO Instruction error Oxel1 Importing voice group failed www elechouse com Used group 0 n No group is recorded 0x00 No group is recorded Used group 1 n Group 1 is recorded 0x01 Group 1 is recorded Used group 2 n Group 2 is recorded 0x02 Group 2 is recorded Used group 3 n Group 3 is rec
3. green blue off First time use a simple MIC as follows Gen ne a Se L a eie 7 on ATC EY u3 jopa MNN siddidissdaiaididdl mo Q www elechouse com I found occasionally this module could not distinguish red and green Then I changed the MIC as follows Then the recognition rate is greatly improved Also find that it is a little hard for this module to distinguish of and off To distinguish those two similar pronunciations high sensitive MIC is required and speaking must be very clear as well as in quiet environment All those limitation makes low practicality But there are simple ways to solve it Make your voice instructions distinctive Do not use voice instructions of similar pronunciation Reset the Serial Port On V2 we added a way to reset the serial port since many customers would forget the serial parameter some time later after they changed it Before powering on the module bridge the TX and RX pins HARURU SS a GND aaas ANNE 5 uae oe le aS ae a Then Power the module on www elechouse com Contact information e LECHOUSCE Web www elechouse com Email elechouse elechouse com Disclaimer and Revisions The information in this document may change without notice Revision History Rev Date Author Description A Sep 29 2011 Wilson Shen Initial version B Mar 4 2013 Wilson Shen V2
4. 64 30ms 0x65 50ms 0x66 60Mms 0x67 7 OMs 0x68 80Ms 0x69 9OMs Ox6A 100ms Ox6B 200ms Ox6C 300ms 0x61 0x62 0x63 0x64 Ok n Successful Oxcc successful ERROR n Instruction error OxeO Instruction error 0x65 0x66 0x67 0x68 www elechouse com Ox6D 400ms Ox6F 1s Ox6A Reset Serial Port to 0x70 9600 baud rate 8 data bits no parity 1 stop bit Oxbb Query version information Version information No respond Ok n Successful Oxcc successful ERROR n Instruction error OxeO Instruction error If you want to modify the serial baud rate to 38400 you need to send command 0xaa35 If successful it will return Baud 38400 n in Common Mode or Oxcc in Compact Mode The baud rate is set to 38400 The main difference between Compact Mode and Common Mode is the returning message Common Mode response is long string but Compact Mode response is a byte For example after sending Oxaa04 to delete all the contents of the 3 groups in Common Mode it will return All Groups Deleted n but in Compact Mode it will return a concise bytes such as Oxcc which means a successful operation Here we will introduce more about the output of 01 05 Pulse Mode Output is negative pulse The pulse duration time pulse duty could be set by command Ox60 Ox6F Flip Mode each time while the module recognizes voice command it will change the state of the outp
5. de m Waiting n successful Oxcc successful Ent to Waiting stat Be perigee vag aasenveeh anette ERROR n Instruction error OxeO Instruction error 0x01 Delete the instructions of Group1 Deleted n successful Oxcc successful group 1 ERROR n Instruction error OxeO Instruction error group 2 ERROR n Instruction error OxeO Instruction error Delete the instructions of Group3 Deleted n successful group 3 ERROR n Instruction error OxeO Instruction error all the 3 groups ERROR n Instruction error OxeO Instruction error instructions of group 1 START n Ready for recording you can speak 0x40 Ready for recording you www elechouse com 0x12 0x13 0x21 0x22 0x23 Begin to record instructions of group 2 Begin to record instructions of group 3 Import group 1 and be ready for voice instruction Import group 2 and be ready for voice instruction Import group 3 and be ready for voice instruction now No voice n no voice detected Again n Speak the voice instruction again Do not speak until getting the START message Too loud n Too loud to record Different n voice instruction confirming failed Voice for the second chance is different with the first one Finish one n recording one voice instruction successfully Group1 finished n finish recording group 1 ERROR n Instruction error START n Ready for
6. f voice recognition For example if the first voice instruction in the working group is recognized O1 could output HIGH signal This output sometimes is very useful such as while controlling the relay The O1 05 output could be set as many type You could set it by sending command to it through serial interface Those setting will be recorded in memory It will not lose even with power off You could find the commands in later content www elechouse com ss yw O On po iD gt gt TTT g cat bere EERE jak Jel GND Ce voc 0 N ote fet os am Siy aaa An n 3 j 3 T a a a 4 o alte gt Sictecetoetecetl TETTETETT gt gt gt gt GC V1 is black and V2 is red e Voltage 4 5 5 5V e Current lt 40mA e Digital Interface 5V TTL level UART interface and GPIO e Analog Interface 3 5mm mono channel microphone connector microphone pin interface e Size 30mm x 47 5mm e Recognition accuracy 99 under ideal environment Serial Command This module can be configured by sending commands via serial port Configuration will be not erased after powered off Its interface is 5V TTL The serial data format 8 data bits no parity 1 stop bit The default baud rate is 9600 and baud rate can be changed Command format is Head Key Head is a Oxaa and Key is as follows Key PIEN r M HEX format Description Respond in Common Mode Respond in Compact Mo
7. it will output message through serial port It could have 15 voice instructions in 3 groups Each time you need to import the group before it could recognize instructions in that group That means this module could recognize 5 voice instructions at the same time In recognition stage this module could receive other serial commands It will not exit the recognition stage until you send OxAA0O0O or delete that group or begin recording instructions Group 1 Command Al Command A2 Command A3 Command A4 www elechouse com Group 2 Command B1 Command B2 Command B3 Command B4 Group 3 Command C1 Command C2 Command C3 Command C4 Command C5 Command A5 Command B5 AccessPort COM7 9600 N 8 1 Opened File Edit View Monitor Tools Operation lt So b9 Terminal Monitor 2 Gel E ab amp s Group Imported Result 13 Result 15 Result 14 Eo Real Time Send dear Send _ E DTR _ RTS u Max Fi 7 00000000 AA 21 si f Fp dle p r de a Cap oy r j Sen gt Hex Char Plain Test Output Video http www youtube com watch Pv 0Zjdu_ HSr00 There are some tricks to improve the recognition rate Try to record and use it in the same environment And noise could greatly reduce the recognition rate MIC plays very important role As for the MIC wire connection to this module the shorter the better In this test recorded 5 voice instructions white red
8. orded 0x04 Group 3 is recorded Used group 12 n Group 1 and Group 2 are 0x03 Group 1 and Group 2 are recorded recorded 0x24 Query the recorded group Used group 13 n Group 1 and Group 3 are 0x05 Group 1 and Group 3 are recorded recorded Used group 23 n Group 2 and Group 3 are 0x06 Group 2 and Group 3 are recorded recorded Used group 123 n All the 3 groups are 0x07 All the 3 groups are recorded recorded ERROR n Instruction error OxeO Instruction error 0x31 Baud 2400 n Successful 2400bps ERROR n Instruction error 0x32 Baud 4800 n Successful 4800bps ERROR n Instruction error 0x33 Baud 9600 n Successful 9600bps ERROR n Instruction error 0x34 Baud 19200 n Successful Oxcc successful 19200bps ERROR n Instruction error OxeO Instruction error 0x35 Baud 38400 n Successful 38400bps ERROR n Instruction error Common Mode n Successful oe ERROR n Instruction error Compact Mode n Successful exe ERROR n Instruction error Ok n Successful Oxcc successful ERROR n Instruction error OxeO Instruction error Set O1 O5 to Pulse Mode 0x50 negative pulse Ok n S ave Set O1 05 to Flip Mode i v uccessfu xcc successfu ERROR n Instruction error OxeO Instruction error Set 01 05 to Down Mode Set 01 05 to Up Mode 0x60 Set the output duty of 01 05 in Pulse Mode 0x60 10ms 0x61 15ms 0x62 20Ms 0x63 25ms 0x
9. rain it by recording voice instructions Each voice instruction has the maximum length of 1300ms which ensures that most words can be recorded Once you start recording you can t stop the recording process until you finish all the 5 voice instructions recording of one group Also once you start recording the previous voice instructions in that group will be erased In training state this module doesn t reply to any other serial commands a LED will flash to indicate state Please refer to the LED part First you need a serial tool Here we use AccessPort Download page www elechouse com 1 Serial port setting e Baud rate 9600 e Parity bit None e Data bit 8 e Stop bit 1 e Send format Hex e Receive format Char General Custom Baud Rate V Enable Serial Port Settings Port COM7 Baud Rate Auto open port when application start _ Prompt for saving when application exit Remind me when update is available 2 Send commands se vo AccessPort COM7 9600 N 8 1 Opened gt Oe oo a oe oA a File Edit View Monitor Tools Operation Help i Terminal Hepe a START f Finish one START Again START Finish one START Again START Finish one Group finished Send gt Hex Char Plain Tet Real Time Send E DTR fg 00000000 AA 11 ii CALF Pe oe arapen Padeda Send 0xaa11 Receive in Common Mode www elechouse com
10. recording you can speak now No voice n no voice detected Again n Speak the voice instruction again Do not speak until getting the START message Too loud n Too loud to record Different n voice instruction confirming failed Voice for the second chance is different with the first one Finish one n recording one voice instruction successfully Group2 finished n finish recording group 2 ERROR n Instruction error START n Ready for recording you can speak now No voice n no voice detected Again n Speak the voice instruction again Do not speak until getting the START message Too loud n Too loud to record Different n voice instruction confirming failed Voice for the second chance is different with the first one Finish one n recording one voice instruction successfully Group3 finished n finish recording group 3 Group1 Imported n Successful ERROR n Instruction error Import failed n Importing voice group failed Group2 Imported n Successful ERROR n Instruction error Import failed n Importing voice group failed Group3 Imported n Successful ERROR n Instruction error Import failed n Importing voice group failed can speak now 0x41 no voice detected Ox42 Speak the voice instruction again Do not speak until getting the START message 0x43 Too loud to record 0x44 voice instruction confirming
11. uction is recorded each time after you power it on you need to import the group before letting it identify voice instructions LED Recording stage www elechouse com TY 1 Record indication D1 RED flashes 3 times within the 600ms then off for400ms and then flashes quickly for 4 times within 600ms Now the recording indication is over 2 Begin to speak D1 RED is off for 400ms and then is on Voice during the time while D1 RED is on will be recorded by this module 3 Recording a voice instruction successfully for the first time D1 RED off D2 ORANGE on for 300ms 4 Recording a voice instruction successfully for the first time D1 RED off D2 ORANGE on for 700ms 5 Recording failure D2 ORANGE flashes 4 times within the 600ms In cases that voice instructions detected twice don t match or the sound is too large or there is no sound recording will fail You need to start over the recording process for that instruction Waiting mode In waiting mode D2 ORANGE is off and D1 RED is on for 80ms every other 200ms fast flashing In this mode it doesn t recognize voice command only waiting for serial commands Recognition stage In identification stage D2 ORANGE is off and D1 RED is on for 100ms every other 1500ms slow flashing In this stage this module is processing received voice signal and if matching it will send the result immediately via serial port Before using it we have t
12. ut pin Down Mode The output will become LOW from HIGH once it detects voice command It will never come back to HIGH again until the module receives output reset command 0x41 0x46 Up Mode The output will become HIGH from LOW once it detects voice command It will never come back to LOW again until the module receives output reset command 0x41 0x46 There will be an example A Starting point while you import the voice group B The 1 time it recognizes voice command C The 2 time it recognizes voice command D The 3 time it recognizes voice command E The time while output reset command is received 0x41 0x46 The back wire is output wave shape www elechouse com gt U eee w M Pulse Mode o beed fp Sf Flip Mode _ SE Up Mode For the first time use we need to do some configuration Select the serial baud rate default 9600 Select the communication mode Common Mode or Compact Mode Recording five instructions of the first group or 2nd or 3rd as required A YN B Import the group you need to use only recognize 5 instructions within one group at the same time After all the setting above you can speak or send voice instruction to it If identified successfully result will be returned via serial port in the format group number command number For example return Result 11 Compact mode returns 0x11 means identified the first command of group 1 If voice instr
13. www elechouse com Voice Recognition Module V2 Speak to control Arduino Compatible 7 ah Poe we X Q5 90 28 O28 OIE mte ing HP W N 2 IOA T FUN ee ae cae gt ONO epee Fi us 1 3 OXL f m o OY f o ANS S Te fad vas tan aft Yim Pan l nnno 1 a Ge T v a et GED Cah rs tty ha eo gt o ow a e amp a e m sececenenl T eente ceuvevrrre Introduction The module could recognize your voice It receives configuration commands or responds through serial port interface With this module we can control the car or other electrical devices by voice This module can store up to 15 pieces of voice instruction Those 15 pieces are divided into 3 groups with 5 in each group First we should train the module with voice instructions group by group After that we should import one group before it could recognize the 5 voice instructions within that group If we need to implement instructions in other groups we should import the group first This module is speaker dependent If you trained the module your friend might not be able to make it work What s new in V2 We ve updated this module to V2 We made V2 easy to control Except only serial input or output of V1 V2 has other useful ways to control and output the result You could find a new GOPI row on V2 GCH and GCL are used to import the voice group And O1 05 are pins which output the result o
Download Pdf Manuals
Related Search
Related Contents
Guide d`Installation Wine Cabinet WINCAVE User Manual PANEL CONTROL DE EXTINCION SERIE PX2 libretto manutenzione caldaie ferroli divatop Origin Storage KB-KCP3T notebook spare part Table of Contents 7V型ワンセグポータブルナビ 販売開始のご案内 Audiovox MMD10 Warranty Card Valueline VLMB34500B20 Copyright © All rights reserved.
Failed to retrieve file