Skip to content

Commit

Permalink
+ readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rascafr committed Aug 30, 2019
1 parent bf0543d commit 1c38b08
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 9-analyzer

## Introduction

This is a quick Node.js project developped to demonstrate how to parse communications logs extracted from the Ninebot electric scooters internal serial communication bus.

## Install

```bash
git clone https://github.com/rascafr/9-analyzer.git

cd 9-analyzer

npm i
```

## Run

Either production or development (code monitoring, `nodemon` required)

```bash
# prod
npm start

# dev
npm run dev
```

## Getting new logs

Use a serial-USB adapter, and use the following settings:

- 115200 bd/s
- 8 data bits
- 1 stop bit
- no parity

Incoming data will be sent by the scooter on the yellow wire connected to the dashboard.

Ground (OV) is the black wire. Connect both files to your serial-USB adapter on *RX* and *GND*.

## Arduino

Some Arduino code is present insinde of this repos, can be used to parse on the fly some of the serial commands in "realtime".

0 comments on commit 1c38b08

Please sign in to comment.