制造商零件编号 22727
XRP CONTROLLER
SparkFun Electronics
所订产品一般在 7-10个工作日 内送达中国,具体时间取决于收货地点。
最低订购金额为人民币 300 元,顺丰快递免运费配送。
当用人民币下单时,按照国际贸易条款 DDP(DigiKey 支付关税、海关费用和当地税款)方式结算。
电汇预付
更多来自全授权合作伙伴的产品
下单后,从合作伙伴发货平均需要时间 1-3 天,也可能产生额外运费。可能另外收取运费。 实际发货时间请留意产品详情页、购物车和结账页面上的说明。
国际贸易结算方式:CPT(交货时支付关税、海关费用和适用 VAT/应付税金)
有关详情,请访问帮助和支持
The XRP is a special pico-based board that comes with a kit that's great for beginners. I decided to use the XRP board to show you can use just the board to make cool stuff. With the help of my friend Travis, we've put together the XRP and the DFRobot voice recognition system. This system makes use of the voice recognition board to recognize voice commands to control the servo and the motors. For this setup, we focus mainly on controlling the servos and motors using voice commands, but I'll show you parts of the code that you need to edit if you wish to change up the commands.
I am using the Qwiic connection to the DFRobot voice recognition board.
Make sure you have the proper libraries installed, which I have uploaded. The two main ones are “neopixel_test” and “DFRobot_DF2301Q_convertedtoupy”.
Click here to download the code and library files for this project.
If you look at lines 55-90 in the “main” code, you’ll see the commands I have pre-programmed.
I set the Servo2 pin to work as an RGB LED pin. I can set the colors by using the wake word and saying, “Set to red” or “Set to Green”.
I can also control the motors by saying “Go Forward” or “Retreat.” I have Servo1 pin controlling a normal Servo, and I can have it move by saying “Open the door” or “Close the door”.
The “elif cmd_id ==” is how you set the voice commands.
These are some of the pre-prepared voice commands. You can change this in the code by changing the ID number that is related to the fixed command word.
This is a fun, quick build, and a great way to use voice commands and get them working in your project.
谢谢!
敬请关注收件箱中的 DigiKey 新闻与更新!
请输入电子邮件地址