This guide is written for hardware / firmware / app developers who want to build smart electric motorcycle products (including electric mopeds) on the Tuya Developer Platform.
Smart electric motorcycles share the same overall solution architecture as the existing "smart electric vehicle (e-bike)" reference. This document follows the same eight-step development trunk and weaves the motorcycle-specific differences (new GB national standard classification, license plate, BLE+X hardware architecture, dashboard ↔ app interaction) directly into each step, so you don’t have to jump between pages.

In China, "electric two-wheelers" are split into three classes by GB 17761-2024 (the new national standard) and the Safety Requirements for Electric Motorcycles and Electric Mopeds. Different classes have completely different compliance, registration, license, category and panel rules, so you must align on this before development.
| Class | Top speed | Legal nature | Driver license | License plate |
|---|---|---|---|---|
| Electric bicycle (e-bike) | ≤ 25 km/h | Non-motor vehicle | Not required | Small yellow plate |
| Electric moped | ≤ 50 km/h | Motor vehicle | Class F | Blue plate |
| Electric motorcycle | > 50 km/h | Motor vehicle | Class E / D | Large yellow plate |
The new standard introduces several hard requirements that have the biggest impact on development:
Key timeline:
- From 2025-09-01, all newly produced vehicles must comply with GB 17761-2024
- From 2025-12-01, vehicles that do not meet the new standard are banned from sale
If you are working on > 25 km/h vehicles (electric mopeds / motorcycles), follow the full flow below. If you are working on ≤ 25 km/h e-bikes, this guide still applies — just pay extra attention to the over-speed cut-off and anti-tamper DPs in Step 1 (feature definition).
Open the Tuya Developer Platform → Create Product → in the Standard Category navigation choose:
Outdoor Travel ➜ Travel ➜ Smart Electric Vehicle
Note: Smart electric motorcycles, mopeds and e-bikes currently share the same
Smart Electric Vehiclecategory. Choosing the wrong category directly affects the recommended DPs, panel selection and app integration logic later, so don’t change it casually after creation.
After the product is created the platform generates a PID (Product ID). All subsequent firmware / app / cloud integration is keyed on this PID.
Tuya abstracts hardware capabilities into DPs (Data Points), in three categories:
| Type | Defined by | Use case | Examples |
|---|---|---|---|
| Standard | Pre-built by Tuya | Common capabilities | Lock / unlock, battery, speed, location |
| Custom | You define | When standards are not enough | Proprietary BMS fields, custom riding modes |
| Advanced | Activated on the platform | Cross-device / cloud-side business | QR-code pairing, NFC card management, track recording, password management |
There are exactly six DP data types: Boolean (bool) / Value / Enum / Fault (bitmap) / String / RAW (raw transparent).
The table below lists the actual values from the Tuya platform’s "Smart Electric Vehicle / E-motorcycle" standard DP template. Use it as the minimum viable set when creating a new product — pick the corresponding DP IDs directly during development.
| DP ID | Function | Identifier (ID) | Type | R/W | Description |
|---|---|---|---|---|---|
| 1 | Anti-theft switch | blelock_switch |
bool | rw | BLE anti-theft arm / disarm switch |
| 2 | Start | start |
bool | rw | Vehicle start / power-on control |
| 3 | Battery percentage | battery_percentage |
value | ro | 0~100, remaining percentage of the main battery |
| 4 | GPS position | gps_position |
string | ro | Latitude/longitude string, see vehicle positioning protocol |
| 5 | Speed | speed |
value | ro | km/h, 0~250, recommended ≥ 1 Hz reporting |
| 6 | Single-trip time | ridetime_once |
value | ro | seconds, accumulated riding time since current power-on |
| 11 | Unit setting | unit_set |
enum | rw | km / mile, display unit on dashboard and in app |
| 12 | Total mileage | mileage_total |
value | ro | km, accumulated since power-on, persists across power loss |
| 13 | Estimated range | endurance_mileage |
value | ro | Predicted range computed dynamically from current battery |
| 14 | Single-trip mileage | mileage_once |
value | ro | km, accumulated since current power-on |
| 18 | Riding mode | level |
enum | rw | eco / normal / sport etc.; e-motorcycles usually have ≥ 3 modes |
| 19 | Find vehicle | search |
bool | rw | Triggered by the app to beep / flash for location |
| 24 | GPS signal | gps_signal_strength |
value | ro | GPS signal strength level |
| 25 | 4G signal | 4g_signal_strength |
value | ro | 4G signal strength level |
| 26 | Fault detection | fault_detection |
bool | rw | App-initiated whole-vehicle fault self-check |
| 27 | Status | status |
enum | ro | Vehicle state machine (idle / riding / charging / fault, etc.) |
| 29 | Power system | power_system |
fault | ro | Fault bitmap: motor / controller / speed limiter, etc. |
| 30 | Smart system | smart_system |
fault | ro | Fault bitmap: head-unit / communication / positioning, etc. |
| 31 | Electronic system | electronic_system |
fault | ro | Fault bitmap: dashboard / lights / horn, etc. |
| 32 | Lithium battery system | ithium_battery_system |
fault | ro | Fault bitmap: battery / BMS related |
| 45 | Geofence | geofence_switch |
bool | rw | Geofence switch, requires the geofence advanced feature on the platform |
| 58 | Battery #1 info | battery_info |
string | ro | Detailed main-battery fields (voltage / temperature / cycle count, etc.) |
| 60 | ICCID | iccid |
string | ro | ICCID of the 4G module’s SIM, used for positioning / billing / SIM platform integration |
Bitmap design example for fault DPs (fault type)
For an e-motorcycle, split faults into 4 sub-system fault DPs (power_system / smart_system / electronic_system / ithium_battery_system). Each DP encodes one class of fault source by bit (refine the layout against your real vehicle fault list):
power_system smart_system electronic_system ithium_battery_system
bit0 Motor over-temp bit0 4G link lost bit0 Dashboard comm. bit0 Battery low
bit1 Hall sensor bit1 BLE link lost bit1 Dashboard light bit1 Battery over-temp
bit2 Controller temp bit2 GPS lost lock bit2 Headlight bit2 Battery under-volt
bit3 Controller over-I bit3 Cloud auth fail bit3 Turn signal bit3 Battery over-volt
bit4 Speed limiter bit4 OTA interrupted bit4 Horn bit4 Cell delta alarm
bit5 Power under-volt ... ... bit5 BMS comm. error
... ...
Recommendation: always use the
faulttype + bitmap for fault DPs, do not create one bool DP per fault. Splitting by sub-system makes the app’s fault alarm classification clearer and easier to extend.
Whenever no exact match exists in the standard DP catalogue, add a custom DP. For example:
commute_voice_enableThe most commonly used advanced features for e-motorcycles:
The Smart Electric Vehicle / E-motorcycle category must use Tuya’s dedicated travel app, not the "Smart Life" app. Pick the version by sales region:
| Sales region | Control app | App store search keyword |
|---|---|---|
| Mainland China | Tuya Chuxing (涂鸦出行) | 涂鸦出行 |
| Overseas | Tuya Ride | Tuya Ride |
Important reminder: The development platform shows a default tip "Use SmartLife app to scan and try" — this is incorrect for the smart electric vehicle category. Pick the right app per sales region (Tuya Chuxing / Tuya Ride) when previewing and testing the panel.
Tuya Chuxing / Tuya Ride ships with a built-in "Travel E-Vehicle Stock Panel", which 90% of e-motorcycle customers can use out of the box without any customization. The screenshot below shows the actual home page (3D vehicle model + battery / range / speed / signal status + one-tap lock + shortcuts for riding mode / unlock method / lights / sound):

Capabilities covered by the stock panel:
Only consider applying for a custom panel if you have strong differentiation needs (custom BMS detail page, brand-specific 3D model, brand colors, etc.).
E-motorcycles are ridden at high speed, so looking at the phone while riding is itself a safety hazard. The intelligent design principle therefore differs from e-bikes:
Example: a rider receives a call mid-ride; the dashboard shows the caller info and the rider answers / hangs up using a handlebar button — the phone never leaves the pocket. This is the standard interaction model for smart e-motorcycles, almost never seen on e-bikes.


Tuya provides two hardware integration paths for e-motorcycles. Pick one based on your main control compute power and cost:
| Path | Main control | Module | Suitable for | Difficulty |
|---|---|---|---|---|
| MCU SDK | Your own MCU | Tuya BLE / 4G module | Mainstream, most common | Low |
| TuyaOS | Module runs the business logic | TuyaOS-compatible module | Plenty of resources, want cross-platform | Medium |
| Scenario | Recommended |
|---|---|
| Standard e-motorcycle, users mostly control via phone | BLE (Bluetooth Low Energy) |
| Commercial fleet / large vehicles | BLE + 4G dual-mode |
| Overseas / export models | BLE first, add 4G when needed |
BLE is the primary communication protocol for e-motorcycles for three reasons:
By "feature granularity" and "cost", e-motorcycle intelligence has three typical form factors. All three are built on the BLE+X Hardware Architecture below and can be upgraded smoothly:
| Form factor | Communication | Typical features | Use case | Installation |
|---|---|---|---|---|
| ① BLE anti-theft device | BLE only | One-tap start/stop, find vehicle, BLE proximity unlock, anti-theft alarm | Entry-level e-motorcycle, near-field experience only | Standalone module, single power rail |
| ② 4G smart head-unit | BLE + 4G + GPS | Remote positioning, remote control, seat lock, analog input/output | Mid/high-end e-motorcycle, fleet / operations | Standalone box, reusable across models |
| ③ 4G dashboard | BLE + 4G + GPS (integrated) | Full dashboard display + all remote capabilities, highest integration | Integrated whole-vehicle design, BOM reduction | Built into the dashboard, no extra parts |
Selection advice: pure C-end entry-level → ①; operations / fleet / high-end whole vehicle → ②; new model with a planned dashboard refresh → ③.
The BLE+X architecture uses the Bluetooth module (BLE) as the system hub. UART links the BLE module to the vehicle MCU and the 4G (CAT.1) module: BLE handles near-field control, low-power keep-alive and power management; 4G provides remote capabilities; the MCU runs the vehicle business logic. The standalone GPS module is recommended to hang directly on the MCU UART, with the MCU parsing NMEA data and reporting on demand.
┌──────────────┐
┌──UART──┤ 4G CAT.1 mod │── ✈ Cloud
│ └──────────────┘
┌─────┴────┐
│ BLE mod │── 📱 BLE direct ── Tuya Chuxing / Tuya Ride
│ (BF6H-M) │
│ System hub │
│ + Power mgmt│
└─────┬────┘
│ UART
│
┌─────┴────┐ ┌──────────────┐
│ MCU │── UART──┤ Standalone GPS │── Satellites
│ Vehicle │ │ GB600/610 etc. │
│ business │ └──────────────┘
└──────────┘
Routing GPS through the MCU has three benefits: ① BLE module IO is freed up to focus on communication; ② the vehicle business logic gets raw positioning locally, making track filtering and geofence checks more efficient; ③ GPS power-on timing aligns naturally with the vehicle ignition / start state machine.
| Pin (silkscreen) | IO | Direction | Function |
|---|---|---|---|
TXD0 / RXD0 |
PD7 / PD6 | OUT / IN | UART to the 4G module |
TXD1 / RXD1 |
PA3 / PA2 | OUT / IN | UART to the MCU |
PWM1 |
PA7 | IN | Cellular → BLE wake (active low ≥ 60 ms) |
PWM0 |
PA6 | IN | Cellular presence detection (active low, used across PCBs) |
PWM5 |
PA5 | OUT | BLE → 4G module power control (high = power on) |
PWM4 |
PA4 | OUT | Reserved peripheral power control (high = power on), pick per design |
PA1 |
PA1 | OUT | BLE → MCU wake (high ≥ 20 ms before sending data) |
PA0 |
PA0 | IN | MCU → BLE wake (high ≥ 50 ms before sending data) |
Vehicle sleep / wake: the BLE acts as the system power manager. In standby it actively powers down the 4G module to save energy. When a remote command arrives, the 4G module wakes BLE through PWM1, then BLE wakes the MCU. GPS power is managed by the MCU and follows the vehicle ignition / start state machine.
The UART between the BLE module (3.3 V) and the 4G module (1.8 V) must go through level translation to avoid port damage or unstable communication. Two recommended approaches:
| Approach | Components | Strengths | Suitable for |
|---|---|---|---|
| Bidirectional level translator IC | TXS010X / SN74LVC family | Few parts, strong noise immunity, automatic bidirectional | First choice for mass production |
| Discrete NPN inverter | S8050 + pull-up resistors (10 kΩ + 1 kΩ) | Lowest cost | Minimalist / low-cost backup |
The recommended approach is to hang the standalone GPS module directly on the vehicle MCU’s UART. The MCU parses the NMEA messages and reports positioning, speed and satellite count as DPs on demand. This frees up the BLE UART resource and lets the MCU control the GPS power-on timing freely.
| Recommended GPS module | Vendor | Band | Use case |
|---|---|---|---|
GB600 |
Tuya | L1 single-band (GPS / BDS / Galileo / QZSS / GLONASS five-system multi-mode) | First choice for entry-level / cost-driven mass production. Beken BK1661 SoC, small form, low power |
GB610 |
Tuya | L1 + L5 dual-band (multi-mode multi-frequency joint positioning, including BDS B2A/B2B/B2I, Galileo E5A, etc.) | High-precision scenarios. Beken BK1662 SoC, 120 tracking channels, cold start ≈ 28 s, tracking sensitivity −165 dBm |
Both modules are documented at Tuya Developer Center · GNSS Modules with full datasheets and sample code. For new designs, default to
GB600; switch toGB610only when positioning accuracy is critical (fleet, dense urban areas with high-rise occlusion, etc.).
Wiring tips:
The following modules have been validated in e-motorcycle scenarios and can be picked directly. All datasheets and SDK documentation are searchable at the Tuya Developer Center:
| Model | Sales region | Bands | Size | Resources |
|---|---|---|---|---|
L511C-Y6E |
China | LTE FDD B1/3/5/8, TDD B34/38/39/40/41 | 17.7×15.8×2.3 mm | datasheet · MCU SDK |
L511E-Y6E |
Europe / SEA / Africa / Oceania / Middle East / HK MO TW | LTE FDD B1/3/5/7/8/20/28, TDD B38/40/41 | same as above | same L511 family |
L511A |
North America | LTE FDD B2/4/5/12/13/14*/66/71 | same as above | same L511 family |
MG661-LA-19 |
Latin America | LTE FDD B2/3/4/5/7/8/28/66 | — | — |
| Model | Sales region | Band | Size | Resources |
|---|---|---|---|---|
BF6H-M |
Global | 2.4 GHz ISM band | 19×15.5×2.5 mm | datasheet · MCU SDK |
Pick the 4G module by sales region, and use
BF6H-Mfor BLE everywhere. Other 4G modules (NL668-AM/MC665-EU/MA510-GL, etc.) have been integrated as well, but they exist as compatibility options for legacy stock or special customer demand. New designs should default to the L511 family.
Workflow:
Your MCU Tuya BLE module Phone app / Cloud
┌──────────────┐ UART ┌──────────────┐ BLE/4G ┌────────────────────┐
│ Vehicle │<----->│ Tuya standard │<------> │ Tuya Chuxing / │
│ business + │ TX/RX │ protocol │ │ Tuya Ride │
│ MCU SDK │ │ (Tuya generic │ │ + Tuya Cloud │
└──────────────┘ │ integration) │ └────────────────────┘
└──────────────┘
What MCU SDK does for you:
You only need to implement two callbacks:
dp_download_handle() — control DPs sent down by the app (e.g. lock vehicle)dp_report() — report current state DPs (e.g. speed, battery)The module itself runs the TuyaOS kernel, and the vehicle MCU integrates through a simple interface. The advantage is that the same business code can be reused across different chip platforms and protocols (BLE / cellular). The downside is that you need to pick a module that supports TuyaOS.
When to use TuyaOS:
In the developer platform’s "Product Configuration" page, enable / configure the following items as needed:
| Configuration item | E-motorcycle focus |
|---|---|
| Firmware upgrade | Enable for both BLE and 4G; prefer pushing large versions during charging to save user data |
| Multi-language | Mandatory: zh-CN and English are the baseline; for export add Spanish / Portuguese / Vietnamese / Indonesian |
| Pairing info | Choose BLE pairing; the 4G variant needs no pairing |
| Device push notifications | Anti-theft alarms, low battery, over-speed, geofence breaches all go through the push channel |
| Scene linkage | Rarely used on e-motorcycles, skip for now |
| Quick switches | Place high-frequency operations like one-tap lock and find vehicle on the app home page |
| Product manual | Use the platform’s electronic manual to save print costs |
E-motorcycles have no Wi-Fi, so the only pairing channel is Bluetooth. Tuya recommends two BLE pairing methods — pick one or run both based on your production workflow and target users:
| Approach | Trigger | User action | Use case |
|---|---|---|---|
| A · BLE trigger pairing | The user performs a physical action on the vehicle (e.g. press anti-theft button for 5 s, ignite 3 times in a row) to enter discoverable advertising | Discover automatically on the app’s "Add device" page | Entry-level, anti-theft form factor, factories that don’t want extra printing steps |
| B · BLE QR-code pairing | A unique QR code (containing PID + MAC + one-time binding token) is pre-printed on the vehicle / packaging | "Scan" inside the app for one-tap binding | Mid/high-end whole vehicle, 4G dashboard / smart head-unit, premium unboxing experience |
| Dimension | A · Trigger pairing | B · QR-code pairing |
|---|---|---|
| User experience | Average: requires reading the manual to learn the trigger action | Smooth: scan to bind, near-zero learning cost |
| Mis-binding prevention | Weak: multiple nearby vehicles broadcast the same name, user must distinguish | Strong: QR code carries unique MAC + token, 1:1 lock |
| Production process | Simple: no need to generate / print per-device codes | Complex: production line must generate, print and apply per-device codes |
| After-sales replacement | None | Lost QR code requires customer-service replacement / re-trigger |
| Platform dependency | Standard BLE pairing, supported by all BLE-version devices by default | Requires the "QR-code pairing" advanced feature to be enabled in product configuration |
| Recommended pairing | Entry-level e-motorcycle / BLE anti-theft form factor | 4G smart head-unit / 4G dashboard whole vehicle |
Recommendation: prefer option B for high-end / whole-vehicle shipments, and keep option A as a fallback when needed (e.g. the QR code is lost or damaged).
| Trigger | Push content |
|---|---|
| Vibration ≥ threshold detected while parked | "Your scooter Pedal-26B has detected unusual vibration" |
| Battery ≤ 20% | "Battery is low, please charge soon" |
| Outside the geofence | "Your vehicle has left the usual area" |
| OTA complete | "New firmware is ready; please restart the vehicle to apply" |
Once the firmware is ready, you need to flash it together with the authorization code to the device, otherwise it cannot connect to the cloud.
📘 Official documentation entry: full schemes, flashing-tool downloads, per-module (BLE / 4G) pin wiring and production-test flows are at the Tuya Developer Center → Flashing & Authorization (official docs).
Tuya groups flashing & authorization into three categories by chip type / production system:
| Official scheme | Suitable for | Description |
|---|---|---|
| Flashing & authorization combined | Tuya standard modules | ① Tuya flashes them for you and ships directly; ② or you use Tuya’s "cloud-module flashing & authorization" tool yourself |
| Flashing & authorization split | Debug stage / non-Tuya-standard modules | Authorization only; firmware is flashed with the chip vendor’s tool |
| Production-test integration | Customers with a complete production system | Integrate with your own production line via Tuya’s standard interfaces and complete flashing + authorization in-house |
For detailed scheme selection and the production-test interface spec, see the official documentation above.
In e-motorcycle mass production, the following four practical methods are common (each maps back to one of the official schemes above):
| Method | Suitable for | Maps to official scheme | Notes |
|---|---|---|---|
| Online flashing | Prototype stage | Flashing & authorization combined | Device authorized directly via the Tuya cloud |
| Offline flashing | Factory mass production | Flashing & authorization combined | Authorization package is pushed in advance |
| Whole-vehicle authorization | Once at the end-of-line vehicle test | Flashing & authorization split / Production-test integration | Recommended, merge with the EOL station |
| MCU self-flashing | The MCU runs the authorization flow itself | Production-test integration | MCU SDK path only |
A test report is mandatory before release. Pick one of three paths:
E-motorcycle testing has extra focus areas:
Once the test report passes, click "Release" on the developer platform. After release the PID becomes usable for mass-production authorization.
| Certification | China | Overseas (typical) |
|---|---|---|
| Whole vehicle | CCC (GB 17761-2024) | E-mark / EEC / DOT |
| BLE module | SRRC | FCC / CE-RED / KC / TELEC |
| 4G module | CTA + SRRC | FCC / CE-RED / GCF |
| Battery | GB 31241 | UN38.3, IEC 62133 |
Reminder: CCC must be issued under the new GB 17761-2024 standard. Old-standard certificates expire after 2025-12-01.
| Dimension | E-bike | E-motorcycle |
|---|---|---|
| Top speed | ≤ 25 km/h (mandatory cut-off) | 50 / unlimited |
| Main control compute | Modest | Mid/high, dashboard SoC class |
| Dashboard | Mostly segment LCD | TFT color screen, capable of interaction |
| Rider’s line of sight | Low speed allows looking at phone | High speed prohibits relying on the phone |
| Pairing protocol | BLE | BLE primary, 4G optional |
| Anti-tamper | Three-piece (mandatory) | Whole-vehicle level |
| Typical DP count | 30–50 | 50–100 |
| Price range | RMB 1,500 – 5,000 | RMB 8,000 – 50,000 |
| Smart-tech headroom | Limited | Large (navigation, ADAS, calls, screen mirroring) |
Q1: A customer offers both e-bike and e-motorcycle models. How many PIDs should we create?
A: At least two. E-bike and e-motorcycle differ heavily in DPs, panel layout, and new-standard compliance — bundling them into one PID makes long-term maintenance painful.
Q2: Which hardware form factor should we choose (BLE anti-theft / 4G smart head-unit / 4G dashboard)?
A: Pure C-end entry-level, cost-sensitive, near-field control + anti-theft only → BLE anti-theft device; operations / fleet, remote positioning + remote control needed → 4G smart head-unit (a standalone box reusable across models); new model with a dashboard refresh in the plan → 4G dashboard (highest integration, no extra parts on the vehicle). All three sit on the same BLE+X architecture and can be upgraded smoothly — see Hardware Form-Factor Options and BLE+X Hardware Architecture.
Q3: Should an e-motorcycle add a voice assistant?
A: First nail the dashboard display and handlebar button interaction, then consider voice. Wind noise and helmet usage during riding hurt recognition rate significantly — voice is a nice-to-have, not a must-have.
Q4: Which app do we use for overseas models?
A: Use Tuya Ride (the overseas counterpart of "Tuya Chuxing"). Same panel capability, just pick the right app per sales region. Overseas dev focus: i18n, regional compliance (GDPR / CCPA), 4G band fitting.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback