#CAN Bus OBD2 transceiver

87 messages · Page 1 of 1 (latest)

viscid charm
#

I would love to collaborate with someone in making a transceiver "shield" that is basically a Flipper Zero equivalent to the likes of most OBD2 and CAN Bus transceiver shields/hats you'd see on Amazon for Arduinos and Raspberry Pis.

I am not really well skilled in the in-depth programming aspects of these types of projects, but I have some knowledge in PCB work, strange I know.

Things I'd love to see:

An integrated enclosure that can keep the module and the Flipper Zero together and protects both items, I know I am a rough on my toys kind of guy.

The ability to use wago or Zero insertion force wire terminations or even banana plugs for probes and wiring.

Onboard power regulator and a means to be able to power the combo of devices. It would be excellent if this can happen so the car can just maintain power for the pair. It'd also be cool to have it display voltage on the Flipper Zero, but this would be a nice to have, not needed off the bat.

It'd be super cool to make this thing emulate an ELM327 but that's feature creep, if it can be added, cool, if not that's fine.

I think this is a decent project for anyone who would be interested.

I'd love to collaborate with anyone interested, we can discuss this on my discord server: discord.gg/cwh11 but I would like to keep the active text discussion here.

Would be nice to work with any of you!

Cheers!
Charlie

viscid charm
#

I knew it was bound to happen lmao

blazing moth
#

This is a OBD-II to UART board, would be perfect since the Flipper supports UART very well I believe

viscid charm
#

Right I remember

blazing moth
viscid charm
#

I would like to make it all be on one board

#

Also can we remove the slow mode?

blazing moth
#

Yes, they make a smaller version

#

The Click can be directly soldered onto a Flipper Protoboard

#
OBDII Click offers a unique opportunity to tap into the car diagnostic systems. It features the STN1110 Multiprotocol OBD to UART Interface, developed by the ScanTool technologies. This Click can be used for the communication with the Electronic Control Unit (ECU) of a vehicle, via several different OBD II diagnostic protocols such as CAN, K LINE, L LINE and J1850. The STN1110 IC is used to process requests sent by the MCU via the UART interface and return back the responses from the ECU network nodes.
#

Even supports other diagnostic protocols, and sends it all over UART

viscid charm
#

Oh neat

#

Can the Flipper take voltage in from gpio?

blazing moth
#

Somewhat, depends on the voltage

blazing moth
#

hence OBDII Click takes care of that

#

so the flipper doesn't get fried 🙃

viscid charm
#

I know, I mean so it doesn't have to rely on internal battery power

#

There may be cases where this could be plugged in for weeks

#

Doubtful but over plan and under deliver lol

blazing moth
#

ahh, you mean so it charges the Flipper

#

What might be the issue, is you don't want to leave your flipper plugged in all the time 🙃

viscid charm
#

Yesssss

blazing moth
#

cause then you can't use your Flipper

viscid charm
#

I mean that's valid

blazing moth
#

I'm thinking a diagnostic tool where you plug it in, spits out codes, speed/etc, and unplug once you're done

#

Or you could use the Flipper as a USB UART and talk to the ECU using your laptop or smth

viscid charm
#

Yeah I have some tools like that, data logging and can bus message replay would be cool

blazing moth
#

Yes, you could log to a file

viscid charm
#

I get my zero on Friday

#

Super pumped now lol

blazing moth
#

Have fun with it

turbid aspen
#

sounds interesting

#

definitely will make note of this project

viscid charm
#

I am interested in actively working on this, but fair disclaimer, I am pretty busy, but I will keep up with this as much as possible

viscid charm
#

dumb question to ask

#

would the flipper be able to be used like a bluetooth passthrough?

#

think of it like a router that connects say a cellphone to the OBD Uart via BT

#

that would easily eliminate so many dongles i have lol

blazing moth
#

You should only need one

viscid charm
#

Valid

timber agate
#

Very interested in this as well

graceful ether
#

that part won't be solved with a plain obd dongle, you still need to know what to write and where to write it, and if that information is tied to a specific dongle and app, you'll need to extract it/reverse engineer it

#

which i assume is something the manufacturer will make quite difficult, since the profit they make isn't on dongles or apps, but on the IP, like all ECU debugging hardware

sour sleet
graceful ether
#

the back tells a different story than car hacking lol

viscid charm
# graceful ether but if all dongles are different and you have so many, isn't the reason you have...

My main bag is Volvo cars, the standard changed 7 times from 96 to current day as of writing this.

I mean mainly, a can bus logger and replay would be really nice. If it can do other tasks, that would be really cool. But if I can have it do two separate can bus networks at the same time, that would be awesome.

You flatter me by calling me a mechanic, I work on septic systems during the day, and on other people's Volvo's at night.

viscid charm
viscid charm
graceful ether
#

you can probably do a logger/replayer much easier than involving flipper in between

#

multiple can networks on that twitter device would be awesome

viscid charm
#

Right, I mainly wanted to implement it due to ui and form factor

#

My flipper comes in today and I won't be there to get it 🙃

sour sleet
sour sleet
graceful ether
sour sleet
#

I fail to see the issue here when car hacks have and are executed via the canbus. I"m not going to get into a weird semantic argument about "1337ness"

graceful ether
#

oh yeah, no, defo a semantics issue

graceful ether
sour sleet
#

I'm not marketing anything. This is not a product. You cannot buy it. Putting feelers out on twitter was meant for my mutuals, not really having meant for it to take off. And the flipper itself is billed as a "portable Tamagotchi-like multi-functional device" yet we colloquially call it a hacking tool.

#

So, I fail to see why you're up in arms about something similar

viscid charm
#

Can we please take the discussion back to the talking about the original topic?

viscid charm
#

So my thoughts are to make this have two transceivers for it to work on two can bus networks at the same time

#

in my use case, i work on volvo cars, which the low speed network uses 250k and the high speed uses i think 500k

#

the low speed usually does just "non essential" networks, like interior passenger compartment components, where as the high speed does essential things like the engine, transmission, awd, etc

#

im just looking to make something that can do that, run off of the 12 volt power of the car and share that power to the FZ so it doesnt drain its battery.
It would need dual terminating resistors and id probably use dip switches.
I personally like how the FZ does certain things and would push to keep it to those things. i know that Derpyhsi posted a sparkfun link about a transceiver that could be dropped onto one of the proto boards.

#

IF the shield can be made to utilize OBD2 functionality, cool, it would be awesome to have the shield act like an ELM 327 or another Bluetooth scanner. but like i said, feature creep, id be happy to go other routes

#

I am terrible at programming, and very rusty at PCB design, and while I do personally like @sour sleet 's design, I'd personally go my own path and use some design elements of his circuit, I honestly didn't think of utilizing an ESP as part of the shield until seeing his board, and honestly, that is a really great idea. I would probably utilize a ESP32 and add a SD card slot for the simple sake of data logging and because I have seen people utilize the ESP32 itself on CAN Bus dataloggers in the past with varying degrees of success.

This project is not planned to be a mass market part, I plan to make as little money as possible on this. If I make anything, cool, if I don't, I am not going to cry over it. This is just a simple project to help me with my in over my head nature with messing with Volvos.\

viscid charm
#

Has anyone shown any interest in this any further?

#

I'm still sick at the moment

blazing moth
#

Maybe

#

You could use the OBDII to UART -> Flipper -> Laptop as well

viscid charm
#

I have been really busy, and honestly, i dont have the money at the moment to purchase the UART component. When January comes around, that may change

queen iris
#

Any updates on this? I was looking into making my own module for the flipper but was wondering which method would be best. We could go wired with a 9port to obd2 or wireless with an esp32

burnt marten
#

I am Also interested in this.

swift slate
#

I have a Bluetooth ELM127, no car

hollow geode
#

Automotive engineer here 👋

I’ve had to use the CAN bus pretty extensively and thought about working on something like this. If the idea’s not dead I’d like to keep informed.

Also an insight: CAN interfacing is not hard, but most of the many busses in vehicles are not accessible easily from the port. The diagnostics port interacts through a gateway, the security of which is obscure and manufacturer-specific

My vision for a useful product would be a device that logs messages for quick debugging. Especially if it can report bus errors and the like, which usually requires hardware on the order of $1000s

#

My use-case would be in-the-field debugging of bus errors on personal projects utilizing the CAN bus (where the protocol is known)

hollow geode
#

Just bought a J2534 cable. The flipper is going to be too slow to do anything useful I think

azure dove
#

This is actually a great idea

past trench
gloomy isle