Freematics OBD-II UART Adapter over SoftSerial

Inquiry and support for Freematics products
Post Reply
trigger_sad1
Posts: 1
Joined: Tue Aug 23, 2022 7:50 am

Freematics OBD-II UART Adapter over SoftSerial

Post by trigger_sad1 »

Hello,

I've successfully connected the Freematics OBD-II UART adapter to my arduino and LCD and the LCD is reading out all the parameters I want (engine RPM, load, vehicle speed, etc.) but now I would also like to log that data to the PC.

I want to leave the TX and RX Arduino UNO pins alone as that will be used to log the data over serial to the PC. Can I run the Freematics adapter via softSerial and use alternative pins? From my understanding I should be able to, but the part that confuses me is how I would assign the softSerial port to the Freematics OBD adapter. The code simply calls obd.begin(); so how could I start that communication via softSerial. Thanks!
stanley
Site Admin
Posts: 1018
Joined: Sat Mar 01, 2014 3:15 am

Re: Freematics OBD-II UART Adapter over SoftSerial

Post by stanley »

Software serial is only reliable at 9600bps and the adapter requires 38400bps or higher. I suggest you communicating with PC via software serial or use Arduino Mega or our Freematics Esprit dev board. Both have multiple hardware serial.
https://freematics.com/store/?route=pro ... uct_id=100
Post Reply