9-analyzer icon indicating copy to clipboard operation
9-analyzer copied to clipboard

intercepting yellow wire

Open eudovic opened this issue 4 years ago • 3 comments

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!

eudovic avatar Apr 18 '20 19:04 eudovic

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

rascafr avatar May 10 '20 12:05 rascafr

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 < [email protected]> 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 .

eudovic avatar May 10 '20 14:05 eudovic

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 Uno_Rx line voltage to low level as well, thereby combining both half duplex RX & TX signals from the scooter

rascafr avatar May 27 '20 23:05 rascafr