Close

UART signals fixed

A project log for OBD2 Fuel Consumption Gauge

Picked up an STM32F103 micro, an ILI9341 and a ELM327 OBD BT dongle clone and off it goes!!!

Rui RexRui Rex 07/18/2017 at 08:540 Comments

I finally turned the soldering iron on ;) and got some work done!

I've pocked around the ODB adapter and managed to get an NPN transistor with the collector connected through a resistor to the 5V rail and connected the UART TX line to the base of it. Then connected the collector to the base of the NPN that drives the K-Line.

This way I don't need to have the interrupt inverting "thing" that could ruin the UART timings.

Need to take a photo to post... :)

Discussions