ASR-PRO Voice Recognition Module: Tianwen Block Setup, the China Phone Number Step, Relay and Servo

Cartoon of a black ASR-PRO voice recognition board hearing sound waves and driving a blue SG90 servo and a red relay module

Quick answer: The ASR-PRO is an offline voice board that runs on its own: built-in microphone, USB-C, no Arduino needed. No speaker is included (it only matters for spoken replies). You program it with Tianwen Block (天问Block), a Windows-only tool in Chinese.

  1. Solder the two 8-pin headers with the long pins facing up.
  2. Install Tianwen Block, choose board ASRPRO, set compile mode to 2M and plug in a USB-C data cable. Unless Windows is already in Simplified Chinese, set the system locale to Chinese (Simplified) first.
  3. Open the example 语音控制单继电器, set its pin to PA_3 and press 2M编译下载 (compile and download). No account needed.
  4. Your own wake word needs 生成模型 (generate model) and a verified account, but the phone check takes mainland China numbers only. Register without a phone number, then email [email protected] your username, order screenshot and board photo to be whitelisted (the vendor’s route for overseas users).
  5. Relay IN to PA3 with the relay jumper on H, servo signal to PA2, both powered from the 5V pin.

What is on the ASR-PRO board

The ASR-PRO voice recognition module hears a phrase, recognises it and switches its own pins, so no Arduino sits behind it. One customer asked us “has a build in microphone? how to use this asr pro”. Yes: the round silver can marked MIC is the microphone. The white SPK socket is for a speaker, which is not in the bag.

A CH340K chip beside the USB-C socket handles programming, so one data cable is the whole programmer. Chip side up with the USB-C socket towards you, the pins read top to bottom:

Left row What it is Right row What it is
PA6 Free signal pin SPK+ Speaker output, same as the SPK socket
PA5 Free signal pin. The optional LED in this guide SPK- Speaker output. Not a ground
PA3 The relay in this guide. It powers up as an input pulled low, so a relay on it stays off while the chip boots PC4 Analog pin by default. Leave free
PA2 The servo in this guide. Also pulled low at power-up PA1 Crystal pin at power-up. Leave free
PB6 Serial port used by the USB download. Leave free PA0 Crystal pin at power-up. The vendor’s relay example uses it. This guide moves the relay to PA3
PB5 Serial port used by the USB download. Leave free 3V3 3.3 V output
5V 5 V from the USB port, out to the relay and servo GND Ground
GND Ground PA4 Read at power-up to choose programming mode. Leave free

Every signal pin works at 3.3 V, which sets the relay jumper in Step 5.

Parts you need

Parts list

ItemPriceQty
8 Ohm 0.5W Mini Speaker Small Round Audio Speaker for Arduino DIY Projects Electronic Components Sound Module8 Ohm 0.5W Mini Speaker Small Round Audio Speaker for Arduino DIY Projects Electronic Components Sound Module0805SPERM1.95Out of stock
Round Head LED 3mm / 5mm / 8mm - Red/Yellow/Blue/Green/White - 5mm LED (RED)Round Head LED 3mm / 5mm / 8mm - Red/Yellow/Blue/Green/White - 5mm LED (RED)5REDLEDRM0.10
400 pcs 1/4W Resistor Pack Resistor Kit 20 Common Value with 20 each400 pcs 1/4W Resistor Pack Resistor Kit 20 Common Value with 20 each400RPACRM7.95

Speaker for spoken replies (solder two wires to its tabs and keep the volume low: it is a 0.5 W unit). Red LED and resistor pack if you want a light before you try the relay.

The ASR-PRO comes in two versions:

Version What arrives What you do
ASR-PRO, unsoldered The board plus two loose 8-pin header strips. No extra header is needed (a spare strip only if one goes missing) Solder 16 joints (Step 1). No iron? Message us before you order about our soldering service
ASR-PRO, soldered The same board with the pins already fitted, pointing down Skip Step 1. Female jumper ends push onto the pins from below

Step 1: Solder the two headers, pins facing up

The ASR-PRO’s two pin rows are too far apart to straddle a breadboard. A breadboard’s outer columns, a and j, are 11 hole steps apart (11 x 2.54 mm = 27.94 mm). This board’s rows are 12 steps apart, about 30.5 mm. Check before you solder: hold the bare board over the breadboard and the second row lands past column j.

Push each strip’s short pins through the holes from the chip side, tape it, turn the board over and solder the eight short ends on the back (see our header soldering guide). The board then lies flat, and female jumper ends push onto the long pins.

Cartoon of a black ASR-PRO voice board lying flat with two rows of header pins pointing up and three jumper wires pushed onto the pins
Headers soldered with the long pins facing up. The board lies flat and female jumper ends push onto the pins.

Step 2: Install Tianwen Block (天问Block) on Windows

Tianwen Block is the vendor’s free programming tool for the ASR-PRO. It runs on Windows 7 or later only, so with a Mac or Chromebook, borrow a Windows PC (a school lab or a friend’s laptop).

The installer is over 1 GB, on servers in China. A customer’s download showed 14 days, and they asked for a Google Drive copy. We do not host one. Two official pages offer it: the main site (choose 渠道一 官网下载) and the docs centre. At 1 MB/s a gigabyte takes about 17 minutes, so a days-long estimate means a stalled transfer. Cancel, try the other page and use a download manager that can resume.

Setup step What to do Why
1. Install Run the installer and let it add the CH340 driver The board’s USB chip is a CH340K
2. Board On first start the software asks 选择主板 (choose board). Pick ASRPRO Each board type has its own blocks and compiler
3. Compile mode 更多 (more) > 设置 (settings) > 编译模式 (compile mode): choose 2M The chip on our board is printed ASRPRO 2M. It has 2 MB of flash, and the download must be built for that size
4. Connect Plug the board straight into the PC with a USB-C data cable, no hub (our cable guide shows how to tell one from a charge-only cable). The port box at the top right changes from 未连接 (not connected) to COMxx-CH340K. If it does not, click it and choose 一键安装驱动 (one-click driver install) A charge-only cable has no data wires, so no port can appear
5. Any Windows not in Simplified Chinese Control Panel > Region > Administrative > Change system locale: choose Chinese (Simplified, China), then restart. It only changes how older non-Unicode programs show text, and you can switch back when you stop using Tianwen Block The compiler is a non-Unicode program that writes Chinese text. Under another locale Windows decodes that text with the wrong character table, the output turns to garbage and the build fails (vendor FAQ)

The buttons you will meet:

Chinese label Meaning What it does
选择主板, later 设备 Choose board, device Sets the board type. It must say ASRPRO
配置模式 Config mode Fill-in rows: a phrase, a pin, a level. Enough for a relay or LED
编程模式 Programming mode Free blocks. Needed for the servo
范例代码 Example programs Ready projects. If your build has no such button, look in 项目中心 (project centre) under 官方例程 (official examples)
生成模型 Generate model Builds the voice model on the vendor’s server. Needs a verified account
2M编译下载 Compile and download Builds the program and flashes the board
更多 More Holds 设置 (settings), 实名认证 (real-name verification), 原理图 (schematic) and the manuals
登录, 注册 Log in, register The vendor account
确定, 取消 OK, cancel In every pop-up box

Step 3: Flash a ready example, no account needed

The ASR-PRO examples inside Tianwen Block already carry a generated voice model, so they flash without a login. Start with nothing wired to the board.

  1. Switch to 配置模式, open 范例代码 and pick 语音控制单继电器 (voice-controlled single relay).
  2. A box asks 是否导入并覆盖模型文件 (import and overwrite the model files). Click 确定: this loads the ready-made model.
  3. The example switches PA_0. Change it to PA_3 (the pin table says why) in three dropdowns: the first row of the pin list (keep 输出低电平, output low, so the relay starts off) and the two command rows.
  4. Press 2M编译下载. No button to hold: the board power-cycles itself.

If Tianwen Block then asks for a new model, reopen the example untouched and wire the relay’s IN to PA0, as the vendor’s diagram does.

Then wire the relay (Step 5) and say the example’s phrases:

Say Pinyin Meaning What happens
天问五幺 tian wen wu yao The wake word The board starts listening. With a speaker it answers 我在呢 (I’m here)
打开继电器 da kai ji dian qi Relay on PA3 goes high. The relay clicks and its LED1 lights
关闭继电器 guan bi ji dian qi Relay off PA3 goes low. The relay releases

Tianwen Block asks for a China phone number. What now?

Tianwen Block builds two things for the ASR-PRO, in two places. The pin logic compiles on your PC. The voice model does not. The chip matches what it hears against a model, a data file made for your exact phrases. That file, plus the audio of every spoken reply, is generated on the vendor’s server from the text you typed. So 生成模型 needs internet, a login and a verified account.

An example flashes with no account because its model is already made. Change one word and you need a new model. Change only a pin and, per the vendor, no new model is needed, so you skip 生成模型 and the login.

Cartoon diagram of a laptop with programming blocks and a cloud with a padlock, each sending an arrow to a black ASR-PRO voice board
The pin logic compiles on your PC. The voice model is built on the vendor’s server, behind the login. Both end up on the board.

The vendor’s manual says the phone check supports mainland China only and other regions should contact them. The server voices your typed replies, and China’s text-to-speech rules require a real-identity check by mainland phone number or Chinese ID. A customer of ours got stuck exactly there. Vendor staff give this route for overseas users:

  1. Register on the official site (注册, top right): username, password, picture code. Leave the phone field empty.
  2. Email [email protected] your username, a screenshot of your order details and a photo of your board. Without both attachments the request is not approved.
  3. Once they confirm, turn off any VPN, log in (登录) in Tianwen Block and press 生成模型.

Email text to paste:

您好,我是马来西亚的用户,没有中国大陆手机号,无法完成实名认证。请将我的账号加入海外用户白名单。天问Block用户名:(your username)。附件:购买订单截图、开发板实物照片。谢谢!

It says you are in Malaysia with no mainland number and asks for the overseas whitelist. Approval is the vendor’s decision. A maker in Japan also writes that the vendor adds overseas accounts to the whitelist on request.

Step 4: Set your own wake word and commands

With a whitelisted account the ASR-PRO takes any phrases you type, inside the vendor’s rules:

Vendor rule What it means for you
The language follows the reply voice (播报音设置) Pick an English voice and every phrase and reply must be English, with no Chinese characters. One project cannot mix the two
English phrases: 2 to 4 words, 4 to 6 syllables OPEN THE COVER is three words and five syllables (o-pen-the-co-ver). A short phrase has few sounds to match, so ordinary talk sets it off by accident
No everyday words, no doubled words Not HI or HELLO: people say them all day
No near-twins TURN ON and TURN OFF differ by one sound, so one misheard sound runs the opposite command. Use SWITCH ON THE LAMP and POWER DOWN THE LAMP
Each phrase gets its own ID number The wake word and every command need different IDs

For the relay alone, stay in 配置模式: retype the phrases in the relay example’s rows, press 生成模型 (1 to 3 minutes per the manual), then 2M编译下载. The servo needs 编程模式 and the blocks of the vendor’s servo example. The English phrases below are examples only.

Block (Chinese label) Meaning Set it to
Inside 上电初始化 (runs once at power-up; older builds call it 初始化)
播报音设置, 音量, 语速 Reply voice, volume, speed An English voice
添加欢迎词 Line spoken at power-up VOICE CONTROL READY
添加退出语音 Line spoken when it stops listening GOING TO SLEEP
添加识别词, 类型 唤醒词, 回复语音, 识别标识ID Add phrase, type wake word, spoken reply, ID MAKER ROBOT, reply I AM HERE, ID 0
添加识别词, 类型 命令词 Add phrase, type command (one block per command) OPEN THE COVER, ID 1. CLOSE IT AGAIN, ID 2
设置引脚 PA_2 模式 输出 Set pin PA_2 as an output PA_2, 输出
设置引脚 PA_2 复用功能为 Choose which of the pin’s functions is active FIRST_FUNCTION (plain input/output pin)
Inside ASR_CODE (runs every time a phrase is recognised)
switch 语音识别ID Branch on the ID of the phrase just heard One case per command
case 1: 设置舵机 PA_2 角度为 (0~180°) Set the servo on PA_2 to an angle (under 扩展, extensions; if 舵机, servo, is not listed there, add it with the 添加扩展 button) 90
case 2: 设置舵机 PA_2 角度为 (0~180°) The same block again 0
Relay in this mode Repeat the two pin-setup blocks for PA_3, then use the 写引脚 (write pin) block on PA_3 inside a case High for on, low for off

Any later change to a phrase or reply means 生成模型 again. Save with the menu entry ending in (含模型), “with model”, and the project reopens ready to flash.

Step 5: Wire the relay and the SG90 servo

Unplug USB first. The ASR-PRO has one 5V pin, and the relay module and the SG90 servo both need 5 V, so the breadboard’s rails share it out. Only thin signal wires run from PA3 and PA2: pins give the order; the rail carries the current.

From To Jumper Why
ASR-PRO 5V Breadboard + rail (red line) Male-to-female, female end on the board pin The one 5 V source, shared by relay and servo
ASR-PRO GND Breadboard – rail (blue line) Male-to-female Common return for power and for both signals
+ rail Relay DC+ Male-to-male, pin clamped under the screw Coil power: 5 V ÷ 70 Ω ≈ 71 mA (Songle datasheet)
– rail Relay DC- Male-to-male, under the screw Coil return
ASR-PRO PA3 Relay IN Male-to-female, male end under the screw Signal only: about (3.3 − 1.2) V ÷ 1 kΩ ≈ 2 mA into the module’s optocoupler LED. Set the module’s L/H jumper to H first (below)
Relay COM and NO (load side) Your low-voltage DC load: cut one of its wires and land the two ends in COM and NO Bare wire under the screws NO closes only while the coil is powered, so the load starts off and drops out if the board loses power. Leave it empty for the first test: the click and LED1 show it works
+ rail Servo red Male-to-male, pushed into the servo’s socket Motor power: 100 to 250 mA while moving (figures in our SG90 guide)
– rail Servo brown Male-to-male Motor return
ASR-PRO PA2 Servo orange Male-to-female, male end in the servo’s socket A timing pulse only, almost no current. A flag of masking tape on the shaft makes the movement easy to see
ASR-PRO PA5 (optional) 220 Ω resistor (from the resistor pack), then the red LED‘s long leg. Short leg to the – rail Male-to-female into the breadboard About (3.3 − 1.9) V ÷ 220 Ω ≈ 6 mA (see why an LED needs a resistor). To switch this LED with the relay example’s phrases, choose PA_5 in Step 3
ASR-PRO SPK+ and SPK- (optional) The two pads of the 8 ohm speaker Cut two male-to-female jumpers in half. Solder the cut ends of the female halves to the pads, then push the female ends onto the two pins Both pins are amplifier outputs that swing in opposite directions, so never join either one to GND: that shorts an output the amplifier is driving. The vendor recommends an 8 ohm 2 W speaker. Ours is rated 0.5 W, a quarter of that, so keep the volume setting (音量) low or the amplifier can overdrive it

Set the relay’s jumper to H. On H the optocoupler LED sits between IN and DC-, so 3.3 V turns it on and 0 V turns it off. On L the same LED hangs from DC+ (5 V) and only goes dark when IN climbs to within about 1.5 V of that, which is 3.5 V (traced schematic). A 3.3 V pin never gets there, so on L the relay pulls in at power-up and never lets go.

  • Power everything from the USB-C port. Never feed a battery pack into the 5V pin: four AA cells give 6 V, and the chip’s supply range ends at 5.5 V.
  • Keep the relay’s load to low-voltage DC, such as a 12 V lamp or pump. 230 V mains wiring is licensed work in Malaysia (see our relay safety guide).

ASR-PRO or ZK-VR01?

The ASR-PRO and the ZK-VR01 are both offline voice boards, built on opposite ideas.

ASR-PRO ZK-VR01
Phrases Your own, typed in Chinese or English Fixed in the firmware (over 50)
PC software Tianwen Block on Windows, plus a whitelisted account for your own phrases None
Who acts on a command The board itself: its pins drive a relay, LED or servo An Arduino Uno that reads its serial pad or its eight command pads
Speaker Not included In the bag
Connection USB-C, two 8-pin headers to solder Bare pads to solder

Pick the ZK-VR01 if you already run an Uno and fixed phrases are enough: our ZK-VR01 relay guide builds it. Pick the ASR-PRO when the phrases must be yours.

If it does not work

Unplug every jumper from the ASR-PRO first: that is the vendor’s own first fix.

Symptom Cause Fix
Port box stays on 未连接 Charge-only cable, a hub in between, or no driver Use a data cable straight into the PC. Click the port box and choose 一键安装驱动
Download fails or waits forever The vendor’s first suspects: parts wired to the header, the cable, the USB port. The board power-cycles itself to take each download, and a relay or servo on its pins or 5 V line can upset that restart Unplug every jumper, change the cable, try another USB port with no hub
Error 121 Wrong COM port chosen Pick the one ending in CH340K
Error 31 USB lead too long, so the data is unstable Remove any extension lead
Error 5 Another program holds the port Close any serial monitor (Arduino IDE, PuTTY), unplug the board, plug it back in and download again
Garbled text when compiling, then it fails Windows is not on the Chinese (Simplified) locale Step 2, row 5
Compile does nothing, or says makebin is missing Antivirus removed a compiler file The vendor’s fix: add the 天问Block folder to your antivirus exclusions, then restore the file with the makebin download on the vendor’s download FAQ. Install only from the official site
Compile fails with no internet The ASR-PRO compile needs a connection Join Wi-Fi or a phone hotspot
生成模型 asks for 实名认证 The account is not verified The whitelist route above
Relay switches on at power-up and stays on Jumper on L Move it to H
Board restarts or its COM port vanishes when the servo moves The motor’s start-up current pulls the USB 5 V down Give the servo its own 4.8 to 6 V supply with the grounds joined (the servo reads PA2’s pulse against ground, so both need the same one), as in our SG90 guide. Never wire that supply to the board’s 5V pin
No reaction to the wake word at all Room noise, distance, or the phrase said differently from how it was typed Try a quiet room, face the MIC can from close by and say the phrase at a normal pace, exactly as typed
Wake word worked, a later command is ignored The board stops listening after its wake time (15 seconds by default in the vendor’s manual) Say the wake word again
It reacts but says nothing No speaker fitted Add one. Replies are optional

FAQ

Does the ASR-PRO have a built-in microphone?

Yes, the microphone is soldered on the board. A speaker is not included, and you only need one to hear replies.

Do I need an Arduino to use the ASR-PRO?

No. The ASR-PRO runs its own program and drives a relay, LED or servo itself. You program it in Tianwen Block, not the Arduino IDE. To add an Arduino, the vendor’s manual links the two over serial, using UART1 or UART2 (UART0 is kept for downloads). On this board UART1 is PA2 and PA3, the servo and relay pins in this build, so use UART2 on PA5 (TX) and PA6 (RX) and leave out the optional LED. These pins are 3.3 V. For a 5 V Uno the manual sets the ASR-PRO’s TX to open-drain with a pull-up to 5 V, and the Uno’s 5 V TX should reach PA6 through a divider (1k in series, 2k to GND).

Can the ASR-PRO understand Bahasa Malaysia?

Typed phrases are Chinese or English only. For Bahasa Malaysia, the vendor’s self-learning example records a wake word and commands from your own voice (the manual describes it for dialects). Its prompts are spoken in Chinese, so fit a speaker.

Last updated December 2026. Stuck? Chat with us on WhatsApp.

Leave a Reply

Your email address will not be published. Required fields are marked *