Connecting Ninebot IAP via a NodeMCU

January 19th, 2020

The wiring schematic for using a NodeMCU with Ninebot IAP.

The layout for disabling the onboard ESP8266 in order to use just the CH340G.

Ninebot IAP is an awesome tool that was created to allow the flashing of custom software to Ninebot Scooters on windows using an internal protocol.

When other conventional BLE based software fails, IAP almost always will allow you to downgrade, upgrade, or customize the firmware and view scooter information.

With that, the hardest part of using IAP is really just connecting it. It’s easiest to buy a USB to serial adapters such as the CH340G or the CP2102, but you can also use a Wemos or other controller that has one built-in.

This tutorial covers using a NodeMCU, for a Wemos D1 Mini, View This Page.

What you’ll need:

  • The latest version of Ninebot IAP from Here, as well as the CH340G Drivers.
  • NodeMCU
  • Jumpers, Male and Female
  • 5 pin Julet connector

If you don’t have the male side of the cable, follow this guide to connect directly to the female end of the IoT cable.

Follow this guide for using the battery port instead if you don’t have an IoT port or if your scooter was not a rental vehicle.

To connect it, be sure to first strip the outer rubber coating on the exposed side of the connector. Take care not to damage the small wires within. Once you’ve done that, strip each of the 5 wires to allow for soldering.

To make the connector usable in other applications, I added female jumpers to the ends of each of the 5 wires. once you’ve prepared the wires, connect the yellow, green, and black wires as shown below:

Node RX  -> Connector Yellow
Node TX  -> Connector Green
Node GND -> Connector Ground
Node GND -> Node Reset/RST

From here, check Windows device manager to find which COM port the NodeMCUcomes up as.

In IAP, select this COM port as well as “IoT” as the interface.

Press connect, and the result should look similar to the below image:

A succesasful IAP connection

If the connection is successful, you should see firmware versions in the upper right-hand corner.


2 thoughts on "Connecting Ninebot IAP via a NodeMCU"

  1. arturo aguilar says:

    hi i am attempting to flash the bms of my g30 segway. ive never even owned a scooter until now. i wanted to comment on the fact that i have read and searched every site immaginable to gain information. and time and time again you seem to have the correct information thats needed to do anything to a scooter. keep up the great work

    1. joeybab3 says:

      Glad to hear my articles helped! Your experience is the exact reason I started writing these, the information out there is sparse and often contains wrong info so I tried my best to consolidate it in articles that can be easily followed.

Leave a Reply

Your email address will not be published.