rascafr / 9-analyzer

Segway Ninebot serial communication analyzer (ESCx such as Voi, Circ / Flash, Bolt, Dott, Jump, Tier...)
29 stars 6 forks source link

intercepting yellow wire #1

Open eudovic opened 4 years ago

eudovic commented 4 years ago

Hi! Tks for the project!! Did you intercept the yellow wire as an Y wire? Or did get for BLE or ESC side only?? Can you understand my doubt? Tks!

rascafr commented 4 years ago

Hey mate! work was done only by sniffing data between the uart single wire between BLE and ESC ;) if you need to get data from for instance ESC <-> IOT or ESC <-> BMS you might need to add two diodes and a pull-up resistor to analyse at the same time the TX / RX lines

eudovic commented 4 years ago

Tks so much for answer!!! Do you have a schematic of this wire?? Could you sketch some one??

I saw same exemples but some of that we need and external vcc, another we need and npn transistor...

[image: ex01.png] [image: ex02.png]

Tks so much!!! Best regards! Emerson [image: Mailtrack] https://3.bp.blogspot.com/-DOIIi1WVP5Q/UtIBrFJqJoI/AAAAAAAAhc0/1i5h2j1n9Rk/s1600/1WireSerial.png Remetente notificado por Mailtrack https://cnnblike.com/post/stm32-OneWire/blog002-008.png 10/05/20 11:36:19

Em dom., 10 de mai. de 2020 às 09:30, François Leparoux < notifications@github.com> escreveu:

Hey mate! work was done only by sniffing data between the uart single wire between BLE and ESC ;) if you need to get data from for instance ESC <-> IOT or ESC <-> BMS you might need to add two diodes and a pull-up resistor to analyse at the same time the TX / RX lines

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rascafr/9-analyzer/issues/1#issuecomment-626321043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHNZHGRANYSPY533443OAG3RQ2NADANCNFSM4MLPCY7Q .

rascafr commented 4 years ago

Well if you want to watch both TX and RX lines from the escooter, either you can use an arduino mega with its 4 uart to monitor both data lines. If you're using a uno or another single-uart device, give a try to the following schematic (diodes can be 1N4148, or even better with Schottky types)

image

I did not tried this, but it should work, given the fact serial lines are active low, diodes became to conduct, bringing the _UnoRx line voltage to low level as well, thereby combining both half duplex RX & TX signals from the scooter