Gravity: Offline Language Learning Voice Recognition Sensor
Info Site : https://wiki.dfrobot.com
It comes with 121 built-in fixed command words and supports the addition of 17 custom command words.
Command Words
Wake-up word
The wake-up word refers to the word that switches a product from standby mode to operational mode. It serves as the initial point of interaction between users and voice-enabled devices.
Learning wake-up word:
- Initiate the voice assistant by employing the default wake-up word, then utter "Learning wake word" Follow the prompts to learn the new wake-up word
(prior to each learning command, it is necessary to remove the previously learned wake-up word; kindly refer to the instructions for wake-up word and command phrase deletion) - Indication: Learning now, be quiet, please say the wake word to be learned!
- The designated wake-up word to be acquired (taking "hello, there" as an example): "hello, there"
- Indication: Learning successful, please say it again!
- The designated wake-up word to be acquired : "hello, there"
- Prompt: Learning successful, please say it again!
- The designated wake-up word to be acquired : "hello, there"
- Prompt: Ok, learning completed!
Once the learning process is accomplished, you will be able to utilize the phrase "hello, there" to awaken the voice assistant!
Fixed command words:
Fixed command words refers to the designated vocabulary used by users to issue specific instructions to voice interactive products, enabling effective communication with them.
Learning command words:
Use a wake-up word (default or learned) to wake up the voice assistant, and then say "Learning command word" to initiate the process of learning command phrases, following the provided prompts. Before each session of learning command phrases, it is necessary to delete the previously learned command phrases. Please refer to instructions on how to delete wake-up words and command phrases.
- Indication: Learning now, be quiet, please learn the command word according to the prompt! Please say the first command to be learned!
- Command phrase to be learned (using "Turn on red light" as an example): "Turn on red light"
- Indication: Learning successful, please say it again!
- Command phrase to be learned : "Turn on red light"
- Indication: Learning successful, please say it again!
- Command phrase to be learned : "Turn on red light"
- Indication: OK, learned the first command successfully! Please say the second command to be learned!
... (Continue learning)
Command phrase to exit learning mode: "Exit learning"
After the completion of the learning process, an ID will be automatically generated. Please refer to the subsequent document titled "Command Words/Wake-up Words & ID Table" By utilizing this unique ID, you can author programs to exercise control accordingly.
Delete Wake Words and Command Words:
Summon the voice assistant using the awakening word (default or customized), and articulate the phrase "I want to delete" Follow the prompts to eliminate the specified command phrase as instructed.
- Indication: Do you want to delete the learned wake word or command word?
- Delete command word: Remove the previously acquired command phrases.
- Delete wake word: Erase the learned awakening words from the system.
- Delete all: Eliminate the assimilated awakening utterances and command phrases from memory.
- Exit deleting.
Command Words/Wake-up Words & ID Table
| Wake-up words | ID |
|---|---|
| Wake-up words for learning | 1 |
| Hello robot | 2 |
| Commands for learning | ID | Commands for learning | ID | Commands for learning | ID |
|---|---|---|---|---|---|
| The first custom command | 5 | The second custom command | 6 | The third custom command | 7 |
| The fourth custom command | 8 | The fifth custom command | 9 | The sixth custom command | 10 |
| The seventh custom command | 11 | The eighth custom command | 12 | The ninth custom command | 13 |
| The tenth custom command | 14 | The eleventh custom command | 15 | The twelfth custom command | 16 |
| The thirteenth custom command | 17 | The fourteenth custom command | 18 | The fifteenth custom command | 19 |
| The sixteenth custom command | 20 | The seventeenth custom command | 21 |
| Fixed Command Words | ID | Fixed Command Words | ID | Fixed Command Words | ID |
|---|---|---|---|---|---|
| Go forward | 22 | Retreat | 23 | Park a car | 24 |
| Turn left ninety degrees | 25 | Turn left forty-five degrees | 26 | Turn left thirty degrees | 27 |
| Turn right forty-five degrees | 29 | Turn right thirty degrees | 30 | Shift down a gear | 31 |
| Line tracking mode | 32 | Light tracking mode | 33 | Bluetooth mode | 34 |
| Obstacle avoidance mode | 35 | Face recognition | 36 | Object tracking | 37 |
| Object recognition | 38 | Line tracking | 39 | Color recognition | 40 |
| Tag recognition | 41 | Object sorting | 42 | Qr code recognition | 43 |
| General settings | 44 | Clear screen | 45 | Learn once | 46 |
| Forget | 47 | Load model | 48 | Save model | 49 |
| Take photos and save them | 50 | Save and return | 51 | Display number zero | 52 |
| Display number one | 53 | Display number two | 54 | Display number three | 55 |
| Display number four | 56 | Display number five | 57 | Display number six | 58 |
| Display number seven | 59 | Display number eight | 60 | Display number nine | 61 |
| Display smiley face | 62 | Display crying face | 63 | Display heart | 64 |
| Turn off dot matrix | 65 | Read current posture | 66 | Read ambient light | 67 |
| Read compass | 68 | Read temperature | 69 | Read acceleration | 70 |
| Reading sound intensity | 71 | Calibrate electronic gyroscope | 72 | Turn on the camera | 73 |
| Turn off the camera | 74 | Turn on the fan | 75 | Turn off the fan | 76 |
| Turn fan speed to gear one | 77 | Turn fan speed to gear two | 78 | Turn fan speed to gear three | 79 |
| Start oscillating | 80 | Stop oscillating | 81 | Reset | 82 |
| Set servo to ten degrees | 83 | Set servo to thirty degrees | 84 | Set servo to forty-five degrees | 85 |
| Set servo to sixty degrees | 86 | Set servo to ninety degrees | 87 | Turn on the buzzer | 88 |
| Turn off the buzzer | 89 | Turn on the speaker | 90 | Turn off the speaker | 91 |
| Play music | 92 | Stop playing | 93 | The last track | 94 |
| The next track | 95 | Repeat this track | 96 | Volume up | 97 |
| Volume down | 98 | Change volume to maximum | 99 | Change volume to minimum | 100 |
| Change volume to medium | 101 | Play poem | 102 | Turn on the light | 103 |
| Turn off the light | 104 | Brighten the light | 105 | Dim the light | 106 |
| Adjust brightness to maximum | 107 | Adjust brightness to minimum | 108 | Increase color temperature | 109 |
| Decrease color temperature | 110 | Adjust color temperature to maximum | 111 | Adjust color temperature to minimum | 112 |
| Daylight mode | 113 | Moonlight mode | 114 | Color mode | 115 |
| Set to red | 116 | Set to orange | 117 | Set to yellow | 118 |
| Set to green | 119 | Set to cyan | 120 | Set to blue | 121 |
| Set to purple | 122 | Set to white | 123 | Turn on ac | 124 |
| Turn off ac | 125 | Increase temperature | 126 | Decrease temperature | 127 |
| Cool mode | 128 | Heat mode | 129 | Auto mode | 130 |
| Dry mode | 131 | Fan mode | 132 | Enable blowing up & down | 133 |
| Disable blowing up & down | 134 | Enable blowing right & left | 135 | Disable blowing right & left | 136 |
| Open the window | 137 | Close the window | 138 | Open curtain | 139 |
| Close curtain | 140 | Open the door | 141 | Close the door | 142 |
| Learning-related commands | ID | Learning-related commands | ID | Learning-related commands | ID |
|---|---|---|---|---|---|
| Learning wake word | 200 | Learning command word | 201 | Re-learn | 202 |
| Exit learning | 203 | I want to delete | 204 | Delete wake word | 205 |
| Delete command word | 206 | Exit deleting | 207 | Delete all | 208 |

redclip 님의 최근 댓글