DarkFlippers / unleashed-firmware

Flipper Zero Unleashed Firmware
https://t.me/flipperzero_unofficial
GNU General Public License v3.0
15.8k stars 1.34k forks source link

TPMS modulation #499

Open DavidIgor opened 1 year ago

DavidIgor commented 1 year ago

Describe the enhancement you're suggesting.

would be awesome to have modulation for TPMS car sensors, modulation is enough for me .... but if somebody wants to create app ...that would be something !

Anything else?

No response

Crsarmv7l commented 1 year ago

Protoview decodes a few. I had a Modulation for PMV-107J to simply capture, not decode. Capturing is one thing, getting info from the captures is another. I made a python tool to generate subs for 4ish of the most common TPMS types. Trying to do that in C, on the flipper would be something... since they are usually 2-fsk, manchester encoded, with crc's. Plus you would need to get the timings right.

DavidIgor commented 1 year ago

@Crsarmv7l thanks, I managed to run your tool on mac and successfully get sub file for citroen tpms (not tested as I don't have a citroen). However my schrader tpms ID is not accepted by your tool for some reason

Crsarmv7l commented 1 year ago

@Crsarmv7l thanks, I managed to run your tool on mac and successfully get sub file for citroen tpms (not tested as I don't have a citroen). However my schrader tpms ID is not accepted by your tool for some reason

There are multiple different Schrader TPMS. I only implemented a single one, the SMD3MA4 if you are trying one that is not SMD3MA4 it wont work. Use rtl_433 to get the id and TPMS type.

DavidIgor commented 1 year ago

@Crsarmv7l will try

DavidIgor commented 1 year ago

@Crsarmv7l here is what hack rf spitted out : 20230605193820 433920000 FSK 38400 19200 Schrader D93437ABCFE0FFFF4B16/000000000000000000D6

I assume that "ABCFE0" is sensor ID?