---
title: Wiring Maytech Hub Motors to Flier Twin ESC
date: 2017-02-13T11:05:49+00:00
modified: 2017-02-13T11:07:12+00:00
permalink: https://kaspars.net/blog/maytech-hub-motor-flier-esc-wiring
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
category:
  - Electronics
post_tag:
  - Mobility
---

# Wiring Maytech Hub Motors to Flier Twin ESC

It took me a while to figure out the wiring for the dual [Maytech 90mm sensored hub motors](https://kaspars.net/blog/electronics/maytech-90mm-motor-review) to the [Flier twin-motor 120A ESC](http://www.fliermodel.com/en/prc-show.asp?id=681) so I decided to share my findings. Here is the diagram when looking at the bottom of the skateboard:

[![Wiring Maytech Hub Motor to Flier Twin ESC](https://kaspars.net/wp-content/uploads/2017/02/wiring-diagram-maytech-hub-motor-flier-twin-esc.png?strip=all&quality=90&resize=939,1024)](https://kaspars.net/wp-content/uploads/2017/02/wiring-diagram-maytech-hub-motor-flier-twin-esc.png)

## Motor Rotation Direction

Each motor has to turn in a different direction if mounted on the opposite sites of the board. This can be achieved by swapping two motor phase wires (B and C) while the hall sensor wiring remains the same for both motors.

## Motor Phase Wires

The phase wires of the Maytech hub motors are actually the wires from the stator windings so you have to properly remove the isolation before soldering them to any connectors.

For the counterclockwise rotation or the left wheel when looking from the top of the board:

- ESC phase **A** to Maytech **red**
- ESC phase **B** to Maytech **black**
- ESC phase **C** to Maytech **yellow**

For the clockwise rotation (or the right wheel when looking from the top of the board) you switch ESC phase A and B or yellow and black wires:

- ESC phase **A** to Maytech **red**
- ESC phase **B** to Maytech **yellow**
- ESC phase **C** to Maytech **black**

## Hall Sensor Wires

Hall sensor wires use the 6-pin JST ZH connectors (model number JST ZHR-6) which are much smaller than the JST-XH which are used for balance chargers, for example.

- ESC **blue** to Maytech **green** for phase A
- ESC **green** to Maytech **white** for phase B
- ESC **yellow** to Maytech **yellow** for phase C

Here is a photo of the prototype. I’m planning on moving this to a bigger longboard for improved handling since the wheels are so large.

[![Dual Maytech 90mm Hub Motors with Flier Twin ESC](https://kaspars.net/wp-content/uploads/2017/02/maytech-90mm-hub-motor-flier-twin-esc.jpg?strip=all&quality=90&resize=1024,683)](https://kaspars.net/wp-content/uploads/2017/02/maytech-90mm-hub-motor-flier-twin-esc.jpg)